Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-17 23:59:02.671280
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
  port_id : 21472043
  datou_current_id : 2673843
in upload_from_sqlite, uploading in 21472043
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/16032025/03/51/image_16032025_03_51_49_4276.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/16032025/03/51/image_16032025_03_51_49_4276.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2673843&datou=0
/home/nano/Desktop/images/16032025/03/51/image_16032025_03_51_49_4276.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.6733582019805908 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2673843&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f77728e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-17 23:59:31.910618
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
  port_id : 21472043
  datou_current_id : 2673843
in upload_from_sqlite, uploading in 21472043
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/16032025/03/51/image_16032025_03_51_49_4276.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/16032025/03/51/image_16032025_03_51_49_4276.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2673843&datou=0
/home/nano/Desktop/images/16032025/03/51/image_16032025_03_51_49_4276.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.47173094749450684 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2673843&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb1539ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:00:02.665476
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
  port_id : 21472043
  datou_current_id : 2673843
in upload_from_sqlite, uploading in 21472043
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/16032025/03/51/image_16032025_03_51_49_4276.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/16032025/03/51/image_16032025_03_51_49_4276.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2673843&datou=0
/home/nano/Desktop/images/16032025/03/51/image_16032025_03_51_49_4276.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.5721626281738281 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2673843&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f84956ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:00:32.075866
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
  port_id : 21472043
  datou_current_id : 2673843
in upload_from_sqlite, uploading in 21472043
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/16032025/03/51/image_16032025_03_51_49_4276.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/16032025/03/51/image_16032025_03_51_49_4276.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2673843&datou=0
/home/nano/Desktop/images/16032025/03/51/image_16032025_03_51_49_4276.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.48214006423950195 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2673843&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa7445ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:01:02.741430
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
  port_id : 21472043
  datou_current_id : 2673843
in upload_from_sqlite, uploading in 21472043
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/16032025/03/51/image_16032025_03_51_49_4276.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/16032025/03/51/image_16032025_03_51_49_4276.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2673843&datou=0
/home/nano/Desktop/images/16032025/03/51/image_16032025_03_51_49_4276.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.6313395500183105 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2673843&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9e9a0e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:01:32.221650
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
  port_id : 21472043
  datou_current_id : 2673843
in upload_from_sqlite, uploading in 21472043
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/16032025/03/51/image_16032025_03_51_49_4276.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/16032025/03/51/image_16032025_03_51_49_4276.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2673843&datou=0
/home/nano/Desktop/images/16032025/03/51/image_16032025_03_51_49_4276.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.4762275218963623 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2673843&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb4e34ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:02:03.159822
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
  port_id : 21472043
  datou_current_id : 2673843
in upload_from_sqlite, uploading in 21472043
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/16032025/03/51/image_16032025_03_51_49_4276.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/16032025/03/51/image_16032025_03_51_49_4276.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2673843&datou=0
/home/nano/Desktop/images/16032025/03/51/image_16032025_03_51_49_4276.jpg
after data_to_send, before sending request
'int' object is not iterable
time to upload: 0.4975719451904297 secondes ---
ERROR IN API l 184 HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2673843&datou=0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa042fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:02:32.364597
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_57_4093.jpg', 2), ('/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_53_3205.jpg', 2), ('/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_50_4214.jpg', 2), ('/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_45_4268.jpg', 2), ('/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_41_4219.jpg', 2), ('/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_37_3267.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fab3bee80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fab3bee80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fab3bee80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:03:03.164577
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_57_4093.jpg', 2), ('/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_53_3205.jpg', 2), ('/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_50_4214.jpg', 2), ('/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_45_4268.jpg', 2), ('/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_41_4219.jpg', 2), ('/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_37_3267.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f77605ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f77605ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f77605ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:03:32.536841
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_57_4097.jpg', 2), ('/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_53_4047.jpg', 2), ('/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_49_3114.jpg', 2), ('/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_46_4101.jpg', 2), ('/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_42_4351.jpg', 2), ('/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_37_4358.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7d90cef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7d90cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7d90cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:04:03.754587
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_57_4097.jpg', 2), ('/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_53_4047.jpg', 2), ('/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_49_3114.jpg', 2), ('/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_46_4101.jpg', 2), ('/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_42_4351.jpg', 2), ('/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_37_4358.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f95625ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f95625ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f95625ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:04:32.684185
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_58_4877.jpg', 2), ('/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_53_3118.jpg', 2), ('/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_50_4081.jpg', 2), ('/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_46_4184.jpg', 2), ('/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_41_3989.jpg', 2), ('/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_37_4004.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa5919ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa5919ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa5919ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:05:02.223615
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_58_4877.jpg', 2), ('/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_53_3118.jpg', 2), ('/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_50_4081.jpg', 2), ('/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_46_4184.jpg', 2), ('/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_41_3989.jpg', 2), ('/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_37_4004.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8832aef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8832aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8832aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:05:31.745647
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_57_3094.jpg', 2), ('/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_54_4162.jpg', 2), ('/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_49_4161.jpg', 2), ('/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_45_4105.jpg', 2), ('/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_41_4191.jpg', 2), ('/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_37_4235.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7cf10e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7cf10e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7cf10e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:06:02.474184
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_57_3094.jpg', 2), ('/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_54_4162.jpg', 2), ('/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_49_4161.jpg', 2), ('/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_45_4105.jpg', 2), ('/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_41_4191.jpg', 2), ('/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_37_4235.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8088def0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8088def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8088def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:06:31.839470
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_57_4160.jpg', 2), ('/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_53_3109.jpg', 2), ('/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_50_4121.jpg', 2), ('/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_45_3989.jpg', 2), ('/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_41_4064.jpg', 2), ('/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_37_3965.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fafcb1e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fafcb1e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fafcb1e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:07:02.649284
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_57_4160.jpg', 2), ('/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_53_3109.jpg', 2), ('/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_50_4121.jpg', 2), ('/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_45_3989.jpg', 2), ('/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_41_4064.jpg', 2), ('/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_37_3965.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f90d11ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f90d11ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f90d11ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:07:31.935645
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_57_4172.jpg', 2), ('/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_53_4207.jpg', 2), ('/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_49_3258.jpg', 2), ('/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_45_4258.jpg', 2), ('/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_41_4249.jpg', 2), ('/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_37_4188.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f98743ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f98743ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f98743ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:08:02.433677
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_57_4172.jpg', 2), ('/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_53_4207.jpg', 2), ('/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_49_3258.jpg', 2), ('/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_45_4258.jpg', 2), ('/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_41_4249.jpg', 2), ('/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_37_4188.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa5942ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa5942ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa5942ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:08:32.108801
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_58_4114.jpg', 2), ('/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_53_4087.jpg', 2), ('/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_49_4143.jpg', 2), ('/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_45_4105.jpg', 2), ('/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_41_4136.jpg', 2), ('/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_37_4152.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7faaca7ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faaca7ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faaca7ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:09:03.015943
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_58_4114.jpg', 2), ('/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_53_4087.jpg', 2), ('/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_49_4143.jpg', 2), ('/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_45_4105.jpg', 2), ('/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_41_4136.jpg', 2), ('/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_37_4152.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7e64aef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7e64aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7e64aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:09:32.189991
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_57_4153.jpg', 2), ('/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_53_4163.jpg', 2), ('/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_49_4123.jpg', 2), ('/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_45_3235.jpg', 2), ('/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_42_4237.jpg', 2), ('/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_37_4516.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8f4c3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8f4c3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8f4c3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:10:03.051506
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_57_4153.jpg', 2), ('/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_53_4163.jpg', 2), ('/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_49_4123.jpg', 2), ('/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_45_3235.jpg', 2), ('/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_42_4237.jpg', 2), ('/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_37_4516.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f94e25ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f94e25ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f94e25ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:10:32.304459
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_57_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_53_3978.jpg', 2), ('/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_49_3973.jpg', 2), ('/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_45_3970.jpg', 2), ('/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_41_4162.jpg', 2), ('/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_37_3951.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7f679ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7f679ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7f679ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:11:03.086460
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_57_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_53_3978.jpg', 2), ('/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_49_3973.jpg', 2), ('/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_45_3970.jpg', 2), ('/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_41_4162.jpg', 2), ('/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_37_3951.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f973a2ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f973a2ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f973a2ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:11:32.407728
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_57_4256.jpg', 2), ('/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_53_3301.jpg', 2), ('/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_49_4262.jpg', 2), ('/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_45_4176.jpg', 2), ('/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_41_4272.jpg', 2), ('/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_37_3359.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7ea2bef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7ea2bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7ea2bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:12:03.045555
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_57_4256.jpg', 2), ('/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_53_3301.jpg', 2), ('/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_49_4262.jpg', 2), ('/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_45_4176.jpg', 2), ('/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_41_4272.jpg', 2), ('/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_37_3359.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa87e8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa87e8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa87e8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:12:32.487886
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_58_4004.jpg', 2), ('/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_54_4102.jpg', 2), ('/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_49_4050.jpg', 2), ('/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_45_4166.jpg', 2), ('/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_41_4078.jpg', 2), ('/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_37_4147.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8a171ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8a171ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8a171ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:13:03.044555
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_58_4004.jpg', 2), ('/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_54_4102.jpg', 2), ('/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_49_4050.jpg', 2), ('/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_45_4166.jpg', 2), ('/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_41_4078.jpg', 2), ('/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_37_4147.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f98725ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f98725ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f98725ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:13:32.606377
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_57_4139.jpg', 2), ('/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_53_4222.jpg', 2), ('/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_49_3165.jpg', 2), ('/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_46_4240.jpg', 2), ('/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_41_4175.jpg', 2), ('/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_37_4168.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9301aef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9301aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9301aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:14:03.684361
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_49_4222.jpg', 2), ('/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_57_4139.jpg', 2), ('/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_53_4222.jpg', 2), ('/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_49_3165.jpg', 2), ('/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_46_4240.jpg', 2), ('/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_41_4175.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9d764ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9d764ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9d764ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:14:32.697415
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_57_3171.jpg', 2), ('/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_54_4129.jpg', 2), ('/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_49_4222.jpg', 2), ('/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_45_4152.jpg', 2), ('/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_41_4129.jpg', 2), ('/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_37_4164.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8296bef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8296bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8296bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:15:02.304305
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_57_3171.jpg', 2), ('/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_54_4129.jpg', 2), ('/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_49_4222.jpg', 2), ('/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_45_4152.jpg', 2), ('/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_41_4129.jpg', 2), ('/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_37_4164.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f82c7eef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f82c7eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f82c7eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:15:31.803251
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_53_4050.jpg', 2), ('/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_49_4195.jpg', 2), ('/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_45_4173.jpg', 2), ('/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_41_4026.jpg', 2), ('/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_37_3183.jpg', 2), ('/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_34_4099.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0a9eef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0a9eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0a9eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:16:02.551003
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_53_4050.jpg', 2), ('/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_49_4195.jpg', 2), ('/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_45_4173.jpg', 2), ('/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_41_4026.jpg', 2), ('/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_37_3183.jpg', 2), ('/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_34_4099.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7faf398ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faf398ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faf398ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:16:31.970893
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_53_4058.jpg', 2), ('/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_49_3983.jpg', 2), ('/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_45_4088.jpg', 2), ('/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_41_4039.jpg', 2), ('/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_37_3980.jpg', 2), ('/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_33_4089.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9d051ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9d051ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9d051ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:17:02.729858
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_53_4058.jpg', 2), ('/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_49_3983.jpg', 2), ('/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_45_4088.jpg', 2), ('/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_41_4039.jpg', 2), ('/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_37_3980.jpg', 2), ('/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_33_4089.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8ae5aef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8ae5aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8ae5aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:17:32.059055
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_57_3133.jpg', 2), ('/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_54_4056.jpg', 2), ('/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_50_4102.jpg', 2), ('/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_46_4244.jpg', 2), ('/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_41_4274.jpg', 2), ('/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_37_4096.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f874cde80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f874cde80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f874cde80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:18:02.848385
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_57_3133.jpg', 2), ('/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_54_4056.jpg', 2), ('/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_50_4102.jpg', 2), ('/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_46_4244.jpg', 2), ('/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_41_4274.jpg', 2), ('/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_37_4096.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f83b29ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f83b29ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f83b29ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:18:32.182823
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_57_4021.jpg', 2), ('/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_53_4147.jpg', 2), ('/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_49_4242.jpg', 2), ('/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_45_3263.jpg', 2), ('/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_42_4197.jpg', 2), ('/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_37_4023.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8f636ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8f636ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8f636ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:19:03.374204
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_37_4410.jpg', 2), ('/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_57_4021.jpg', 2), ('/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_53_4147.jpg', 2), ('/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_49_4242.jpg', 2), ('/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_45_3263.jpg', 2), ('/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_42_4197.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa14aaef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa14aaef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa14aaef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:19:32.275046
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_58_4195.jpg', 2), ('/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_53_4281.jpg', 2), ('/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_49_4344.jpg', 2), ('/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_45_3333.jpg', 2), ('/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_41_4319.jpg', 2), ('/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_37_4410.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f78376ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f78376ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f78376ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:20:03.036016
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_58_4195.jpg', 2), ('/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_53_4281.jpg', 2), ('/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_49_4344.jpg', 2), ('/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_45_3333.jpg', 2), ('/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_41_4319.jpg', 2), ('/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_37_4410.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb4611e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb4611e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb4611e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:20:32.387181
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_58_4108.jpg', 2), ('/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_54_4201.jpg', 2), ('/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_49_4211.jpg', 2), ('/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_45_3778.jpg', 2), ('/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_41_4173.jpg', 2), ('/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_37_4153.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7f907ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7f907ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7f907ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:21:03.149441
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_58_4108.jpg', 2), ('/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_54_4201.jpg', 2), ('/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_49_4211.jpg', 2), ('/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_45_3778.jpg', 2), ('/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_41_4173.jpg', 2), ('/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_37_4153.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f977ebef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f977ebef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f977ebef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:21:32.457369
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_57_3990.jpg', 2), ('/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_53_4069.jpg', 2), ('/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_49_4248.jpg', 2), ('/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_45_4005.jpg', 2), ('/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_41_3740.jpg', 2), ('/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_37_4332.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9e2ffe80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9e2ffe80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9e2ffe80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:22:03.346476
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_57_3990.jpg', 2), ('/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_53_4069.jpg', 2), ('/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_49_4248.jpg', 2), ('/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_45_4005.jpg', 2), ('/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_41_3740.jpg', 2), ('/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_37_4332.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f911deef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f911deef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f911deef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:22:32.539552
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_57_4116.jpg', 2), ('/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_53_4264.jpg', 2), ('/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_49_4264.jpg', 2), ('/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_45_3955.jpg', 2), ('/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_41_3113.jpg', 2), ('/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_38_4155.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa0cc9e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa0cc9e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa0cc9e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:23:03.302190
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_57_4116.jpg', 2), ('/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_53_4264.jpg', 2), ('/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_49_4264.jpg', 2), ('/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_45_3955.jpg', 2), ('/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_41_3113.jpg', 2), ('/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_38_4155.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fac2f4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fac2f4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fac2f4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:23:32.677825
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_57_3184.jpg', 2), ('/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_54_4139.jpg', 2), ('/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_49_4000.jpg', 2), ('/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_45_4221.jpg', 2), ('/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_41_4315.jpg', 2), ('/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_37_3331.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb1396e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb1396e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb1396e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:24:02.803242
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_57_3184.jpg', 2), ('/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_54_4139.jpg', 2), ('/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_49_4000.jpg', 2), ('/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_45_4221.jpg', 2), ('/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_41_4315.jpg', 2), ('/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_37_3331.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f83412ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f83412ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f83412ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:24:31.751102
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_57_3215.jpg', 2), ('/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_53_3942.jpg', 2), ('/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_50_4210.jpg', 2), ('/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_45_4228.jpg', 2), ('/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_41_4239.jpg', 2), ('/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_37_3233.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa3dcbef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa3dcbef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa3dcbef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:25:02.534221
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_57_3215.jpg', 2), ('/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_53_3942.jpg', 2), ('/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_50_4210.jpg', 2), ('/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_45_4228.jpg', 2), ('/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_41_4239.jpg', 2), ('/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_37_3233.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8503ae80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8503ae80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8503ae80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:25:31.851915
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_57_3258.jpg', 2), ('/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_54_4321.jpg', 2), ('/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_49_4330.jpg', 2), ('/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_45_4262.jpg', 2), ('/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_41_3392.jpg', 2), ('/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_37_4457.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b195ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b195ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b195ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:26:02.586155
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_09_4163.jpg', 2), ('/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_57_3258.jpg', 2), ('/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_54_4321.jpg', 2), ('/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_49_4330.jpg', 2), ('/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_45_4262.jpg', 2), ('/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_41_3392.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa5de3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa5de3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa5de3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:26:31.911628
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_53_4154.jpg', 2), ('/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_49_3200.jpg', 2), ('/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_46_4156.jpg', 2), ('/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_41_4195.jpg', 2), ('/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_37_4134.jpg', 2), ('/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_33_4182.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9b1bae80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9b1bae80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9b1bae80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:27:02.720503
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_53_4154.jpg', 2), ('/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_49_3200.jpg', 2), ('/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_46_4156.jpg', 2), ('/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_41_4195.jpg', 2), ('/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_37_4134.jpg', 2), ('/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_33_4182.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb2714ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb2714ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb2714ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:27:32.025061
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_53_4076.jpg', 2), ('/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_49_4046.jpg', 2), ('/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_45_3977.jpg', 2), ('/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_41_4180.jpg', 2), ('/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_37_4114.jpg', 2), ('/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_33_3205.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c0e6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c0e6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c0e6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:28:02.867161
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_53_4076.jpg', 2), ('/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_49_4046.jpg', 2), ('/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_45_3977.jpg', 2), ('/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_41_4180.jpg', 2), ('/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_37_4114.jpg', 2), ('/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_33_3205.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8b5a6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8b5a6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8b5a6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:28:32.108141
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_57_3172.jpg', 2), ('/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_54_4237.jpg', 2), ('/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_49_4174.jpg', 2), ('/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_45_4023.jpg', 2), ('/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_41_3813.jpg', 2), ('/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_37_4070.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fab891ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fab891ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fab891ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:29:03.346666
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_57_3172.jpg', 2), ('/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_54_4237.jpg', 2), ('/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_49_4174.jpg', 2), ('/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_45_4023.jpg', 2), ('/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_41_3813.jpg', 2), ('/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_37_4070.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb10a5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb10a5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb10a5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:29:32.196362
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_57_4196.jpg', 2), ('/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_53_4052.jpg', 2), ('/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_49_4150.jpg', 2), ('/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_45_4144.jpg', 2), ('/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_41_3239.jpg', 2), ('/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_38_4273.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f98330ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f98330ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f98330ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:30:02.968816
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_58_4001.jpg', 2), ('/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_57_4196.jpg', 2), ('/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_53_4052.jpg', 2), ('/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_49_4150.jpg', 2), ('/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_45_4144.jpg', 2), ('/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_41_3239.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9909fe80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9909fe80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9909fe80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:30:32.303614
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_58_4001.jpg', 2), ('/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_54_4003.jpg', 2), ('/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_50_4074.jpg', 2), ('/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_45_3977.jpg', 2), ('/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_42_4144.jpg', 2), ('/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_37_4204.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8b4b3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8b4b3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8b4b3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:31:03.290053
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_58_4001.jpg', 2), ('/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_54_4003.jpg', 2), ('/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_50_4074.jpg', 2), ('/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_45_3977.jpg', 2), ('/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_42_4144.jpg', 2), ('/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_37_4204.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7c1dfef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7c1dfef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7c1dfef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:31:32.423177
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_57_4145.jpg', 2), ('/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_53_4145.jpg', 2), ('/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_49_3164.jpg', 2), ('/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_46_4203.jpg', 2), ('/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_41_4205.jpg', 2), ('/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_37_4153.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ce65ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ce65ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ce65ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:32:03.215923
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_57_4145.jpg', 2), ('/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_53_4145.jpg', 2), ('/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_49_3164.jpg', 2), ('/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_46_4203.jpg', 2), ('/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_41_4205.jpg', 2), ('/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_37_4153.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7af13ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7af13ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7af13ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:32:32.557770
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_57_4073.jpg', 2), ('/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_53_3057.jpg', 2), ('/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_50_4101.jpg', 2), ('/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_46_4225.jpg', 2), ('/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_41_4262.jpg', 2), ('/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_37_4071.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8a5afef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8a5afef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8a5afef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:33:03.403170
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_57_4073.jpg', 2), ('/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_53_3057.jpg', 2), ('/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_50_4101.jpg', 2), ('/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_46_4225.jpg', 2), ('/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_41_4262.jpg', 2), ('/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_37_4071.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f88305ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f88305ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f88305ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:33:32.652022
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_57_4144.jpg', 2), ('/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_53_4170.jpg', 2), ('/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_49_4168.jpg', 2), ('/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_45_4277.jpg', 2), ('/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_41_3246.jpg', 2), ('/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_37_3774.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7ff5ae80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7ff5ae80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7ff5ae80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:34:02.717131
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_57_4144.jpg', 2), ('/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_53_4170.jpg', 2), ('/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_49_4168.jpg', 2), ('/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_45_4277.jpg', 2), ('/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_41_3246.jpg', 2), ('/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_37_3774.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c8acef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c8acef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c8acef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:34:31.752463
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_53_4213.jpg', 2), ('/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_49_3125.jpg', 2), ('/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_46_4218.jpg', 2), ('/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_41_4403.jpg', 2), ('/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_37_4229.jpg', 2), ('/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_33_3213.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa4e33ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa4e33ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa4e33ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:35:02.492768
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_53_4213.jpg', 2), ('/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_49_3125.jpg', 2), ('/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_46_4218.jpg', 2), ('/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_41_4403.jpg', 2), ('/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_37_4229.jpg', 2), ('/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_33_3213.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b452ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b452ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b452ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:35:31.833159
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_53_4179.jpg', 2), ('/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_49_4136.jpg', 2), ('/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_45_4106.jpg', 2), ('/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_41_4141.jpg', 2), ('/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_37_3159.jpg', 2), ('/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_34_4167.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f990adef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f990adef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f990adef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:36:02.481083
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_53_4179.jpg', 2), ('/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_49_4136.jpg', 2), ('/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_45_4106.jpg', 2), ('/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_41_4141.jpg', 2), ('/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_37_3159.jpg', 2), ('/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_34_4167.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0972ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0972ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0972ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:36:31.907052
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_53_4336.jpg', 2), ('/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_49_3174.jpg', 2), ('/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_46_4254.jpg', 2), ('/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_41_4368.jpg', 2), ('/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_37_3727.jpg', 2), ('/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_33_4264.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c398ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c398ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c398ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:37:02.661618
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_53_4336.jpg', 2), ('/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_49_3174.jpg', 2), ('/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_46_4254.jpg', 2), ('/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_41_4368.jpg', 2), ('/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_37_3727.jpg', 2), ('/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_33_4264.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f884cfef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f884cfef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f884cfef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:37:32.014706
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_54_4054.jpg', 2), ('/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_50_4011.jpg', 2), ('/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_46_4046.jpg', 2), ('/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_42_4096.jpg', 2), ('/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_37_4096.jpg', 2), ('/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_33_4200.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f92859ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f92859ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f92859ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:38:02.824350
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_54_4054.jpg', 2), ('/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_50_4011.jpg', 2), ('/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_46_4046.jpg', 2), ('/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_42_4096.jpg', 2), ('/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_37_4096.jpg', 2), ('/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_33_4200.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb212def0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb212def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb212def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:38:32.126360
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_57_3133.jpg', 2), ('/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_54_4147.jpg', 2), ('/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_49_4230.jpg', 2), ('/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_45_4190.jpg', 2), ('/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_41_4178.jpg', 2), ('/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_37_3215.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f96e9fe80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f96e9fe80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f96e9fe80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:39:03.288531
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_57_3133.jpg', 2), ('/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_54_4147.jpg', 2), ('/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_49_4230.jpg', 2), ('/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_45_4190.jpg', 2), ('/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_41_4178.jpg', 2), ('/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_37_3215.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f880c7ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f880c7ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f880c7ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:39:32.257270
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_58_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_54_4135.jpg', 2), ('/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_49_4148.jpg', 2), ('/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_45_4149.jpg', 2), ('/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_41_4133.jpg', 2), ('/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_37_4110.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c20eef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c20eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c20eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:40:02.917353
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_58_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_54_4135.jpg', 2), ('/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_49_4148.jpg', 2), ('/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_45_4149.jpg', 2), ('/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_41_4133.jpg', 2), ('/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_37_4110.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa677aef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa677aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa677aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:40:32.379006
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_57_4133.jpg', 2), ('/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_53_4221.jpg', 2), ('/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_49_4230.jpg', 2), ('/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_45_3182.jpg', 2), ('/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_42_4185.jpg', 2), ('/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_37_3957.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f90202ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f90202ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f90202ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:41:03.063586
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_57_4133.jpg', 2), ('/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_53_4221.jpg', 2), ('/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_49_4230.jpg', 2), ('/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_45_3182.jpg', 2), ('/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_42_4185.jpg', 2), ('/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_37_3957.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f973d8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f973d8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f973d8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:41:32.520075
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_58_4109.jpg', 2), ('/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_53_4121.jpg', 2), ('/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_49_4231.jpg', 2), ('/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_45_4269.jpg', 2), ('/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_41_3229.jpg', 2), ('/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_38_4279.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f89b21ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f89b21ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f89b21ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:42:03.493598
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_58_4109.jpg', 2), ('/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_53_4121.jpg', 2), ('/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_49_4231.jpg', 2), ('/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_45_4269.jpg', 2), ('/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_41_3229.jpg', 2), ('/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_38_4279.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fae766ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fae766ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fae766ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:42:32.663377
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_57_4303.jpg', 2), ('/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_53_3282.jpg', 2), ('/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_50_4299.jpg', 2), ('/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_45_4200.jpg', 2), ('/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_41_4171.jpg', 2), ('/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_37_4179.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f917adef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f917adef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f917adef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:43:03.439539
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_57_4303.jpg', 2), ('/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_53_3282.jpg', 2), ('/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_50_4299.jpg', 2), ('/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_45_4200.jpg', 2), ('/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_41_4171.jpg', 2), ('/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_37_4179.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f90267ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f90267ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f90267ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:43:32.757851
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_57_4230.jpg', 2), ('/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_53_4109.jpg', 2), ('/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_49_4137.jpg', 2), ('/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_45_4099.jpg', 2), ('/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_41_4167.jpg', 2), ('/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_37_3134.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f85a72ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f85a72ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f85a72ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:44:02.800702
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_57_4230.jpg', 2), ('/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_53_4109.jpg', 2), ('/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_49_4137.jpg', 2), ('/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_45_4099.jpg', 2), ('/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_41_4167.jpg', 2), ('/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_37_3134.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f80926ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f80926ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f80926ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:44:31.851009
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_57_4214.jpg', 2), ('/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_53_3161.jpg', 2), ('/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_50_4184.jpg', 2), ('/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_45_4120.jpg', 2), ('/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_41_4161.jpg', 2), ('/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_37_4233.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7fb5aef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7fb5aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7fb5aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:45:02.587706
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_57_4214.jpg', 2), ('/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_53_3161.jpg', 2), ('/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_50_4184.jpg', 2), ('/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_45_4120.jpg', 2), ('/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_41_4161.jpg', 2), ('/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_37_4233.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7ffb9ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7ffb9ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7ffb9ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:45:31.962997
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_58_4171.jpg', 2), ('/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_53_4207.jpg', 2), ('/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_49_4182.jpg', 2), ('/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_45_4271.jpg', 2), ('/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_41_3284.jpg', 2), ('/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_38_4264.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9235fef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9235fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9235fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:46:02.715390
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_41_4160.jpg', 2), ('/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_58_4171.jpg', 2), ('/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_53_4207.jpg', 2), ('/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_49_4182.jpg', 2), ('/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_45_4271.jpg', 2), ('/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_41_3284.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f98b60ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f98b60ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f98b60ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:46:32.037148
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_54_4117.jpg', 2), ('/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_49_4106.jpg', 2), ('/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_45_4102.jpg', 2), ('/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_41_4160.jpg', 2), ('/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_37_3974.jpg', 2), ('/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_33_4041.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7d176ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7d176ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7d176ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:47:02.692856
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_54_4117.jpg', 2), ('/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_49_4106.jpg', 2), ('/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_45_4102.jpg', 2), ('/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_41_4160.jpg', 2), ('/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_37_3974.jpg', 2), ('/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_33_4041.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f88689ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f88689ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f88689ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:47:32.133340
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_53_4213.jpg', 2), ('/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_49_4144.jpg', 2), ('/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_45_3287.jpg', 2), ('/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_42_4264.jpg', 2), ('/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_37_4363.jpg', 2), ('/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_33_3842.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f862a0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f862a0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f862a0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:48:02.695518
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_53_4213.jpg', 2), ('/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_49_4144.jpg', 2), ('/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_45_3287.jpg', 2), ('/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_42_4264.jpg', 2), ('/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_37_4363.jpg', 2), ('/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_33_3842.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f93299e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f93299e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f93299e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:48:32.249039
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_57_4159.jpg', 2), ('/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_53_4071.jpg', 2), ('/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_49_4124.jpg', 2), ('/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_45_4100.jpg', 2), ('/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_41_4081.jpg', 2), ('/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_37_4124.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa0d77ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa0d77ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa0d77ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:49:03.317893
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_57_4159.jpg', 2), ('/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_53_4071.jpg', 2), ('/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_49_4124.jpg', 2), ('/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_45_4100.jpg', 2), ('/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_41_4081.jpg', 2), ('/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_37_4124.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb5c87ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb5c87ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb5c87ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:49:32.350188
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_57_3437.jpg', 2), ('/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_53_4268.jpg', 2), ('/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_49_3777.jpg', 2), ('/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_45_3939.jpg', 2), ('/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_41_3993.jpg', 2), ('/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_37_4120.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa6186ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa6186ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa6186ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:50:03.252006
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_57_3437.jpg', 2), ('/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_53_4268.jpg', 2), ('/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_49_3777.jpg', 2), ('/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_45_3939.jpg', 2), ('/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_41_3993.jpg', 2), ('/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_37_4120.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c429ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c429ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c429ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:50:32.427334
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_57_3243.jpg', 2), ('/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_54_4014.jpg', 2), ('/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_50_4228.jpg', 2), ('/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_45_4247.jpg', 2), ('/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_41_4249.jpg', 2), ('/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_37_3220.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8b8c9ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8b8c9ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8b8c9ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:51:03.203332
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_21_3207.jpg', 2), ('/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_57_3243.jpg', 2), ('/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_54_4014.jpg', 2), ('/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_50_4228.jpg', 2), ('/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_45_4247.jpg', 2), ('/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_41_4249.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f868b3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f868b3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f868b3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:51:32.503928
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_57_3383.jpg', 2), ('/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_53_4184.jpg', 2), ('/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_49_4265.jpg', 2), ('/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_45_4229.jpg', 2), ('/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_41_3257.jpg', 2), ('/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_38_4195.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f92135ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f92135ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f92135ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:52:03.518521
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_57_3383.jpg', 2), ('/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_53_4184.jpg', 2), ('/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_49_4265.jpg', 2), ('/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_45_4229.jpg', 2), ('/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_41_3257.jpg', 2), ('/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_38_4195.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7faac6de80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faac6de80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faac6de80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:52:32.619132
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_57_4142.jpg', 2), ('/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_53_4105.jpg', 2), ('/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_49_4038.jpg', 2), ('/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_45_3200.jpg', 2), ('/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_42_4079.jpg', 2), ('/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_37_4131.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb16d3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb16d3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb16d3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:53:03.471089
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_57_4142.jpg', 2), ('/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_53_4105.jpg', 2), ('/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_49_4038.jpg', 2), ('/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_45_3200.jpg', 2), ('/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_42_4079.jpg', 2), ('/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_37_4131.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f93346ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f93346ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f93346ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:53:32.704709
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_57_3375.jpg', 2), ('/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_54_4228.jpg', 2), ('/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_49_4232.jpg', 2), ('/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_45_4173.jpg', 2), ('/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_41_4197.jpg', 2), ('/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_37_3162.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f84348ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f84348ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f84348ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:54:02.787391
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_57_3375.jpg', 2), ('/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_54_4228.jpg', 2), ('/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_49_4232.jpg', 2), ('/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_45_4173.jpg', 2), ('/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_41_4197.jpg', 2), ('/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_37_3162.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb3c48ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb3c48ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb3c48ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:54:31.798823
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_53_4053.jpg', 2), ('/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_49_4126.jpg', 2), ('/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_45_4063.jpg', 2), ('/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_41_4041.jpg', 2), ('/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_37_4123.jpg', 2), ('/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_33_4174.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9633fef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9633fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9633fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:55:02.686434
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_53_4053.jpg', 2), ('/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_49_4126.jpg', 2), ('/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_45_4063.jpg', 2), ('/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_41_4041.jpg', 2), ('/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_37_4123.jpg', 2), ('/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_33_4174.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f875afef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f875afef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f875afef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:55:31.915023
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_54_4142.jpg', 2), ('/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_49_4131.jpg', 2), ('/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_45_4106.jpg', 2), ('/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_41_4147.jpg', 2), ('/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_37_4011.jpg', 2), ('/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_33_4165.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f796faef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f796faef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f796faef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:56:02.644197
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_09_4081.jpg', 2), ('/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_54_4142.jpg', 2), ('/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_49_4131.jpg', 2), ('/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_45_4106.jpg', 2), ('/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_41_4147.jpg', 2), ('/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_37_4011.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f80b74e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f80b74e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f80b74e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:56:32.027794
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_57_4089.jpg', 2), ('/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_53_4173.jpg', 2), ('/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_49_3994.jpg', 2), ('/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_45_3168.jpg', 2), ('/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_42_4126.jpg', 2), ('/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_38_4117.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8ac6bef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8ac6bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8ac6bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:57:03.019438
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_57_4089.jpg', 2), ('/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_53_4173.jpg', 2), ('/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_49_3994.jpg', 2), ('/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_45_3168.jpg', 2), ('/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_42_4126.jpg', 2), ('/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_38_4117.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb4eb3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb4eb3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb4eb3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:57:32.131557
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_57_4121.jpg', 2), ('/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_53_4034.jpg', 2), ('/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_49_3137.jpg', 2), ('/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_46_4114.jpg', 2), ('/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_41_4088.jpg', 2), ('/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_37_3997.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa7101ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa7101ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa7101ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:59:02.685701
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_57_4121.jpg', 2), ('/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_53_4034.jpg', 2), ('/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_49_3137.jpg', 2), ('/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_46_4114.jpg', 2), ('/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_41_4088.jpg', 2), ('/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_37_3997.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f913f5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f913f5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f913f5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 00:59:31.784308
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_57_4163.jpg', 2), ('/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_53_4189.jpg', 2), ('/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_49_4148.jpg', 2), ('/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_45_3178.jpg', 2), ('/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_42_4249.jpg', 2), ('/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_37_4105.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa5337ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa5337ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa5337ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:00:02.546230
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_57_4163.jpg', 2), ('/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_53_4189.jpg', 2), ('/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_49_4148.jpg', 2), ('/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_45_3178.jpg', 2), ('/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_42_4249.jpg', 2), ('/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_37_4105.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9e35cef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9e35cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9e35cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:00:31.888888
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_57_4497.jpg', 2), ('/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_53_3461.jpg', 2), ('/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_49_4474.jpg', 2), ('/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_45_3461.jpg', 2), ('/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_41_4497.jpg', 2), ('/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_37_3463.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f895f5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f895f5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f895f5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:01:02.665179
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_57_4497.jpg', 2), ('/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_53_3461.jpg', 2), ('/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_49_4474.jpg', 2), ('/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_45_3461.jpg', 2), ('/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_41_4497.jpg', 2), ('/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_37_3463.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9e4abef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9e4abef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9e4abef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:01:32.022193
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_57_3461.jpg', 2), ('/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_54_4468.jpg', 2), ('/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_49_3503.jpg', 2), ('/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_46_4467.jpg', 2), ('/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_41_4475.jpg', 2), ('/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_37_3489.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f805f6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f805f6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f805f6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:02:02.953402
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_42_4483.jpg', 2), ('/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_57_3461.jpg', 2), ('/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_54_4468.jpg', 2), ('/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_49_3503.jpg', 2), ('/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_46_4467.jpg', 2), ('/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_41_4475.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f96b7bef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f96b7bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f96b7bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:02:32.117293
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_53_3463.jpg', 2), ('/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_50_4467.jpg', 2), ('/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_45_3465.jpg', 2), ('/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_42_4483.jpg', 2), ('/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_37_3461.jpg', 2), ('/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_34_4481.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb1a97ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb1a97ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb1a97ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:03:02.859190
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_53_3463.jpg', 2), ('/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_50_4467.jpg', 2), ('/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_45_3465.jpg', 2), ('/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_42_4483.jpg', 2), ('/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_37_3461.jpg', 2), ('/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_34_4481.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7bc58ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7bc58ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7bc58ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:03:32.239391
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_53_3464.jpg', 2), ('/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_49_4473.jpg', 2), ('/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_45_3467.jpg', 2), ('/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_41_4473.jpg', 2), ('/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_37_3467.jpg', 2), ('/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_33_4473.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8bf4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8bf4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8bf4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:04:03.384221
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_53_3464.jpg', 2), ('/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_49_4473.jpg', 2), ('/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_45_3467.jpg', 2), ('/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_41_4473.jpg', 2), ('/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_37_3467.jpg', 2), ('/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_33_4473.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c7c4e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c7c4e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c7c4e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:04:32.346466
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_53_3464.jpg', 2), ('/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_50_4479.jpg', 2), ('/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_45_3450.jpg', 2), ('/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_42_4474.jpg', 2), ('/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_37_3450.jpg', 2), ('/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_34_4455.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb2306ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb2306ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb2306ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:05:03.114930
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_53_3464.jpg', 2), ('/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_50_4479.jpg', 2), ('/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_45_3450.jpg', 2), ('/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_42_4474.jpg', 2), ('/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_37_3450.jpg', 2), ('/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_34_4455.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fadf58e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fadf58e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fadf58e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:05:32.466985
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_54_4472.jpg', 2), ('/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_49_4482.jpg', 2), ('/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_45_3448.jpg', 2), ('/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_41_4479.jpg', 2), ('/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_37_3454.jpg', 2), ('/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_33_4489.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa658bef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa658bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa658bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:06:03.242009
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_54_4472.jpg', 2), ('/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_49_4482.jpg', 2), ('/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_45_3448.jpg', 2), ('/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_41_4479.jpg', 2), ('/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_37_3454.jpg', 2), ('/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_33_4489.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb5350e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb5350e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb5350e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:06:32.599219
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_53_3445.jpg', 2), ('/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_49_4461.jpg', 2), ('/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_45_3449.jpg', 2), ('/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_42_4466.jpg', 2), ('/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_37_3455.jpg', 2), ('/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_34_4489.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fad063ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fad063ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fad063ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:07:03.392053
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_53_3445.jpg', 2), ('/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_49_4461.jpg', 2), ('/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_45_3449.jpg', 2), ('/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_42_4466.jpg', 2), ('/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_37_3455.jpg', 2), ('/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_34_4489.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9b0aaef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9b0aaef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9b0aaef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:07:32.705948
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_57_3447.jpg', 2), ('/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_53_4464.jpg', 2), ('/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_49_3457.jpg', 2), ('/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_45_4459.jpg', 2), ('/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_41_3448.jpg', 2), ('/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_38_4491.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fafa08ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fafa08ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fafa08ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:08:02.605118
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_57_3447.jpg', 2), ('/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_53_4464.jpg', 2), ('/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_49_3457.jpg', 2), ('/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_45_4459.jpg', 2), ('/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_41_3448.jpg', 2), ('/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_38_4491.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8441fef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8441fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8441fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:08:31.815567
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_57_4466.jpg', 2), ('/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_53_3452.jpg', 2), ('/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_49_4464.jpg', 2), ('/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_45_3448.jpg', 2), ('/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_42_4459.jpg', 2), ('/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_37_3482.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f98e5ae80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f98e5ae80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f98e5ae80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:09:02.748666
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_57_4466.jpg', 2), ('/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_53_3452.jpg', 2), ('/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_49_4464.jpg', 2), ('/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_45_3448.jpg', 2), ('/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_42_4459.jpg', 2), ('/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_37_3482.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8e781ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8e781ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8e781ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:09:31.906562
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_57_3457.jpg', 2), ('/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_53_4474.jpg', 2), ('/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_49_3476.jpg', 2), ('/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_45_4462.jpg', 2), ('/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_41_3447.jpg', 2), ('/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_37_4459.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8fce2ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8fce2ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8fce2ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:10:02.696783
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_57_4497.jpg', 2), ('/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_57_3457.jpg', 2), ('/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_53_4474.jpg', 2), ('/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_49_3476.jpg', 2), ('/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_45_4462.jpg', 2), ('/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_41_3447.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb1a48ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb1a48ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb1a48ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:10:32.021754
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_57_4497.jpg', 2), ('/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_49_4468.jpg', 2), ('/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_45_3446.jpg', 2), ('/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_41_4456.jpg', 2), ('/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_37_3458.jpg', 2), ('/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_33_4457.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa11a7ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa11a7ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa11a7ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:11:02.783189
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_57_4497.jpg', 2), ('/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_49_4468.jpg', 2), ('/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_45_3446.jpg', 2), ('/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_41_4456.jpg', 2), ('/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_37_3458.jpg', 2), ('/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_33_4457.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9d660ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9d660ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9d660ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:11:32.150678
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_53_3481.jpg', 2), ('/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_49_4492.jpg', 2), ('/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_45_3441.jpg', 2), ('/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_41_4464.jpg', 2), ('/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_37_3451.jpg', 2), ('/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_34_4463.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f83c84ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f83c84ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f83c84ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:12:02.996850
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_53_3481.jpg', 2), ('/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_49_4492.jpg', 2), ('/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_45_3441.jpg', 2), ('/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_41_4464.jpg', 2), ('/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_37_3451.jpg', 2), ('/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_34_4463.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f809eaef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f809eaef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f809eaef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:12:32.245960
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_57_3451.jpg', 2), ('/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_53_4488.jpg', 2), ('/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_49_3454.jpg', 2), ('/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_45_4478.jpg', 2), ('/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_41_3449.jpg', 2), ('/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_37_4465.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fad9e6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fad9e6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fad9e6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:13:03.160320
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_57_3451.jpg', 2), ('/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_53_4488.jpg', 2), ('/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_49_3454.jpg', 2), ('/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_45_4478.jpg', 2), ('/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_41_3449.jpg', 2), ('/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_37_4465.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fafeb5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fafeb5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fafeb5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:13:32.355382
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_57_4465.jpg', 2), ('/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_53_3460.jpg', 2), ('/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_49_4483.jpg', 2), ('/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_45_3485.jpg', 2), ('/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_41_4473.jpg', 2), ('/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_37_3455.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb5bb5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb5bb5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb5bb5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:14:03.168038
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_57_4465.jpg', 2), ('/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_53_3460.jpg', 2), ('/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_49_4483.jpg', 2), ('/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_45_3485.jpg', 2), ('/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_41_4473.jpg', 2), ('/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_37_3455.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7880eef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7880eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7880eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:14:32.494300
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_58_4495.jpg', 2), ('/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_53_3447.jpg', 2), ('/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_50_4496.jpg', 2), ('/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_45_3452.jpg', 2), ('/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_42_4489.jpg', 2), ('/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_37_4463.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f962b3e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f962b3e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f962b3e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:15:03.290454
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_58_4495.jpg', 2), ('/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_53_3447.jpg', 2), ('/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_50_4496.jpg', 2), ('/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_45_3452.jpg', 2), ('/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_42_4489.jpg', 2), ('/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_37_4463.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f865ebef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f865ebef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f865ebef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:15:32.616055
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_57_4465.jpg', 2), ('/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_53_3450.jpg', 2), ('/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_49_4458.jpg', 2), ('/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_45_3441.jpg', 2), ('/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_41_4453.jpg', 2), ('/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_37_3445.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8d86cef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8d86cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8d86cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:16:03.606844
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_57_4465.jpg', 2), ('/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_53_3450.jpg', 2), ('/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_49_4458.jpg', 2), ('/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_45_3441.jpg', 2), ('/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_41_4453.jpg', 2), ('/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_37_3445.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9213eef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9213eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9213eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:16:32.740149
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_57_4468.jpg', 2), ('/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_53_3464.jpg', 2), ('/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_50_4467.jpg', 2), ('/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_45_3479.jpg', 2), ('/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_42_4443.jpg', 2), ('/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_37_4467.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7c1fcef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7c1fcef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7c1fcef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:17:02.623283
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_57_4468.jpg', 2), ('/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_53_3464.jpg', 2), ('/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_50_4467.jpg', 2), ('/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_45_3479.jpg', 2), ('/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_42_4443.jpg', 2), ('/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_37_4467.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa213def0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa213def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa213def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:17:31.863571
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_54_4491.jpg', 2), ('/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_49_3454.jpg', 2), ('/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_46_4460.jpg', 2), ('/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_41_4461.jpg', 2), ('/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_37_3457.jpg', 2), ('/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_33_4470.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8466ee80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8466ee80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8466ee80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:18:02.634013
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_54_4491.jpg', 2), ('/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_49_3454.jpg', 2), ('/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_46_4460.jpg', 2), ('/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_41_4461.jpg', 2), ('/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_37_3457.jpg', 2), ('/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_33_4470.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f85b84ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f85b84ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f85b84ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:18:31.949201
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_53_3476.jpg', 2), ('/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_49_4483.jpg', 2), ('/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_45_3448.jpg', 2), ('/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_41_4486.jpg', 2), ('/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_37_3471.jpg', 2), ('/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_33_4470.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f86d00ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f86d00ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f86d00ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:19:03.236920
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_53_3476.jpg', 2), ('/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_49_4483.jpg', 2), ('/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_45_3448.jpg', 2), ('/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_41_4486.jpg', 2), ('/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_37_3471.jpg', 2), ('/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_33_4470.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f899fbe80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f899fbe80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f899fbe80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:19:32.079899
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_53_3445.jpg', 2), ('/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_49_4462.jpg', 2), ('/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_45_3455.jpg', 2), ('/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_41_4463.jpg', 2), ('/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_37_3437.jpg', 2), ('/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_34_4468.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f99ffaef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f99ffaef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f99ffaef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:20:02.740780
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_53_3445.jpg', 2), ('/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_49_4462.jpg', 2), ('/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_45_3455.jpg', 2), ('/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_41_4463.jpg', 2), ('/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_37_3437.jpg', 2), ('/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_34_4468.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f89944ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f89944ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f89944ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:20:32.173910
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_57_3459.jpg', 2), ('/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_53_4465.jpg', 2), ('/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_49_3436.jpg', 2), ('/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_46_4461.jpg', 2), ('/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_41_3449.jpg', 2), ('/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_38_4458.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7a3a4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7a3a4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7a3a4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:21:03.157699
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_57_3459.jpg', 2), ('/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_53_4465.jpg', 2), ('/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_49_3436.jpg', 2), ('/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_46_4461.jpg', 2), ('/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_41_3449.jpg', 2), ('/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_38_4458.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f93641ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f93641ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f93641ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:21:32.269470
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_57_4459.jpg', 2), ('/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_53_3455.jpg', 2), ('/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_49_4460.jpg', 2), ('/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_45_3452.jpg', 2), ('/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_42_4454.jpg', 2), ('/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_37_3481.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7fb90ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7fb90ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7fb90ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:22:03.009250
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_57_4459.jpg', 2), ('/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_53_3455.jpg', 2), ('/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_49_4460.jpg', 2), ('/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_45_3452.jpg', 2), ('/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_42_4454.jpg', 2), ('/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_37_3481.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7d648ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7d648ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7d648ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:22:32.362319
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_57_3457.jpg', 2), ('/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_53_4488.jpg', 2), ('/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_49_3458.jpg', 2), ('/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_45_4463.jpg', 2), ('/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_41_3456.jpg', 2), ('/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_38_4476.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f86736ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f86736ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f86736ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:23:03.144881
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_57_3457.jpg', 2), ('/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_53_4488.jpg', 2), ('/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_49_3458.jpg', 2), ('/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_45_4463.jpg', 2), ('/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_41_3456.jpg', 2), ('/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_38_4476.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f84772e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f84772e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f84772e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:23:32.468287
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_57_4486.jpg', 2), ('/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_53_3442.jpg', 2), ('/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_50_4467.jpg', 2), ('/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_45_3472.jpg', 2), ('/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_42_4468.jpg', 2), ('/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_37_3462.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa6eedef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa6eedef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa6eedef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:24:03.398627
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_57_4486.jpg', 2), ('/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_53_3442.jpg', 2), ('/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_50_4467.jpg', 2), ('/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_45_3472.jpg', 2), ('/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_42_4468.jpg', 2), ('/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_37_3462.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7e7b3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7e7b3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7e7b3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:24:32.588969
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_57_3451.jpg', 2), ('/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_53_4464.jpg', 2), ('/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_49_3446.jpg', 2), ('/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_45_4460.jpg', 2), ('/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_41_3454.jpg', 2), ('/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_38_4469.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f845d9ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f845d9ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f845d9ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:25:03.492184
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_41_3475.jpg', 2), ('/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_57_3451.jpg', 2), ('/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_53_4464.jpg', 2), ('/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_49_3446.jpg', 2), ('/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_45_4460.jpg', 2), ('/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_41_3454.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fab58bef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fab58bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fab58bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:25:32.688949
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_57_3449.jpg', 2), ('/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_53_4458.jpg', 2), ('/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_49_3451.jpg', 2), ('/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_45_4472.jpg', 2), ('/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_41_3475.jpg', 2), ('/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_38_4476.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa3b46ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa3b46ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa3b46ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:26:02.390116
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_57_3449.jpg', 2), ('/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_53_4458.jpg', 2), ('/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_49_3451.jpg', 2), ('/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_45_4472.jpg', 2), ('/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_41_3475.jpg', 2), ('/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_38_4476.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f82e4eef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f82e4eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f82e4eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:26:31.779818
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_53_3452.jpg', 2), ('/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_49_4452.jpg', 2), ('/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_45_3472.jpg', 2), ('/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_41_4454.jpg', 2), ('/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_37_3444.jpg', 2), ('/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_34_4457.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8606eef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8606eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8606eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:27:02.774538
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_53_3452.jpg', 2), ('/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_49_4452.jpg', 2), ('/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_45_3472.jpg', 2), ('/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_41_4454.jpg', 2), ('/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_37_3444.jpg', 2), ('/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_34_4457.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f88516ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f88516ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f88516ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:27:31.901763
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_53_3439.jpg', 2), ('/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_49_4448.jpg', 2), ('/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_45_3459.jpg', 2), ('/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_41_4480.jpg', 2), ('/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_37_3455.jpg', 2), ('/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_34_4483.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7d23cef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7d23cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7d23cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:28:02.623897
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_53_3439.jpg', 2), ('/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_49_4448.jpg', 2), ('/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_45_3459.jpg', 2), ('/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_41_4480.jpg', 2), ('/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_37_3455.jpg', 2), ('/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_34_4483.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c30cef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c30cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c30cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:28:31.984486
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_57_3456.jpg', 2), ('/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_53_4469.jpg', 2), ('/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_49_3443.jpg', 2), ('/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_45_4464.jpg', 2), ('/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_41_3458.jpg', 2), ('/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_37_4469.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8d81cef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8d81cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8d81cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:29:03.067153
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_57_3456.jpg', 2), ('/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_53_4469.jpg', 2), ('/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_49_3443.jpg', 2), ('/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_45_4464.jpg', 2), ('/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_41_3458.jpg', 2), ('/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_37_4469.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b1d5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b1d5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b1d5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:29:32.156479
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_57_3449.jpg', 2), ('/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_54_4462.jpg', 2), ('/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_49_4465.jpg', 2), ('/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_45_3475.jpg', 2), ('/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_41_4470.jpg', 2), ('/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_37_3469.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8925ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8925ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8925ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:30:03.062350
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_21_4465.jpg', 2), ('/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_57_3449.jpg', 2), ('/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_54_4462.jpg', 2), ('/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_49_4465.jpg', 2), ('/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_45_3475.jpg', 2), ('/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_41_4470.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb5798ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb5798ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb5798ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:30:32.254439
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_58_4471.jpg', 2), ('/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_53_3450.jpg', 2), ('/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_50_4470.jpg', 2), ('/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_45_4473.jpg', 2), ('/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_41_3446.jpg', 2), ('/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_37_4459.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa0a30e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa0a30e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa0a30e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:31:03.046181
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_58_4471.jpg', 2), ('/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_53_3450.jpg', 2), ('/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_50_4470.jpg', 2), ('/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_45_4473.jpg', 2), ('/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_41_3446.jpg', 2), ('/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_37_4459.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f97a42ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f97a42ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f97a42ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:31:32.391607
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_58_4140.jpg', 2), ('/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_53_4148.jpg', 2), ('/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_49_4129.jpg', 2), ('/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_45_4143.jpg', 2), ('/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_41_4085.jpg', 2), ('/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_37_4164.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f96627ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f96627ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f96627ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:32:03.182649
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_58_4140.jpg', 2), ('/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_53_4148.jpg', 2), ('/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_49_4129.jpg', 2), ('/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_45_4143.jpg', 2), ('/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_41_4085.jpg', 2), ('/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_37_4164.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f88a3fef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f88a3fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f88a3fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:32:32.480204
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_57_4015.jpg', 2), ('/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_53_4041.jpg', 2), ('/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_49_4035.jpg', 2), ('/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_45_4221.jpg', 2), ('/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_41_3192.jpg', 2), ('/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_38_4178.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8e6e9ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8e6e9ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8e6e9ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:33:03.362659
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_57_4015.jpg', 2), ('/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_53_4041.jpg', 2), ('/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_49_4035.jpg', 2), ('/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_45_4221.jpg', 2), ('/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_41_3192.jpg', 2), ('/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_38_4178.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f92b89e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f92b89e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f92b89e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:33:32.588442
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_57_3378.jpg', 2), ('/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_53_4377.jpg', 2), ('/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_49_3413.jpg', 2), ('/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_46_4254.jpg', 2), ('/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_41_4280.jpg', 2), ('/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_37_4177.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fae6c3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fae6c3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fae6c3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:34:03.554117
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_57_3378.jpg', 2), ('/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_53_4377.jpg', 2), ('/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_49_3413.jpg', 2), ('/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_46_4254.jpg', 2), ('/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_41_4280.jpg', 2), ('/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_37_4177.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7c314e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7c314e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7c314e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:34:32.697501
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_57_4210.jpg', 2), ('/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_53_4159.jpg', 2), ('/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_49_4194.jpg', 2), ('/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_45_3191.jpg', 2), ('/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_42_4269.jpg', 2), ('/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_37_4221.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f92d9fef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f92d9fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f92d9fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:35:02.468315
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_57_4210.jpg', 2), ('/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_53_4159.jpg', 2), ('/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_49_4194.jpg', 2), ('/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_45_3191.jpg', 2), ('/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_42_4269.jpg', 2), ('/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_37_4221.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c9f7ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c9f7ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c9f7ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:35:31.785385
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_57_3212.jpg', 2), ('/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_54_4281.jpg', 2), ('/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_49_4299.jpg', 2), ('/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_45_3991.jpg', 2), ('/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_41_4182.jpg', 2), ('/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_37_3178.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f91d21ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f91d21ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f91d21ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:36:02.479273
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_50_4114.jpg', 2), ('/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_57_3212.jpg', 2), ('/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_54_4281.jpg', 2), ('/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_49_4299.jpg', 2), ('/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_45_3991.jpg', 2), ('/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_41_4182.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fae1e1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fae1e1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fae1e1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:36:31.922565
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_54_4029.jpg', 2), ('/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_50_4114.jpg', 2), ('/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_45_4144.jpg', 2), ('/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_41_4256.jpg', 2), ('/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_37_4308.jpg', 2), ('/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_33_3412.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f93f3def0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f93f3def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f93f3def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:37:02.711038
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_54_4029.jpg', 2), ('/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_50_4114.jpg', 2), ('/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_45_4144.jpg', 2), ('/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_41_4256.jpg', 2), ('/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_37_4308.jpg', 2), ('/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_33_3412.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f887bae80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f887bae80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f887bae80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:37:32.005409
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_53_4143.jpg', 2), ('/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_49_4168.jpg', 2), ('/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_45_4094.jpg', 2), ('/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_41_3979.jpg', 2), ('/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_37_3077.jpg', 2), ('/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_34_4095.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7facaa6e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7facaa6e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7facaa6e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:38:02.632938
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_53_4143.jpg', 2), ('/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_49_4168.jpg', 2), ('/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_45_4094.jpg', 2), ('/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_41_3979.jpg', 2), ('/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_37_3077.jpg', 2), ('/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_34_4095.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0eb3e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0eb3e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0eb3e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:38:32.110359
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_53_4275.jpg', 2), ('/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_49_3786.jpg', 2), ('/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_45_4156.jpg', 2), ('/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_41_4163.jpg', 2), ('/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_37_4232.jpg', 2), ('/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_33_4105.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa5e95ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa5e95ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa5e95ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:39:03.203256
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_53_4275.jpg', 2), ('/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_49_3786.jpg', 2), ('/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_45_4156.jpg', 2), ('/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_41_4163.jpg', 2), ('/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_37_4232.jpg', 2), ('/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_33_4105.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f76a6aef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f76a6aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f76a6aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:39:32.290254
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_57_3931.jpg', 2), ('/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_53_4083.jpg', 2), ('/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_49_4134.jpg', 2), ('/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_45_4065.jpg', 2), ('/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_41_3922.jpg', 2), ('/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_37_4082.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f97adeef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f97adeef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f97adeef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:40:03.173990
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_37_3196.jpg', 2), ('/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_57_3931.jpg', 2), ('/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_53_4083.jpg', 2), ('/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_49_4134.jpg', 2), ('/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_45_4065.jpg', 2), ('/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_41_3922.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa967def0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa967def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa967def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:40:32.413970
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_57_3183.jpg', 2), ('/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_54_4209.jpg', 2), ('/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_49_4201.jpg', 2), ('/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_45_4206.jpg', 2), ('/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_41_4226.jpg', 2), ('/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_37_3196.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa63dbef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa63dbef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa63dbef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:41:03.298667
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_57_3183.jpg', 2), ('/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_54_4209.jpg', 2), ('/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_49_4201.jpg', 2), ('/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_45_4206.jpg', 2), ('/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_41_4226.jpg', 2), ('/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_37_3196.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f86fecef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f86fecef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f86fecef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:41:32.492710
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_57_4254.jpg', 2), ('/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_53_3212.jpg', 2), ('/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_50_4232.jpg', 2), ('/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_45_4408.jpg', 2), ('/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_41_3384.jpg', 2), ('/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_38_4289.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb39d4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb39d4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb39d4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:42:03.136098
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_57_4254.jpg', 2), ('/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_53_3212.jpg', 2), ('/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_50_4232.jpg', 2), ('/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_45_4408.jpg', 2), ('/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_41_3384.jpg', 2), ('/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_38_4289.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f769c6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f769c6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f769c6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:42:32.611508
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_58_4160.jpg', 2), ('/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_53_4277.jpg', 2), ('/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_49_4278.jpg', 2), ('/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_45_3221.jpg', 2), ('/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_42_4238.jpg', 2), ('/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_37_4086.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f83df5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f83df5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f83df5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:43:03.345681
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_58_4160.jpg', 2), ('/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_53_4277.jpg', 2), ('/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_49_4278.jpg', 2), ('/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_45_3221.jpg', 2), ('/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_42_4238.jpg', 2), ('/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_37_4086.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8e6a2e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8e6a2e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8e6a2e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:43:32.731385
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_58_4356.jpg', 2), ('/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_53_4345.jpg', 2), ('/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_49_4169.jpg', 2), ('/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_45_3159.jpg', 2), ('/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_42_4192.jpg', 2), ('/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_37_3828.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8dadaef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8dadaef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8dadaef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:44:02.985118
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_58_4356.jpg', 2), ('/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_53_4345.jpg', 2), ('/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_49_4169.jpg', 2), ('/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_45_3159.jpg', 2), ('/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_42_4192.jpg', 2), ('/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_37_3828.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8b37ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8b37ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8b37ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:44:31.821518
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_57_3965.jpg', 2), ('/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_53_4129.jpg', 2), ('/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_49_4098.jpg', 2), ('/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_45_4129.jpg', 2), ('/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_41_4112.jpg', 2), ('/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_37_4124.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7facf87ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7facf87ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7facf87ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:45:02.624600
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_57_3965.jpg', 2), ('/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_53_4129.jpg', 2), ('/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_49_4098.jpg', 2), ('/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_45_4129.jpg', 2), ('/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_41_4112.jpg', 2), ('/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_37_4124.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9a11eef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9a11eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9a11eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:45:31.923390
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_57_4102.jpg', 2), ('/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_53_4066.jpg', 2), ('/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_49_4080.jpg', 2), ('/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_45_4038.jpg', 2), ('/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_41_3004.jpg', 2), ('/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_38_4012.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f91345ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f91345ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f91345ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:46:02.687751
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_57_4102.jpg', 2), ('/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_53_4066.jpg', 2), ('/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_49_4080.jpg', 2), ('/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_45_4038.jpg', 2), ('/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_41_3004.jpg', 2), ('/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_38_4012.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa0fafef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa0fafef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa0fafef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:46:32.053073
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_53_4333.jpg', 2), ('/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_49_3231.jpg', 2), ('/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_45_4217.jpg', 2), ('/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_41_4214.jpg', 2), ('/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_37_4217.jpg', 2), ('/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_33_4122.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f76d19ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f76d19ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f76d19ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:47:02.810527
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_53_4333.jpg', 2), ('/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_49_3231.jpg', 2), ('/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_45_4217.jpg', 2), ('/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_41_4214.jpg', 2), ('/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_37_4217.jpg', 2), ('/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_33_4122.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa3ec0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa3ec0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa3ec0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:47:32.171490
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_57_4138.jpg', 2), ('/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_53_4084.jpg', 2), ('/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_49_3108.jpg', 2), ('/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_46_4148.jpg', 2), ('/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_42_4000.jpg', 2), ('/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_38_4196.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7981aef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7981aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7981aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:48:03.071978
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_57_4138.jpg', 2), ('/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_53_4084.jpg', 2), ('/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_49_3108.jpg', 2), ('/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_46_4148.jpg', 2), ('/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_42_4000.jpg', 2), ('/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_38_4196.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f96316ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f96316ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f96316ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:48:32.289480
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_57_4058.jpg', 2), ('/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_53_4096.jpg', 2), ('/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_49_4089.jpg', 2), ('/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_45_4110.jpg', 2), ('/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_41_3112.jpg', 2), ('/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_38_4080.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9f5d5e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9f5d5e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9f5d5e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:49:03.336032
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_57_4058.jpg', 2), ('/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_53_4096.jpg', 2), ('/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_49_4089.jpg', 2), ('/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_45_4110.jpg', 2), ('/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_41_3112.jpg', 2), ('/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_38_4080.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa3c59ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa3c59ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa3c59ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:49:32.403626
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_57_4216.jpg', 2), ('/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_53_4248.jpg', 2), ('/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_49_3224.jpg', 2), ('/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_46_4205.jpg', 2), ('/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_41_4227.jpg', 2), ('/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_37_4346.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f83782ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f83782ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f83782ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:50:03.294515
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_57_4216.jpg', 2), ('/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_53_4248.jpg', 2), ('/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_49_3224.jpg', 2), ('/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_46_4205.jpg', 2), ('/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_41_4227.jpg', 2), ('/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_37_4346.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8ec0def0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8ec0def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8ec0def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:50:32.500120
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_57_4355.jpg', 2), ('/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_53_4101.jpg', 2), ('/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_49_4192.jpg', 2), ('/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_45_3228.jpg', 2), ('/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_42_4142.jpg', 2), ('/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_37_4121.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa30c3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa30c3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa30c3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:51:03.232224
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_57_4355.jpg', 2), ('/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_53_4101.jpg', 2), ('/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_49_4192.jpg', 2), ('/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_45_3228.jpg', 2), ('/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_42_4142.jpg', 2), ('/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_37_4121.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa2983e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa2983e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa2983e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:51:32.584793
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_57_4160.jpg', 2), ('/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_53_4138.jpg', 2), ('/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_49_4151.jpg', 2), ('/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_45_4162.jpg', 2), ('/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_41_3126.jpg', 2), ('/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_38_4245.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9e38def0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9e38def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9e38def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:52:03.380699
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_50_3942.jpg', 2), ('/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_57_4160.jpg', 2), ('/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_53_4138.jpg', 2), ('/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_49_4151.jpg', 2), ('/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_45_4162.jpg', 2), ('/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_41_3126.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8f925ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8f925ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8f925ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:52:32.770683
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_58_4126.jpg', 2), ('/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_54_4004.jpg', 2), ('/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_50_3942.jpg', 2), ('/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_46_4016.jpg', 2), ('/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_42_4140.jpg', 2), ('/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_37_4248.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f99886ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f99886ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f99886ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:53:02.224821
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_58_4126.jpg', 2), ('/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_54_4004.jpg', 2), ('/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_50_3942.jpg', 2), ('/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_46_4016.jpg', 2), ('/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_42_4140.jpg', 2), ('/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_37_4248.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb3f25ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb3f25ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb3f25ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:53:31.870840
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_54_4080.jpg', 2), ('/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_49_4067.jpg', 2), ('/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_45_4179.jpg', 2), ('/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_41_4243.jpg', 2), ('/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_37_4189.jpg', 2), ('/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_33_3222.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f994ebef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f994ebef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f994ebef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:54:03.044090
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_54_4080.jpg', 2), ('/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_49_4067.jpg', 2), ('/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_45_4179.jpg', 2), ('/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_41_4243.jpg', 2), ('/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_37_4189.jpg', 2), ('/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_33_3222.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f779c0e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f779c0e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f779c0e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:54:31.984752
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_57_4121.jpg', 2), ('/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_53_4105.jpg', 2), ('/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_49_4125.jpg', 2), ('/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_45_4025.jpg', 2), ('/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_41_4107.jpg', 2), ('/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_37_4063.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ceb4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ceb4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ceb4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:55:02.824641
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_57_4121.jpg', 2), ('/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_53_4105.jpg', 2), ('/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_49_4125.jpg', 2), ('/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_45_4025.jpg', 2), ('/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_41_4107.jpg', 2), ('/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_37_4063.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0c37ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0c37ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0c37ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:55:32.081533
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_57_3186.jpg', 2), ('/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_54_4307.jpg', 2), ('/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_49_4300.jpg', 2), ('/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_45_4166.jpg', 2), ('/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_41_3136.jpg', 2), ('/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_38_4188.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa5bcaef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa5bcaef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa5bcaef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:56:03.004017
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_57_3186.jpg', 2), ('/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_54_4307.jpg', 2), ('/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_49_4300.jpg', 2), ('/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_45_4166.jpg', 2), ('/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_41_3136.jpg', 2), ('/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_38_4188.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f89f83ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f89f83ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f89f83ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:56:32.209060
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_57_3125.jpg', 2), ('/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_54_4175.jpg', 2), ('/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_50_4188.jpg', 2), ('/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_45_4124.jpg', 2), ('/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_41_4095.jpg', 2), ('/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_37_4085.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7facfcfef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7facfcfef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7facfcfef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:57:02.854172
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_57_3125.jpg', 2), ('/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_54_4175.jpg', 2), ('/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_50_4188.jpg', 2), ('/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_45_4124.jpg', 2), ('/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_41_4095.jpg', 2), ('/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_37_4085.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8e722ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8e722ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8e722ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:57:32.310547
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_58_4132.jpg', 2), ('/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_54_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_49_4154.jpg', 2), ('/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_45_4171.jpg', 2), ('/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_41_4170.jpg', 2), ('/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_37_4199.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ef55ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ef55ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ef55ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:59:03.067858
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_58_4164.jpg', 2), ('/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_53_4130.jpg', 2), ('/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_49_4203.jpg', 2), ('/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_45_4306.jpg', 2), ('/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_41_3236.jpg', 2), ('/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_38_4174.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb2430e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb2430e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb2430e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 01:59:32.086295
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_58_4057.jpg', 2), ('/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_54_4046.jpg', 2), ('/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_50_4058.jpg', 2), ('/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_46_4077.jpg', 2), ('/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_41_4132.jpg', 2), ('/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_37_4103.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f78bc5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f78bc5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f78bc5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:00:03.010458
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_58_4057.jpg', 2), ('/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_54_4046.jpg', 2), ('/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_50_4058.jpg', 2), ('/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_46_4077.jpg', 2), ('/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_41_4132.jpg', 2), ('/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_37_4103.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f977dcef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f977dcef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f977dcef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:00:32.301235
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_57_4375.jpg', 2), ('/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_53_4309.jpg', 2), ('/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_49_4106.jpg', 2), ('/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_45_3214.jpg', 2), ('/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_41_3912.jpg', 2), ('/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_38_4335.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f93157ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f93157ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f93157ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:01:03.134723
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_57_4375.jpg', 2), ('/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_53_4309.jpg', 2), ('/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_49_4106.jpg', 2), ('/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_45_3214.jpg', 2), ('/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_41_3912.jpg', 2), ('/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_38_4335.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8acc7ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8acc7ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8acc7ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:01:32.434535
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_57_4155.jpg', 2), ('/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_53_3166.jpg', 2), ('/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_50_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_46_4127.jpg', 2), ('/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_41_4218.jpg', 2), ('/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_37_4210.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa7c1eef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa7c1eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa7c1eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:02:03.281801
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_57_4155.jpg', 2), ('/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_53_3166.jpg', 2), ('/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_50_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_46_4127.jpg', 2), ('/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_41_4218.jpg', 2), ('/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_37_4210.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f78e28ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f78e28ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f78e28ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:02:32.579247
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_57_3380.jpg', 2), ('/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_53_4319.jpg', 2), ('/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_49_4041.jpg', 2), ('/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_45_4291.jpg', 2), ('/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_41_3238.jpg', 2), ('/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_38_4180.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f90120ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f90120ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f90120ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:03:03.219544
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_57_3380.jpg', 2), ('/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_53_4319.jpg', 2), ('/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_49_4041.jpg', 2), ('/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_45_4291.jpg', 2), ('/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_41_3238.jpg', 2), ('/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_38_4180.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb567eef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb567eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb567eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:03:32.708551
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_57_4121.jpg', 2), ('/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_53_4143.jpg', 2), ('/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_49_3919.jpg', 2), ('/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_45_4202.jpg', 2), ('/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_41_3135.jpg', 2), ('/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_38_4146.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9a3efef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9a3efef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9a3efef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:04:02.722547
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_57_4121.jpg', 2), ('/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_53_4143.jpg', 2), ('/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_49_3919.jpg', 2), ('/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_45_4202.jpg', 2), ('/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_41_3135.jpg', 2), ('/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_38_4146.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8e936ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8e936ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8e936ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:04:31.808405
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_58_4320.jpg', 2), ('/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_53_4270.jpg', 2), ('/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_49_3496.jpg', 2), ('/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_46_4023.jpg', 2), ('/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_42_4201.jpg', 2), ('/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_37_4230.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7d8beef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7d8beef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7d8beef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:05:02.694070
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_58_4320.jpg', 2), ('/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_53_4270.jpg', 2), ('/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_49_3496.jpg', 2), ('/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_46_4023.jpg', 2), ('/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_42_4201.jpg', 2), ('/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_37_4230.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f772acef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f772acef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f772acef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:05:31.916403
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_57_3202.jpg', 2), ('/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_54_4210.jpg', 2), ('/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_49_4206.jpg', 2), ('/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_45_4215.jpg', 2), ('/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_41_4231.jpg', 2), ('/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_37_3211.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9abeef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9abeef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9abeef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:06:02.662484
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_57_3202.jpg', 2), ('/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_54_4210.jpg', 2), ('/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_49_4206.jpg', 2), ('/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_45_4215.jpg', 2), ('/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_41_4231.jpg', 2), ('/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_37_3211.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7f8e8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7f8e8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7f8e8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:06:32.049761
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_57_3125.jpg', 2), ('/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_54_4240.jpg', 2), ('/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_49_4123.jpg', 2), ('/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_45_4078.jpg', 2), ('/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_41_4086.jpg', 2), ('/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_37_4174.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9eacef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9eacef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9eacef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:07:02.754383
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_57_3125.jpg', 2), ('/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_54_4240.jpg', 2), ('/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_49_4123.jpg', 2), ('/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_45_4078.jpg', 2), ('/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_41_4086.jpg', 2), ('/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_37_4174.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f99a09ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f99a09ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f99a09ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:07:32.164880
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_58_4321.jpg', 2), ('/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_53_4314.jpg', 2), ('/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_49_4037.jpg', 2), ('/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_45_3359.jpg', 2), ('/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_42_4157.jpg', 2), ('/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_37_4116.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7ba6cef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7ba6cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7ba6cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:08:03.150802
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_58_4321.jpg', 2), ('/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_53_4314.jpg', 2), ('/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_49_4037.jpg', 2), ('/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_45_3359.jpg', 2), ('/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_42_4157.jpg', 2), ('/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_37_4116.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa6f56ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa6f56ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa6f56ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:08:32.293128
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_57_3180.jpg', 2), ('/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_54_3993.jpg', 2), ('/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_50_4223.jpg', 2), ('/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_45_4228.jpg', 2), ('/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_41_4203.jpg', 2), ('/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_37_4238.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa26b6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa26b6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa26b6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:09:03.496686
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_57_3180.jpg', 2), ('/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_54_3993.jpg', 2), ('/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_50_4223.jpg', 2), ('/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_45_4228.jpg', 2), ('/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_41_4203.jpg', 2), ('/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_37_4238.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f87f20e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f87f20e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f87f20e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:09:32.386983
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_57_4134.jpg', 2), ('/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_53_4046.jpg', 2), ('/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_49_4043.jpg', 2), ('/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_45_4079.jpg', 2), ('/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_41_3148.jpg', 2), ('/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_38_4171.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f81f35ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f81f35ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f81f35ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:10:03.361149
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_57_4134.jpg', 2), ('/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_53_4046.jpg', 2), ('/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_49_4043.jpg', 2), ('/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_45_4079.jpg', 2), ('/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_41_3148.jpg', 2), ('/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_38_4171.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa97bfef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa97bfef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa97bfef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:10:32.494335
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_57_4133.jpg', 2), ('/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_53_4135.jpg', 2), ('/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_49_4100.jpg', 2), ('/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_45_3114.jpg', 2), ('/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_42_4115.jpg', 2), ('/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_38_4078.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa53b5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa53b5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa53b5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:11:03.378999
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_57_4133.jpg', 2), ('/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_53_4135.jpg', 2), ('/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_49_4100.jpg', 2), ('/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_45_3114.jpg', 2), ('/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_42_4115.jpg', 2), ('/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_38_4078.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa318cef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa318cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa318cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:11:32.598066
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_58_4098.jpg', 2), ('/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_54_4129.jpg', 2), ('/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_49_4076.jpg', 2), ('/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_45_3870.jpg', 2), ('/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_42_3916.jpg', 2), ('/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_38_3927.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8d728ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8d728ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8d728ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:12:03.267908
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_58_4098.jpg', 2), ('/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_54_4129.jpg', 2), ('/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_49_4076.jpg', 2), ('/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_45_3870.jpg', 2), ('/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_42_3916.jpg', 2), ('/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_38_3927.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7e649ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7e649ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7e649ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:12:32.715912
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_57_4181.jpg', 2), ('/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_53_4107.jpg', 2), ('/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_49_4236.jpg', 2), ('/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_45_4244.jpg', 2), ('/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_41_3216.jpg', 2), ('/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_37_4236.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f88fb9e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f88fb9e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f88fb9e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:13:02.396206
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_57_4181.jpg', 2), ('/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_53_4107.jpg', 2), ('/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_49_4236.jpg', 2), ('/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_45_4244.jpg', 2), ('/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_41_3216.jpg', 2), ('/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_37_4236.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f76d0fe80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f76d0fe80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f76d0fe80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:13:31.823969
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_53_4266.jpg', 2), ('/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_49_4196.jpg', 2), ('/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_45_4137.jpg', 2), ('/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_41_4066.jpg', 2), ('/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_37_3132.jpg', 2), ('/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_34_4187.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fac529ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fac529ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fac529ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:14:02.818060
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_53_4266.jpg', 2), ('/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_49_4196.jpg', 2), ('/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_45_4137.jpg', 2), ('/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_41_4066.jpg', 2), ('/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_37_3132.jpg', 2), ('/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_34_4187.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb46c2ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb46c2ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb46c2ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:14:31.904133
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_57_3322.jpg', 2), ('/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_54_4329.jpg', 2), ('/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_49_4261.jpg', 2), ('/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_45_4199.jpg', 2), ('/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_41_3827.jpg', 2), ('/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_37_4196.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f96ec1e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f96ec1e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f96ec1e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:15:02.566214
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_57_3322.jpg', 2), ('/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_54_4329.jpg', 2), ('/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_49_4261.jpg', 2), ('/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_45_4199.jpg', 2), ('/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_41_3827.jpg', 2), ('/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_37_4196.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f88d90e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f88d90e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f88d90e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:15:32.008684
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_57_4116.jpg', 2), ('/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_53_4061.jpg', 2), ('/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_49_3301.jpg', 2), ('/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_46_4028.jpg', 2), ('/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_42_4032.jpg', 2), ('/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_38_4055.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f93101ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f93101ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f93101ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:16:02.896534
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_54_4342.jpg', 2), ('/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_57_4116.jpg', 2), ('/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_53_4061.jpg', 2), ('/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_49_3301.jpg', 2), ('/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_46_4028.jpg', 2), ('/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_42_4032.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9cd0def0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9cd0def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9cd0def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:16:32.102786
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_57_3272.jpg', 2), ('/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_54_4342.jpg', 2), ('/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_49_4134.jpg', 2), ('/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_45_3373.jpg', 2), ('/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_42_4443.jpg', 2), ('/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_37_4307.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb3992ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb3992ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb3992ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:17:02.891513
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_57_3272.jpg', 2), ('/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_54_4342.jpg', 2), ('/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_49_4134.jpg', 2), ('/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_45_3373.jpg', 2), ('/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_42_4443.jpg', 2), ('/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_37_4307.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7a8bfef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7a8bfef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7a8bfef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:17:32.212540
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_57_4024.jpg', 2), ('/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_53_4047.jpg', 2), ('/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_49_3974.jpg', 2), ('/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_45_3982.jpg', 2), ('/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_41_3803.jpg', 2), ('/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_37_4115.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb20a4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb20a4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb20a4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:18:03.046657
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_57_4024.jpg', 2), ('/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_53_4047.jpg', 2), ('/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_49_3974.jpg', 2), ('/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_45_3982.jpg', 2), ('/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_41_3803.jpg', 2), ('/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_37_4115.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8cf00e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8cf00e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8cf00e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:18:32.312724
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_57_4089.jpg', 2), ('/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_53_4034.jpg', 2), ('/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_49_3955.jpg', 2), ('/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_45_4052.jpg', 2), ('/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_41_3258.jpg', 2), ('/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_38_4315.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa4601ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa4601ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa4601ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:19:03.378318
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_57_4089.jpg', 2), ('/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_53_4034.jpg', 2), ('/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_49_3955.jpg', 2), ('/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_45_4052.jpg', 2), ('/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_41_3258.jpg', 2), ('/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_38_4315.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f998b3e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f998b3e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f998b3e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:19:32.449354
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_57_4083.jpg', 2), ('/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_53_4057.jpg', 2), ('/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_49_3877.jpg', 2), ('/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_45_4194.jpg', 2), ('/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_41_4044.jpg', 2), ('/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_37_4149.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f853d3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f853d3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f853d3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:20:03.417208
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_57_4083.jpg', 2), ('/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_53_4057.jpg', 2), ('/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_49_3877.jpg', 2), ('/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_45_4194.jpg', 2), ('/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_41_4044.jpg', 2), ('/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_37_4149.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8d83eef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8d83eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8d83eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:20:32.564896
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_57_4288.jpg', 2), ('/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_53_3310.jpg', 2), ('/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_49_4301.jpg', 2), ('/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_45_4347.jpg', 2), ('/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_41_3415.jpg', 2), ('/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_37_4266.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fadce3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fadce3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fadce3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:21:03.417543
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_57_4288.jpg', 2), ('/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_53_3310.jpg', 2), ('/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_49_4301.jpg', 2), ('/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_45_4347.jpg', 2), ('/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_41_3415.jpg', 2), ('/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_37_4266.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9b1e6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9b1e6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9b1e6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:21:32.684746
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_57_3066.jpg', 2), ('/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_54_4234.jpg', 2), ('/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_49_4269.jpg', 2), ('/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_45_4248.jpg', 2), ('/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_41_4217.jpg', 2), ('/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_37_3184.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c36bef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c36bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c36bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:22:02.343972
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_57_3066.jpg', 2), ('/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_54_4234.jpg', 2), ('/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_49_4269.jpg', 2), ('/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_45_4248.jpg', 2), ('/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_41_4217.jpg', 2), ('/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_37_3184.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7a92aef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7a92aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7a92aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:22:31.779713
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_53_4300.jpg', 2), ('/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_49_3297.jpg', 2), ('/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_46_4008.jpg', 2), ('/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_42_4314.jpg', 2), ('/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_37_4367.jpg', 2), ('/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_33_3333.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8824aef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8824aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8824aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:23:02.531022
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_53_4300.jpg', 2), ('/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_49_3297.jpg', 2), ('/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_46_4008.jpg', 2), ('/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_42_4314.jpg', 2), ('/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_37_4367.jpg', 2), ('/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_33_3333.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f95e91ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f95e91ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f95e91ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:23:31.893159
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_53_4103.jpg', 2), ('/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_49_4055.jpg', 2), ('/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_45_4053.jpg', 2), ('/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_41_4239.jpg', 2), ('/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_37_4049.jpg', 2), ('/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_33_3217.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8b658ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8b658ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8b658ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:24:02.888327
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_53_4103.jpg', 2), ('/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_49_4055.jpg', 2), ('/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_45_4053.jpg', 2), ('/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_41_4239.jpg', 2), ('/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_37_4049.jpg', 2), ('/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_33_3217.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa1fd6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa1fd6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa1fd6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:24:31.976652
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_53_4034.jpg', 2), ('/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_49_4095.jpg', 2), ('/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_45_3996.jpg', 2), ('/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_41_4005.jpg', 2), ('/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_37_4068.jpg', 2), ('/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_33_4275.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f81e0eef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f81e0eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f81e0eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:25:02.775462
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_53_4034.jpg', 2), ('/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_49_4095.jpg', 2), ('/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_45_3996.jpg', 2), ('/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_41_4005.jpg', 2), ('/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_37_4068.jpg', 2), ('/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_33_4275.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8045e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8045e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8045e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:25:32.077431
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_57_4172.jpg', 2), ('/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_53_4185.jpg', 2), ('/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_49_4193.jpg', 2), ('/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_45_3078.jpg', 2), ('/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_42_4140.jpg', 2), ('/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_37_4062.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb15a8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb15a8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb15a8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:26:02.956373
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_57_4172.jpg', 2), ('/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_53_4185.jpg', 2), ('/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_49_4193.jpg', 2), ('/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_45_3078.jpg', 2), ('/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_42_4140.jpg', 2), ('/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_37_4062.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8395ce80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8395ce80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8395ce80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:26:32.202944
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_58_4136.jpg', 2), ('/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_53_4209.jpg', 2), ('/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_49_4160.jpg', 2), ('/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_45_4228.jpg', 2), ('/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_41_4108.jpg', 2), ('/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_37_3165.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa2b22ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa2b22ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa2b22ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:27:03.144097
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_14_4195.jpg', 2), ('/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_58_4136.jpg', 2), ('/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_53_4209.jpg', 2), ('/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_49_4160.jpg', 2), ('/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_45_4228.jpg', 2), ('/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_41_4108.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f94ce6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f94ce6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f94ce6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:27:32.291192
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_58_4303.jpg', 2), ('/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_53_3886.jpg', 2), ('/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_50_4364.jpg', 2), ('/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_45_4335.jpg', 2), ('/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_41_3207.jpg', 2), ('/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_38_4221.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9a266ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9a266ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9a266ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:28:02.939054
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_58_4303.jpg', 2), ('/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_53_3886.jpg', 2), ('/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_50_4364.jpg', 2), ('/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_45_4335.jpg', 2), ('/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_41_3207.jpg', 2), ('/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_38_4221.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fad689e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fad689e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fad689e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:28:32.473684
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_58_4288.jpg', 2), ('/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_53_4280.jpg', 2), ('/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_49_4307.jpg', 2), ('/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_45_3269.jpg', 2), ('/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_41_4272.jpg', 2), ('/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_37_4290.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f91cd0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f91cd0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f91cd0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:29:03.527321
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_58_4288.jpg', 2), ('/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_53_4280.jpg', 2), ('/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_49_4307.jpg', 2), ('/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_45_3269.jpg', 2), ('/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_41_4272.jpg', 2), ('/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_37_4290.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f98b94ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f98b94ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f98b94ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:29:32.604168
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_58_4312.jpg', 2), ('/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_53_4328.jpg', 2), ('/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_49_3341.jpg', 2), ('/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_46_4247.jpg', 2), ('/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_41_4341.jpg', 2), ('/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_37_4281.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f86a87e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f86a87e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f86a87e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:30:03.514855
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_58_4312.jpg', 2), ('/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_53_4328.jpg', 2), ('/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_49_3341.jpg', 2), ('/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_46_4247.jpg', 2), ('/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_41_4341.jpg', 2), ('/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_37_4281.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7d4faef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7d4faef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7d4faef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:30:32.720684
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_57_4186.jpg', 2), ('/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_53_4230.jpg', 2), ('/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_49_3204.jpg', 2), ('/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_46_4217.jpg', 2), ('/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_41_4245.jpg', 2), ('/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_37_4255.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f886fdef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f886fdef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f886fdef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:31:02.555934
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_57_4186.jpg', 2), ('/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_53_4230.jpg', 2), ('/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_49_3204.jpg', 2), ('/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_46_4217.jpg', 2), ('/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_41_4245.jpg', 2), ('/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_37_4255.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f992c8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f992c8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f992c8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:31:31.808428
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_57_4144.jpg', 2), ('/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_53_4114.jpg', 2), ('/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_49_3110.jpg', 2), ('/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_46_4103.jpg', 2), ('/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_42_4114.jpg', 2), ('/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_37_4166.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa1c79e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa1c79e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa1c79e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:32:02.628121
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_57_4144.jpg', 2), ('/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_53_4114.jpg', 2), ('/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_49_3110.jpg', 2), ('/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_46_4103.jpg', 2), ('/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_42_4114.jpg', 2), ('/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_37_4166.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f99e5bef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f99e5bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f99e5bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:32:31.919469
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_57_3415.jpg', 2), ('/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_53_4363.jpg', 2), ('/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_49_4140.jpg', 2), ('/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_45_4080.jpg', 2), ('/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_41_3051.jpg', 2), ('/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_38_4075.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa6c51e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa6c51e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa6c51e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:33:02.739237
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_41_4198.jpg', 2), ('/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_57_3415.jpg', 2), ('/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_53_4363.jpg', 2), ('/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_49_4140.jpg', 2), ('/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_45_4080.jpg', 2), ('/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_41_3051.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f996c0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f996c0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f996c0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:33:32.063401
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_58_4082.jpg', 2), ('/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_53_4036.jpg', 2), ('/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_49_4177.jpg', 2), ('/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_45_4163.jpg', 2), ('/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_41_4198.jpg', 2), ('/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_37_3198.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa91bcef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa91bcef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa91bcef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:34:03.045754
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_58_4082.jpg', 2), ('/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_53_4036.jpg', 2), ('/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_49_4177.jpg', 2), ('/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_45_4163.jpg', 2), ('/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_41_4198.jpg', 2), ('/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_37_3198.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f81214e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f81214e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f81214e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:34:32.188902
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_57_4054.jpg', 2), ('/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_53_3203.jpg', 2), ('/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_50_4234.jpg', 2), ('/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_45_4141.jpg', 2), ('/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_41_4290.jpg', 2), ('/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_37_3328.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f927f8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f927f8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f927f8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:35:03.219787
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_57_4054.jpg', 2), ('/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_53_3203.jpg', 2), ('/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_50_4234.jpg', 2), ('/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_45_4141.jpg', 2), ('/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_41_4290.jpg', 2), ('/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_37_3328.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa0d7cef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa0d7cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa0d7cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:35:32.268514
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_57_4188.jpg', 2), ('/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_53_3206.jpg', 2), ('/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_50_4181.jpg', 2), ('/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_45_4221.jpg', 2), ('/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_41_4353.jpg', 2), ('/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_37_3266.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f990e5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f990e5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f990e5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:36:03.045938
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_57_4188.jpg', 2), ('/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_53_3206.jpg', 2), ('/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_50_4181.jpg', 2), ('/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_45_4221.jpg', 2), ('/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_41_4353.jpg', 2), ('/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_37_3266.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f88151ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f88151ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f88151ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:36:32.385157
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_58_4205.jpg', 2), ('/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_53_4204.jpg', 2), ('/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_49_4133.jpg', 2), ('/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_45_4237.jpg', 2), ('/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_41_3231.jpg', 2), ('/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_38_4215.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f86071e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f86071e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f86071e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:37:03.358637
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_58_4205.jpg', 2), ('/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_53_4204.jpg', 2), ('/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_49_4133.jpg', 2), ('/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_45_4237.jpg', 2), ('/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_41_3231.jpg', 2), ('/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_38_4215.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f845d2ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f845d2ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f845d2ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:37:32.498525
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_57_4175.jpg', 2), ('/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_53_3168.jpg', 2), ('/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_50_4191.jpg', 2), ('/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_45_4234.jpg', 2), ('/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_41_4130.jpg', 2), ('/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_37_4191.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7d6dfef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7d6dfef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7d6dfef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:38:03.276052
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_57_4175.jpg', 2), ('/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_53_3168.jpg', 2), ('/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_50_4191.jpg', 2), ('/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_45_4234.jpg', 2), ('/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_41_4130.jpg', 2), ('/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_37_4191.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f81929ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f81929ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f81929ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:38:32.585091
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_57_4136.jpg', 2), ('/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_53_4118.jpg', 2), ('/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_49_4136.jpg', 2), ('/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_45_4134.jpg', 2), ('/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_41_3108.jpg', 2), ('/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_38_4153.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f895dcef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f895dcef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f895dcef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:39:03.673856
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_57_4136.jpg', 2), ('/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_53_4118.jpg', 2), ('/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_49_4136.jpg', 2), ('/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_45_4134.jpg', 2), ('/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_41_3108.jpg', 2), ('/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_38_4153.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f78bdcef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f78bdcef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f78bdcef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:39:32.721702
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_57_3193.jpg', 2), ('/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_54_3978.jpg', 2), ('/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_50_4098.jpg', 2), ('/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_46_4129.jpg', 2), ('/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_41_4148.jpg', 2), ('/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_37_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa47ffef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa47ffef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa47ffef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:40:02.656052
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_14_4294.jpg', 2), ('/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_57_3193.jpg', 2), ('/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_54_3978.jpg', 2), ('/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_50_4098.jpg', 2), ('/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_46_4129.jpg', 2), ('/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_41_4148.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9f437ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9f437ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9f437ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:40:31.836017
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_53_3941.jpg', 2), ('/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_49_4160.jpg', 2), ('/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_45_4128.jpg', 2), ('/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_41_4044.jpg', 2), ('/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_37_3166.jpg', 2), ('/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_34_4170.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f791f9ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f791f9ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f791f9ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:41:02.522077
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_53_3941.jpg', 2), ('/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_49_4160.jpg', 2), ('/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_45_4128.jpg', 2), ('/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_41_4044.jpg', 2), ('/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_37_3166.jpg', 2), ('/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_34_4170.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f96fcfe80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f96fcfe80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f96fcfe80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:41:31.948672
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_53_4173.jpg', 2), ('/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_49_4125.jpg', 2), ('/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_45_3023.jpg', 2), ('/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_42_4189.jpg', 2), ('/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_37_4188.jpg', 2), ('/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_33_3914.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fad411ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fad411ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fad411ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:42:02.749872
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_53_4173.jpg', 2), ('/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_49_4125.jpg', 2), ('/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_45_3023.jpg', 2), ('/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_42_4189.jpg', 2), ('/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_37_4188.jpg', 2), ('/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_33_3914.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f935f2ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f935f2ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f935f2ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:42:32.044952
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_57_4162.jpg', 2), ('/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_53_3201.jpg', 2), ('/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_50_4119.jpg', 2), ('/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_46_4119.jpg', 2), ('/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_41_4086.jpg', 2), ('/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_37_4206.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9bbb7ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9bbb7ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9bbb7ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:43:02.750343
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_57_4162.jpg', 2), ('/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_53_3201.jpg', 2), ('/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_50_4119.jpg', 2), ('/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_46_4119.jpg', 2), ('/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_41_4086.jpg', 2), ('/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_37_4206.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f86799ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f86799ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f86799ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:43:32.149958
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_57_4148.jpg', 2), ('/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_53_3212.jpg', 2), ('/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_49_4338.jpg', 2), ('/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_45_4181.jpg', 2), ('/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_41_4136.jpg', 2), ('/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_37_3189.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f93691ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f93691ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f93691ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:44:03.238867
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_57_4148.jpg', 2), ('/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_53_3212.jpg', 2), ('/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_49_4338.jpg', 2), ('/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_45_4181.jpg', 2), ('/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_41_4136.jpg', 2), ('/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_37_3189.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7f75def0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7f75def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7f75def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:44:32.306465
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/44/image_18032025_02_45_01_4287.jpg', 2), ('/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_54_4095.jpg', 2), ('/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_49_4319.jpg', 2), ('/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_45_4289.jpg', 2), ('/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_41_3956.jpg', 2), ('/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_37_3334.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8a39fef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8a39fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8a39fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:45:03.125355
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/44/image_18032025_02_45_01_4287.jpg', 2), ('/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_54_4095.jpg', 2), ('/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_49_4319.jpg', 2), ('/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_45_4289.jpg', 2), ('/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_41_3956.jpg', 2), ('/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_37_3334.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8910eef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8910eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8910eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:45:32.407966
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_57_4115.jpg', 2), ('/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_53_4143.jpg', 2), ('/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_49_3135.jpg', 2), ('/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_46_4125.jpg', 2), ('/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_42_4151.jpg', 2), ('/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_37_4180.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f78864ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f78864ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f78864ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:46:03.035465
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_57_4115.jpg', 2), ('/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_53_4143.jpg', 2), ('/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_49_3135.jpg', 2), ('/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_46_4125.jpg', 2), ('/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_42_4151.jpg', 2), ('/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_37_4180.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9f2dae80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9f2dae80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9f2dae80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:46:32.506419
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_58_4033.jpg', 2), ('/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_54_4304.jpg', 2), ('/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_49_4380.jpg', 2), ('/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_45_3795.jpg', 2), ('/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_41_4362.jpg', 2), ('/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_37_3788.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fab2a8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fab2a8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fab2a8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:47:03.235527
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_58_4033.jpg', 2), ('/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_54_4304.jpg', 2), ('/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_49_4380.jpg', 2), ('/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_45_3795.jpg', 2), ('/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_41_4362.jpg', 2), ('/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_37_3788.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9d615e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9d615e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9d615e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:47:32.622855
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_57_4064.jpg', 2), ('/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_53_4130.jpg', 2), ('/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_49_3149.jpg', 2), ('/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_46_4181.jpg', 2), ('/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_41_4169.jpg', 2), ('/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_37_4068.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa2b8bef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa2b8bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa2b8bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:48:03.465198
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_57_4064.jpg', 2), ('/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_53_4130.jpg', 2), ('/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_49_3149.jpg', 2), ('/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_46_4181.jpg', 2), ('/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_41_4169.jpg', 2), ('/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_37_4068.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f771e6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f771e6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f771e6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:48:32.820380
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_58_4309.jpg', 2), ('/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_53_4167.jpg', 2), ('/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_49_4257.jpg', 2), ('/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_45_3118.jpg', 2), ('/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_42_4171.jpg', 2), ('/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_38_4129.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8949ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8949ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8949ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:49:02.963575
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_58_4309.jpg', 2), ('/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_53_4167.jpg', 2), ('/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_49_4257.jpg', 2), ('/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_45_3118.jpg', 2), ('/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_42_4171.jpg', 2), ('/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_38_4129.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7a975ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7a975ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7a975ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:49:31.946895
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_53_4253.jpg', 2), ('/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_49_4128.jpg', 2), ('/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_45_4209.jpg', 2), ('/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_41_4156.jpg', 2), ('/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_37_3207.jpg', 2), ('/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_34_4216.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f95cf0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f95cf0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f95cf0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:50:02.720392
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_33_4193.jpg', 2), ('/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_53_4253.jpg', 2), ('/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_49_4128.jpg', 2), ('/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_45_4209.jpg', 2), ('/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_41_4156.jpg', 2), ('/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_37_3207.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8415cef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8415cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8415cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:50:32.023140
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_57_3370.jpg', 2), ('/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_54_4892.jpg', 2), ('/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_49_3112.jpg', 2), ('/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_46_4194.jpg', 2), ('/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_41_4160.jpg', 2), ('/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_37_4166.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9bb3cef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9bb3cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9bb3cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:51:02.862211
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_57_3370.jpg', 2), ('/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_54_4892.jpg', 2), ('/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_49_3112.jpg', 2), ('/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_46_4194.jpg', 2), ('/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_41_4160.jpg', 2), ('/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_37_4166.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7faf985ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faf985ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faf985ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:51:32.136836
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_54_4142.jpg', 2), ('/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_49_4246.jpg', 2), ('/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_45_4220.jpg', 2), ('/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_41_4114.jpg', 2), ('/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_37_3200.jpg', 2), ('/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_34_4193.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa7895ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa7895ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa7895ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:52:02.690117
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_54_4142.jpg', 2), ('/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_49_4246.jpg', 2), ('/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_45_4220.jpg', 2), ('/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_41_4114.jpg', 2), ('/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_37_3200.jpg', 2), ('/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_34_4193.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0454ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0454ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0454ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:52:32.230159
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_57_4268.jpg', 2), ('/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_53_3290.jpg', 2), ('/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_49_4250.jpg', 2), ('/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_45_4085.jpg', 2), ('/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_41_4077.jpg', 2), ('/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_37_4122.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ef71ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ef71ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ef71ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:53:03.058463
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_57_4268.jpg', 2), ('/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_53_3290.jpg', 2), ('/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_49_4250.jpg', 2), ('/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_45_4085.jpg', 2), ('/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_41_4077.jpg', 2), ('/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_37_4122.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fac1f2e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fac1f2e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fac1f2e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:53:32.344241
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_58_4063.jpg', 2), ('/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_54_4067.jpg', 2), ('/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_50_3966.jpg', 2), ('/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_46_3976.jpg', 2), ('/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_42_4189.jpg', 2), ('/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_37_4047.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7faf8e5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faf8e5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faf8e5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:54:03.194995
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_58_4063.jpg', 2), ('/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_54_4067.jpg', 2), ('/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_50_3966.jpg', 2), ('/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_46_3976.jpg', 2), ('/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_42_4189.jpg', 2), ('/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_37_4047.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f77d45ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f77d45ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f77d45ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:54:32.495893
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_57_4093.jpg', 2), ('/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_53_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_50_4130.jpg', 2), ('/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_45_4125.jpg', 2), ('/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_41_4356.jpg', 2), ('/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_37_4189.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8176ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8176ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8176ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:55:03.487950
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_57_4093.jpg', 2), ('/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_53_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_50_4130.jpg', 2), ('/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_45_4125.jpg', 2), ('/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_41_4356.jpg', 2), ('/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_37_4189.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7a01aef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7a01aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7a01aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:55:32.634838
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_57_4063.jpg', 2), ('/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_53_4160.jpg', 2), ('/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_49_4071.jpg', 2), ('/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_45_4113.jpg', 2), ('/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_41_3046.jpg', 2), ('/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_38_4687.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7bbb6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7bbb6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7bbb6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:56:03.347291
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_57_4063.jpg', 2), ('/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_53_4160.jpg', 2), ('/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_49_4071.jpg', 2), ('/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_45_4113.jpg', 2), ('/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_41_3046.jpg', 2), ('/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_38_4687.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb4f03ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb4f03ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb4f03ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:56:32.776672
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_57_4019.jpg', 2), ('/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_53_4092.jpg', 2), ('/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_49_4178.jpg', 2), ('/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_45_4155.jpg', 2), ('/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_41_3423.jpg', 2), ('/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_37_3960.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9f8b5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9f8b5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9f8b5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:57:02.487549
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_57_4019.jpg', 2), ('/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_53_4092.jpg', 2), ('/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_49_4178.jpg', 2), ('/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_45_4155.jpg', 2), ('/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_41_3423.jpg', 2), ('/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_37_3960.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb4216ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb4216ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb4216ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:57:31.905795
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_53_4088.jpg', 2), ('/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_49_4104.jpg', 2), ('/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_45_4018.jpg', 2), ('/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_41_3958.jpg', 2), ('/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_37_4213.jpg', 2), ('/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_33_4204.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f86f17ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f86f17ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f86f17ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:58:02.526053
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_53_4088.jpg', 2), ('/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_49_4104.jpg', 2), ('/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_45_4018.jpg', 2), ('/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_41_3958.jpg', 2), ('/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_37_4213.jpg', 2), ('/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_33_4204.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b3b5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b3b5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b3b5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:58:32.065985
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_53_3932.jpg', 2), ('/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_49_4215.jpg', 2), ('/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_45_3219.jpg', 2), ('/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_42_4291.jpg', 2), ('/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_37_4127.jpg', 2), ('/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_33_4043.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7a22eef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7a22eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7a22eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:59:03.032568
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_53_3932.jpg', 2), ('/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_49_4215.jpg', 2), ('/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_45_3219.jpg', 2), ('/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_42_4291.jpg', 2), ('/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_37_4127.jpg', 2), ('/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_33_4043.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7faa9ffef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faa9ffef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faa9ffef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 02:59:32.186698
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_58_4183.jpg', 2), ('/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_54_4214.jpg', 2), ('/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_49_4187.jpg', 2), ('/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_45_4268.jpg', 2), ('/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_41_3255.jpg', 2), ('/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_38_4283.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0f24ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0f24ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0f24ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:00:03.164199
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_01_3271.jpg', 2), ('/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_58_4183.jpg', 2), ('/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_54_4214.jpg', 2), ('/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_49_4187.jpg', 2), ('/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_45_4268.jpg', 2), ('/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_41_3255.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7da23ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7da23ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7da23ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:00:32.363553
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_01_3271.jpg', 2), ('/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_53_4399.jpg', 2), ('/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_49_3375.jpg', 2), ('/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_46_4020.jpg', 2), ('/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_42_3976.jpg', 2), ('/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_38_4063.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb4ec8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb4ec8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb4ec8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:01:03.130955
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_01_3271.jpg', 2), ('/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_53_4399.jpg', 2), ('/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_49_3375.jpg', 2), ('/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_46_4020.jpg', 2), ('/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_42_3976.jpg', 2), ('/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_38_4063.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa278ce80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa278ce80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa278ce80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:01:32.488376
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_57_4220.jpg', 2), ('/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_53_4214.jpg', 2), ('/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_49_4083.jpg', 2), ('/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_45_3158.jpg', 2), ('/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_42_4137.jpg', 2), ('/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_38_4144.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f80983ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f80983ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f80983ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:02:03.394440
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_57_4220.jpg', 2), ('/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_53_4214.jpg', 2), ('/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_49_4083.jpg', 2), ('/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_45_3158.jpg', 2), ('/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_42_4137.jpg', 2), ('/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_38_4144.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f94073ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f94073ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f94073ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:02:32.573474
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_57_4178.jpg', 2), ('/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_53_3756.jpg', 2), ('/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_49_4111.jpg', 2), ('/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_45_4072.jpg', 2), ('/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_41_4050.jpg', 2), ('/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_37_4155.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f937cdef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f937cdef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f937cdef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:03:03.200229
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_57_4178.jpg', 2), ('/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_53_3756.jpg', 2), ('/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_49_4111.jpg', 2), ('/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_45_4072.jpg', 2), ('/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_41_4050.jpg', 2), ('/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_37_4155.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8533eef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8533eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8533eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:03:32.721636
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_58_4218.jpg', 2), ('/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_53_4226.jpg', 2), ('/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_49_4260.jpg', 2), ('/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_45_4107.jpg', 2), ('/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_41_3183.jpg', 2), ('/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_38_4070.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fadd13e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fadd13e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fadd13e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:04:02.578796
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_58_4218.jpg', 2), ('/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_53_4226.jpg', 2), ('/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_49_4260.jpg', 2), ('/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_45_4107.jpg', 2), ('/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_41_3183.jpg', 2), ('/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_38_4070.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb4fe3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb4fe3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb4fe3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:04:31.822929
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_57_4177.jpg', 2), ('/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_53_4166.jpg', 2), ('/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_49_3956.jpg', 2), ('/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_45_4033.jpg', 2), ('/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_41_4111.jpg', 2), ('/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_37_4155.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7f9e8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7f9e8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7f9e8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:05:02.693465
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_57_4177.jpg', 2), ('/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_53_4166.jpg', 2), ('/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_49_3956.jpg', 2), ('/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_45_4033.jpg', 2), ('/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_41_4111.jpg', 2), ('/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_37_4155.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa6172e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa6172e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa6172e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:05:31.921767
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_57_4223.jpg', 2), ('/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_53_3185.jpg', 2), ('/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_50_4196.jpg', 2), ('/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_45_4165.jpg', 2), ('/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_41_4171.jpg', 2), ('/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_37_4085.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8fcdbef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8fcdbef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8fcdbef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:06:02.778586
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_57_4223.jpg', 2), ('/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_53_3185.jpg', 2), ('/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_50_4196.jpg', 2), ('/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_45_4165.jpg', 2), ('/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_41_4171.jpg', 2), ('/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_37_4085.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f84f0bef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f84f0bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f84f0bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:06:32.048866
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_57_4046.jpg', 2), ('/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_53_4077.jpg', 2), ('/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_49_4193.jpg', 2), ('/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_45_4104.jpg', 2), ('/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_41_4095.jpg', 2), ('/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_37_4087.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f98f45ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f98f45ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f98f45ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:07:02.725833
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_57_4046.jpg', 2), ('/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_53_4077.jpg', 2), ('/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_49_4193.jpg', 2), ('/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_45_4104.jpg', 2), ('/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_41_4095.jpg', 2), ('/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_37_4087.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8962fef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8962fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8962fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:07:32.125277
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_53_4025.jpg', 2), ('/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_49_4017.jpg', 2), ('/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_45_4017.jpg', 2), ('/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_41_4204.jpg', 2), ('/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_37_4199.jpg', 2), ('/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_33_4164.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0830ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0830ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0830ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:08:02.936275
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_53_4025.jpg', 2), ('/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_49_4017.jpg', 2), ('/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_45_4017.jpg', 2), ('/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_41_4204.jpg', 2), ('/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_37_4199.jpg', 2), ('/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_33_4164.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f886f0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f886f0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f886f0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:08:32.220868
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_53_3305.jpg', 2), ('/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_50_4014.jpg', 2), ('/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_46_4264.jpg', 2), ('/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_41_4253.jpg', 2), ('/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_37_4210.jpg', 2), ('/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_33_3138.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0f7fef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0f7fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0f7fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:09:03.302082
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_53_3305.jpg', 2), ('/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_50_4014.jpg', 2), ('/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_46_4264.jpg', 2), ('/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_41_4253.jpg', 2), ('/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_37_4210.jpg', 2), ('/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_33_3138.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8cd9aef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8cd9aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8cd9aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:09:32.337874
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_57_4039.jpg', 2), ('/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_53_4101.jpg', 2), ('/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_49_3911.jpg', 2), ('/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_45_4031.jpg', 2), ('/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_41_3987.jpg', 2), ('/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_37_3997.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c7dbef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c7dbef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c7dbef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:10:03.009518
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_57_4039.jpg', 2), ('/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_53_4101.jpg', 2), ('/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_49_3911.jpg', 2), ('/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_45_4031.jpg', 2), ('/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_41_3987.jpg', 2), ('/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_37_3997.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f85e99ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f85e99ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f85e99ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:10:32.407789
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_57_4149.jpg', 2), ('/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_53_4028.jpg', 2), ('/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_49_4222.jpg', 2), ('/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_45_3934.jpg', 2), ('/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_41_4189.jpg', 2), ('/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_37_3238.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa4785ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa4785ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa4785ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:11:03.380664
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_57_4149.jpg', 2), ('/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_53_4028.jpg', 2), ('/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_49_4222.jpg', 2), ('/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_45_3934.jpg', 2), ('/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_41_4189.jpg', 2), ('/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_37_3238.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb50b6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb50b6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb50b6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:11:32.509594
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_57_4136.jpg', 2), ('/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_53_4144.jpg', 2), ('/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_49_3982.jpg', 2), ('/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_45_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_41_4172.jpg', 2), ('/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_37_3269.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8de9cef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8de9cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8de9cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:12:03.356158
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_13_4005.jpg', 2), ('/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_57_4136.jpg', 2), ('/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_53_4144.jpg', 2), ('/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_49_3982.jpg', 2), ('/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_45_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_41_4172.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7e095ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7e095ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7e095ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:12:32.634602
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_57_4246.jpg', 2), ('/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_53_4116.jpg', 2), ('/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_49_3129.jpg', 2), ('/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_46_4143.jpg', 2), ('/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_41_4062.jpg', 2), ('/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_37_4147.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f80372ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f80372ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f80372ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:13:03.525206
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_57_4246.jpg', 2), ('/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_53_4116.jpg', 2), ('/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_49_3129.jpg', 2), ('/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_46_4143.jpg', 2), ('/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_41_4062.jpg', 2), ('/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_37_4147.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f91aecef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f91aecef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f91aecef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:13:32.745890
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_57_4288.jpg', 2), ('/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_53_3788.jpg', 2), ('/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_49_4245.jpg', 2), ('/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_45_3172.jpg', 2), ('/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_42_4091.jpg', 2), ('/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_38_4035.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa49baef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa49baef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa49baef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:14:02.924199
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_57_4288.jpg', 2), ('/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_53_3788.jpg', 2), ('/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_49_4245.jpg', 2), ('/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_45_3172.jpg', 2), ('/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_42_4091.jpg', 2), ('/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_38_4035.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0918ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0918ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0918ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:14:31.913293
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_58_4225.jpg', 2), ('/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_53_4208.jpg', 2), ('/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_49_4231.jpg', 2), ('/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_45_4157.jpg', 2), ('/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_41_4113.jpg', 2), ('/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_37_3206.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8fbeaef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8fbeaef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8fbeaef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:15:02.724689
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_58_4225.jpg', 2), ('/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_53_4208.jpg', 2), ('/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_49_4231.jpg', 2), ('/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_45_4157.jpg', 2), ('/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_41_4113.jpg', 2), ('/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_37_3206.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb4fb0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb4fb0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb4fb0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:15:32.015477
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_54_4124.jpg', 2), ('/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_49_4120.jpg', 2), ('/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_45_4140.jpg', 2), ('/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_41_4095.jpg', 2), ('/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_37_4262.jpg', 2), ('/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_33_3252.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7a49bef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7a49bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7a49bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:16:02.700618
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_54_4124.jpg', 2), ('/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_49_4120.jpg', 2), ('/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_45_4140.jpg', 2), ('/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_41_4095.jpg', 2), ('/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_37_4262.jpg', 2), ('/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_33_3252.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8912bef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8912bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8912bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:16:32.104243
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_57_3311.jpg', 2), ('/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_54_4357.jpg', 2), ('/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_49_4335.jpg', 2), ('/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_45_4219.jpg', 2), ('/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_41_3272.jpg', 2), ('/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_38_4286.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa25a9ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa25a9ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa25a9ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:17:02.558035
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_57_3311.jpg', 2), ('/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_54_4357.jpg', 2), ('/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_49_4335.jpg', 2), ('/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_45_4219.jpg', 2), ('/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_41_3272.jpg', 2), ('/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_38_4286.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8335ee80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8335ee80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8335ee80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:17:32.230651
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_57_4054.jpg', 2), ('/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_53_4114.jpg', 2), ('/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_49_4092.jpg', 2), ('/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_45_4069.jpg', 2), ('/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_41_4135.jpg', 2), ('/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_37_4026.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7faab74e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faab74e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faab74e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:18:03.160794
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_57_4054.jpg', 2), ('/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_53_4114.jpg', 2), ('/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_49_4092.jpg', 2), ('/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_45_4069.jpg', 2), ('/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_41_4135.jpg', 2), ('/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_37_4026.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb5384ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb5384ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb5384ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:18:32.411291
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_57_3311.jpg', 2), ('/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_53_4382.jpg', 2), ('/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_49_4247.jpg', 2), ('/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_45_3233.jpg', 2), ('/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_42_4197.jpg', 2), ('/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_37_3972.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8398ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8398ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8398ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:19:03.568035
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_57_3311.jpg', 2), ('/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_53_4382.jpg', 2), ('/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_49_4247.jpg', 2), ('/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_45_3233.jpg', 2), ('/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_42_4197.jpg', 2), ('/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_37_3972.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb218aef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb218aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb218aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:19:32.533767
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_57_4158.jpg', 2), ('/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_53_4131.jpg', 2), ('/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_49_3964.jpg', 2), ('/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_45_3251.jpg', 2), ('/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_42_4216.jpg', 2), ('/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_37_4181.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f97ddfef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f97ddfef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f97ddfef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:20:03.369044
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_57_4158.jpg', 2), ('/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_53_4131.jpg', 2), ('/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_49_3964.jpg', 2), ('/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_45_3251.jpg', 2), ('/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_42_4216.jpg', 2), ('/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_37_4181.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f82936ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f82936ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f82936ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:20:32.657448
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_57_3124.jpg', 2), ('/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_54_4085.jpg', 2), ('/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_50_4140.jpg', 2), ('/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_45_4028.jpg', 2), ('/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_41_4200.jpg', 2), ('/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_37_4221.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f86369ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f86369ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f86369ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:21:02.292673
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_57_3124.jpg', 2), ('/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_54_4085.jpg', 2), ('/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_50_4140.jpg', 2), ('/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_45_4028.jpg', 2), ('/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_41_4200.jpg', 2), ('/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_37_4221.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa5189ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa5189ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa5189ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:21:31.772517
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_53_3977.jpg', 2), ('/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_49_4121.jpg', 2), ('/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_45_3954.jpg', 2), ('/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_41_4119.jpg', 2), ('/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_37_4054.jpg', 2), ('/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_33_4015.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8a625ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8a625ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8a625ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:22:02.438746
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_53_3977.jpg', 2), ('/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_49_4121.jpg', 2), ('/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_45_3954.jpg', 2), ('/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_41_4119.jpg', 2), ('/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_37_4054.jpg', 2), ('/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_33_4015.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c77fef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c77fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c77fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:22:32.008184
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_57_3179.jpg', 2), ('/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_54_4244.jpg', 2), ('/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_49_4254.jpg', 2), ('/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_45_4266.jpg', 2), ('/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_41_3340.jpg', 2), ('/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_38_4437.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f92c11ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f92c11ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f92c11ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:23:02.657479
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_57_3179.jpg', 2), ('/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_54_4244.jpg', 2), ('/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_49_4254.jpg', 2), ('/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_45_4266.jpg', 2), ('/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_41_3340.jpg', 2), ('/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_38_4437.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f91c95ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f91c95ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f91c95ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:23:32.098975
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_57_4187.jpg', 2), ('/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_53_4049.jpg', 2), ('/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_49_4035.jpg', 2), ('/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_45_4145.jpg', 2), ('/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_41_3172.jpg', 2), ('/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_38_4124.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa4040ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa4040ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa4040ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:24:03.202785
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_57_4187.jpg', 2), ('/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_53_4049.jpg', 2), ('/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_49_4035.jpg', 2), ('/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_45_4145.jpg', 2), ('/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_41_3172.jpg', 2), ('/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_38_4124.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f94aecef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f94aecef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f94aecef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:24:32.206934
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_57_4222.jpg', 2), ('/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_53_4185.jpg', 2), ('/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_49_4318.jpg', 2), ('/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_45_3254.jpg', 2), ('/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_41_3824.jpg', 2), ('/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_38_4373.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7e15cef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7e15cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7e15cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:25:02.635809
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_57_4222.jpg', 2), ('/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_53_4185.jpg', 2), ('/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_49_4318.jpg', 2), ('/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_45_3254.jpg', 2), ('/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_41_3824.jpg', 2), ('/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_38_4373.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa4c54ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa4c54ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa4c54ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:25:32.316763
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_58_4173.jpg', 2), ('/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_53_4143.jpg', 2), ('/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_49_4152.jpg', 2), ('/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_45_4185.jpg', 2), ('/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_41_4123.jpg', 2), ('/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_37_4107.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0365e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0365e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0365e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:26:03.158119
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_58_4173.jpg', 2), ('/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_53_4143.jpg', 2), ('/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_49_4152.jpg', 2), ('/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_45_4185.jpg', 2), ('/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_41_4123.jpg', 2), ('/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_37_4107.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7a3a3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7a3a3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7a3a3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:26:32.424967
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_57_3360.jpg', 2), ('/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_53_4280.jpg', 2), ('/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_49_4388.jpg', 2), ('/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_45_3424.jpg', 2), ('/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_41_4199.jpg', 2), ('/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_37_4260.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8bf93ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8bf93ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8bf93ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:27:03.137697
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_57_3360.jpg', 2), ('/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_53_4280.jpg', 2), ('/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_49_4388.jpg', 2), ('/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_45_3424.jpg', 2), ('/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_41_4199.jpg', 2), ('/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_37_4260.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8a7b3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8a7b3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8a7b3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:27:32.520013
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_57_4227.jpg', 2), ('/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_53_4203.jpg', 2), ('/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_49_4240.jpg', 2), ('/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_45_3221.jpg', 2), ('/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_42_4047.jpg', 2), ('/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_37_4124.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7c389ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7c389ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7c389ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:28:03.424005
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_57_4227.jpg', 2), ('/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_53_4203.jpg', 2), ('/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_49_4240.jpg', 2), ('/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_45_3221.jpg', 2), ('/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_42_4047.jpg', 2), ('/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_37_4124.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9abb8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9abb8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9abb8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:28:32.627135
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_58_4030.jpg', 2), ('/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_54_4258.jpg', 2), ('/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_49_4196.jpg', 2), ('/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_45_4187.jpg', 2), ('/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_41_4119.jpg', 2), ('/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_37_3213.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7db53ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7db53ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7db53ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:29:03.686812
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_57_4081.jpg', 2), ('/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_58_4030.jpg', 2), ('/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_54_4258.jpg', 2), ('/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_49_4196.jpg', 2), ('/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_45_4187.jpg', 2), ('/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_41_4119.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8833aef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8833aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8833aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:29:32.795977
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_57_4081.jpg', 2), ('/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_53_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_49_4019.jpg', 2), ('/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_45_4262.jpg', 2), ('/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_41_3248.jpg', 2), ('/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_37_4298.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f87690ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f87690ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f87690ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:30:02.690468
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_57_4081.jpg', 2), ('/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_53_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_49_4019.jpg', 2), ('/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_45_4262.jpg', 2), ('/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_41_3248.jpg', 2), ('/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_37_4298.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb38b2ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb38b2ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb38b2ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:30:31.903880
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_53_4128.jpg', 2), ('/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_49_4017.jpg', 2), ('/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_45_3074.jpg', 2), ('/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_42_4182.jpg', 2), ('/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_37_3895.jpg', 2), ('/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_34_4190.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa6346e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa6346e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa6346e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:31:02.643496
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_53_4128.jpg', 2), ('/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_49_4017.jpg', 2), ('/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_45_3074.jpg', 2), ('/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_42_4182.jpg', 2), ('/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_37_3895.jpg', 2), ('/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_34_4190.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f88108ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f88108ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f88108ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:31:32.047335
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_57_4178.jpg', 2), ('/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_53_4130.jpg', 2), ('/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_49_4187.jpg', 2), ('/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_45_4148.jpg', 2), ('/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_41_3129.jpg', 2), ('/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_38_4299.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f85d86ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f85d86ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f85d86ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:32:02.958206
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_57_4178.jpg', 2), ('/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_53_4130.jpg', 2), ('/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_49_4187.jpg', 2), ('/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_45_4148.jpg', 2), ('/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_41_3129.jpg', 2), ('/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_38_4299.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f922e6e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f922e6e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f922e6e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:32:32.149748
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_58_4063.jpg', 2), ('/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_54_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_50_4076.jpg', 2), ('/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_45_4085.jpg', 2), ('/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_41_4023.jpg', 2), ('/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_37_4018.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c90bef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c90bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c90bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:33:03.063652
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_58_4063.jpg', 2), ('/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_54_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_50_4076.jpg', 2), ('/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_45_4085.jpg', 2), ('/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_41_4023.jpg', 2), ('/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_37_4018.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa724ee80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa724ee80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa724ee80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:33:32.270796
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_57_4310.jpg', 2), ('/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_53_3247.jpg', 2), ('/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_50_4209.jpg', 2), ('/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_45_4266.jpg', 2), ('/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_41_4285.jpg', 2), ('/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_37_3293.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f87ccbef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f87ccbef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f87ccbef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:34:03.261972
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_57_4310.jpg', 2), ('/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_53_3247.jpg', 2), ('/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_50_4209.jpg', 2), ('/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_45_4266.jpg', 2), ('/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_41_4285.jpg', 2), ('/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_37_3293.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8b0bfef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8b0bfef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8b0bfef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:34:32.370669
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_57_4102.jpg', 2), ('/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_53_3091.jpg', 2), ('/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_50_4109.jpg', 2), ('/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_46_4098.jpg', 2), ('/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_41_4044.jpg', 2), ('/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_37_4059.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9bcefef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9bcefef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9bcefef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:35:03.208343
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_33_4109.jpg', 2), ('/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_57_4102.jpg', 2), ('/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_53_3091.jpg', 2), ('/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_50_4109.jpg', 2), ('/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_46_4098.jpg', 2), ('/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_41_4044.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9208fe80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9208fe80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9208fe80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:35:32.507399
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_58_4745.jpg', 2), ('/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_53_4117.jpg', 2), ('/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_49_3121.jpg', 2), ('/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_46_4112.jpg', 2), ('/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_41_4114.jpg', 2), ('/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_37_4109.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b98bef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b98bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b98bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:36:03.292396
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_58_4745.jpg', 2), ('/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_53_4117.jpg', 2), ('/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_49_3121.jpg', 2), ('/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_46_4112.jpg', 2), ('/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_41_4114.jpg', 2), ('/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_37_4109.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9626ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9626ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9626ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:36:32.579639
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_57_4214.jpg', 2), ('/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_53_4066.jpg', 2), ('/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_49_3260.jpg', 2), ('/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_46_4247.jpg', 2), ('/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_41_4257.jpg', 2), ('/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_37_4271.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7fe16ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7fe16ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7fe16ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:37:03.406763
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_57_4214.jpg', 2), ('/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_53_4066.jpg', 2), ('/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_49_3260.jpg', 2), ('/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_46_4247.jpg', 2), ('/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_41_4257.jpg', 2), ('/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_37_4271.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f84fecef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f84fecef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f84fecef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:37:32.680969
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_57_4304.jpg', 2), ('/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_53_3431.jpg', 2), ('/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_50_4283.jpg', 2), ('/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_45_4162.jpg', 2), ('/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_41_4177.jpg', 2), ('/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_37_4153.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f90e74ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f90e74ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f90e74ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:38:02.337251
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_57_4304.jpg', 2), ('/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_53_3431.jpg', 2), ('/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_50_4283.jpg', 2), ('/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_45_4162.jpg', 2), ('/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_41_4177.jpg', 2), ('/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_37_4153.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ee60ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ee60ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ee60ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:38:31.793271
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_53_4194.jpg', 2), ('/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_49_3276.jpg', 2), ('/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_45_4258.jpg', 2), ('/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_41_4127.jpg', 2), ('/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_37_4302.jpg', 2), ('/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_33_3290.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9f90ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9f90ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9f90ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:39:02.638942
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_53_4194.jpg', 2), ('/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_49_3276.jpg', 2), ('/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_45_4258.jpg', 2), ('/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_41_4127.jpg', 2), ('/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_37_4302.jpg', 2), ('/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_33_3290.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9e8abef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9e8abef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9e8abef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:39:31.912288
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_57_4183.jpg', 2), ('/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_53_4141.jpg', 2), ('/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_49_3125.jpg', 2), ('/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_46_4152.jpg', 2), ('/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_41_3931.jpg', 2), ('/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_37_4261.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b7ebef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b7ebef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b7ebef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:40:02.800894
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_57_4183.jpg', 2), ('/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_53_4141.jpg', 2), ('/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_49_3125.jpg', 2), ('/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_46_4152.jpg', 2), ('/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_41_3931.jpg', 2), ('/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_37_4261.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8d41def0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8d41def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8d41def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:40:32.000773
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_57_4033.jpg', 2), ('/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_53_4106.jpg', 2), ('/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_49_3119.jpg', 2), ('/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_46_4215.jpg', 2), ('/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_41_4318.jpg', 2), ('/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_37_4089.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9501cef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9501cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9501cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:41:02.866094
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_05_4474.jpg', 2), ('/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_57_4033.jpg', 2), ('/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_53_4106.jpg', 2), ('/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_49_3119.jpg', 2), ('/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_46_4215.jpg', 2), ('/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_41_4318.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f96af3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f96af3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f96af3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:41:32.104084
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_58_4337.jpg', 2), ('/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_53_3847.jpg', 2), ('/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_49_4302.jpg', 2), ('/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_45_4286.jpg', 2), ('/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_41_4161.jpg', 2), ('/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_37_3111.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9daa9ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9daa9ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9daa9ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:42:02.960368
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_58_4337.jpg', 2), ('/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_53_3847.jpg', 2), ('/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_49_4302.jpg', 2), ('/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_45_4286.jpg', 2), ('/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_41_4161.jpg', 2), ('/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_37_3111.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f91d53ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f91d53ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f91d53ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:42:32.215726
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_57_4107.jpg', 2), ('/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_53_3100.jpg', 2), ('/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_50_4101.jpg', 2), ('/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_45_4098.jpg', 2), ('/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_41_4047.jpg', 2), ('/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_37_4091.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7ba0ee80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7ba0ee80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7ba0ee80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:43:03.245070
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_57_4107.jpg', 2), ('/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_53_3100.jpg', 2), ('/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_50_4101.jpg', 2), ('/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_45_4098.jpg', 2), ('/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_41_4047.jpg', 2), ('/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_37_4091.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f89e65e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f89e65e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f89e65e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:43:32.317938
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_57_4116.jpg', 2), ('/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_53_3363.jpg', 2), ('/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_49_3955.jpg', 2), ('/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_45_4157.jpg', 2), ('/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_41_4238.jpg', 2), ('/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_37_4192.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb621fef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb621fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb621fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:44:03.450383
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_57_4116.jpg', 2), ('/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_53_3363.jpg', 2), ('/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_49_3955.jpg', 2), ('/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_45_4157.jpg', 2), ('/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_41_4238.jpg', 2), ('/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_37_4192.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb2947ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb2947ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb2947ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:44:32.452281
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_57_4147.jpg', 2), ('/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_53_3847.jpg', 2), ('/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_49_4103.jpg', 2), ('/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_45_4119.jpg', 2), ('/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_41_3053.jpg', 2), ('/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_38_4053.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f91c88ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f91c88ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f91c88ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:45:03.296854
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_57_4147.jpg', 2), ('/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_53_3847.jpg', 2), ('/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_49_4103.jpg', 2), ('/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_45_4119.jpg', 2), ('/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_41_3053.jpg', 2), ('/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_38_4053.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c692ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c692ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c692ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:45:32.559690
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_57_4130.jpg', 2), ('/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_53_3935.jpg', 2), ('/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_49_4012.jpg', 2), ('/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_45_4099.jpg', 2), ('/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_41_4064.jpg', 2), ('/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_37_3040.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9a0a6e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9a0a6e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9a0a6e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:46:03.499232
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_57_4130.jpg', 2), ('/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_53_3935.jpg', 2), ('/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_49_4012.jpg', 2), ('/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_45_4099.jpg', 2), ('/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_41_4064.jpg', 2), ('/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_37_3040.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8bdc0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8bdc0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8bdc0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:46:32.669937
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_57_4136.jpg', 2), ('/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_53_3259.jpg', 2), ('/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_50_4257.jpg', 2), ('/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_45_4079.jpg', 2), ('/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_41_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_37_4163.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9356ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9356ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9356ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:47:02.457205
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_41_3953.jpg', 2), ('/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_57_4136.jpg', 2), ('/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_53_3259.jpg', 2), ('/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_50_4257.jpg', 2), ('/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_45_4079.jpg', 2), ('/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_41_4146.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9a463ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9a463ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9a463ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:47:31.776638
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_53_3964.jpg', 2), ('/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_49_4089.jpg', 2), ('/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_45_4185.jpg', 2), ('/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_41_3953.jpg', 2), ('/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_37_3938.jpg', 2), ('/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_33_3937.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9513fef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9513fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9513fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:48:02.737839
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_53_3964.jpg', 2), ('/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_49_4089.jpg', 2), ('/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_45_4185.jpg', 2), ('/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_41_3953.jpg', 2), ('/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_37_3938.jpg', 2), ('/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_33_3937.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f892afef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f892afef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f892afef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:48:31.872235
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_57_3232.jpg', 2), ('/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_54_4224.jpg', 2), ('/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_49_4102.jpg', 2), ('/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_45_4236.jpg', 2), ('/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_41_4237.jpg', 2), ('/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_37_3168.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa03a1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa03a1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa03a1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:49:03.110202
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_57_3232.jpg', 2), ('/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_54_4224.jpg', 2), ('/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_49_4102.jpg', 2), ('/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_45_4236.jpg', 2), ('/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_41_4237.jpg', 2), ('/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_37_3168.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8cda6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8cda6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8cda6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:49:32.005235
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_57_4141.jpg', 2), ('/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_53_4143.jpg', 2), ('/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_49_3100.jpg', 2), ('/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_46_4176.jpg', 2), ('/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_41_4199.jpg', 2), ('/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_37_4230.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa130cef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa130cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa130cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:50:02.948281
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_57_4141.jpg', 2), ('/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_53_4143.jpg', 2), ('/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_49_3100.jpg', 2), ('/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_46_4176.jpg', 2), ('/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_41_4199.jpg', 2), ('/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_37_4230.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c953ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c953ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c953ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:50:32.150639
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_58_4232.jpg', 2), ('/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_53_4451.jpg', 2), ('/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_49_4132.jpg', 2), ('/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_45_3191.jpg', 2), ('/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_42_4231.jpg', 2), ('/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_37_4173.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f981fbe80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f981fbe80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f981fbe80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:51:03.083037
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_58_4232.jpg', 2), ('/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_53_4451.jpg', 2), ('/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_49_4132.jpg', 2), ('/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_45_3191.jpg', 2), ('/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_42_4231.jpg', 2), ('/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_37_4173.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9326cef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9326cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9326cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:51:32.279599
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_58_3962.jpg', 2), ('/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_54_4833.jpg', 2), ('/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_49_3973.jpg', 2), ('/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_45_4122.jpg', 2), ('/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_41_4069.jpg', 2), ('/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_37_3139.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f992e8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f992e8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f992e8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:52:03.069225
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_58_3962.jpg', 2), ('/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_54_4833.jpg', 2), ('/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_49_3973.jpg', 2), ('/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_45_4122.jpg', 2), ('/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_41_4069.jpg', 2), ('/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_37_3139.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f869f1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f869f1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f869f1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:52:32.399797
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_57_4060.jpg', 2), ('/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_53_3982.jpg', 2), ('/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_49_4180.jpg', 2), ('/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_45_4170.jpg', 2), ('/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_41_3336.jpg', 2), ('/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_37_4100.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8bc0def0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8bc0def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8bc0def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:53:03.470904
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_17_4046.jpg', 2), ('/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_57_4060.jpg', 2), ('/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_53_3982.jpg', 2), ('/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_49_4180.jpg', 2), ('/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_45_4170.jpg', 2), ('/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_41_3336.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f85c59ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f85c59ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f85c59ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:53:32.508772
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_57_4061.jpg', 2), ('/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_53_4203.jpg', 2), ('/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_49_3160.jpg', 2), ('/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_46_4113.jpg', 2), ('/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_42_4013.jpg', 2), ('/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_38_4133.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f99b57e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f99b57e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f99b57e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:54:03.668150
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_57_4061.jpg', 2), ('/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_53_4203.jpg', 2), ('/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_49_3160.jpg', 2), ('/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_46_4113.jpg', 2), ('/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_42_4013.jpg', 2), ('/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_38_4133.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f77863ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f77863ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f77863ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:54:32.621872
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_57_4205.jpg', 2), ('/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_53_4163.jpg', 2), ('/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_49_3166.jpg', 2), ('/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_46_3995.jpg', 2), ('/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_42_4253.jpg', 2), ('/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_37_4098.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9b2ceef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9b2ceef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9b2ceef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:55:03.534811
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_57_4205.jpg', 2), ('/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_53_4163.jpg', 2), ('/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_49_3166.jpg', 2), ('/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_46_3995.jpg', 2), ('/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_42_4253.jpg', 2), ('/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_37_4098.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa39dcef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa39dcef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa39dcef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:55:32.711902
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_57_4138.jpg', 2), ('/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_53_4150.jpg', 2), ('/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_49_3097.jpg', 2), ('/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_46_4085.jpg', 2), ('/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_42_4102.jpg', 2), ('/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_37_4174.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa0af6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa0af6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa0af6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:56:02.422807
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_57_4138.jpg', 2), ('/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_53_4150.jpg', 2), ('/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_49_3097.jpg', 2), ('/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_46_4085.jpg', 2), ('/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_42_4102.jpg', 2), ('/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_37_4174.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb63b4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb63b4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb63b4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:56:31.806561
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_53_3277.jpg', 2), ('/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_50_4321.jpg', 2), ('/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_45_4357.jpg', 2), ('/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_41_3418.jpg', 2), ('/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_37_4419.jpg', 2), ('/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_33_4304.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f86258e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f86258e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f86258e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:57:02.460584
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_53_3277.jpg', 2), ('/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_50_4321.jpg', 2), ('/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_45_4357.jpg', 2), ('/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_41_3418.jpg', 2), ('/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_37_4419.jpg', 2), ('/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_33_4304.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f95f23ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f95f23ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f95f23ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:57:31.921735
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_57_4093.jpg', 2), ('/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_53_4172.jpg', 2), ('/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_49_3729.jpg', 2), ('/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_45_4113.jpg', 2), ('/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_41_4132.jpg', 2), ('/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_37_4075.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8e3a1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8e3a1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8e3a1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:59:03.761085
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_01_3206.jpg', 2), ('/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_53_4400.jpg', 2), ('/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_49_3801.jpg', 2), ('/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_45_3778.jpg', 2), ('/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_41_4128.jpg', 2), ('/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_37_4262.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fafd7ce80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fafd7ce80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fafd7ce80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 03:59:32.701324
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_57_4011.jpg', 2), ('/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_53_4150.jpg', 2), ('/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_49_4131.jpg', 2), ('/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_45_4132.jpg', 2), ('/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_41_4151.jpg', 2), ('/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_37_4137.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb3628ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb3628ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb3628ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:00:02.455397
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_57_4011.jpg', 2), ('/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_53_4150.jpg', 2), ('/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_49_4131.jpg', 2), ('/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_45_4132.jpg', 2), ('/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_41_4151.jpg', 2), ('/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_37_4137.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb5154ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb5154ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb5154ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:00:31.792453
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/59/image_18032025_04_00_01_3874.jpg', 2), ('/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_57_4011.jpg', 2), ('/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_53_4150.jpg', 2), ('/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_49_4131.jpg', 2), ('/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_45_4132.jpg', 2), ('/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_41_4151.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f89c53ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f89c53ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f89c53ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:01:02.622367
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/59/image_18032025_04_00_01_3874.jpg', 2), ('/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_57_4011.jpg', 2), ('/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_53_4150.jpg', 2), ('/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_49_4131.jpg', 2), ('/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_45_4132.jpg', 2), ('/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_41_4151.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f90766ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f90766ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f90766ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:01:31.960087
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_53_4133.jpg', 2), ('/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_49_3113.jpg', 2), ('/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_46_4026.jpg', 2), ('/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_42_4181.jpg', 2), ('/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_37_4073.jpg', 2), ('/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_33_4149.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9a83ee80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9a83ee80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9a83ee80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:02:02.806015
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_53_4133.jpg', 2), ('/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_49_3113.jpg', 2), ('/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_46_4026.jpg', 2), ('/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_42_4181.jpg', 2), ('/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_37_4073.jpg', 2), ('/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_33_4149.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f95b0aef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f95b0aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f95b0aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:02:32.095521
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_57_4194.jpg', 2), ('/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_53_3998.jpg', 2), ('/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_49_3166.jpg', 2), ('/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_46_4147.jpg', 2), ('/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_42_4113.jpg', 2), ('/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_37_4131.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f79f3de80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f79f3de80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f79f3de80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:03:03.045990
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_57_4194.jpg', 2), ('/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_53_3998.jpg', 2), ('/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_49_3166.jpg', 2), ('/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_46_4147.jpg', 2), ('/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_42_4113.jpg', 2), ('/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_37_4131.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8dbf9ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8dbf9ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8dbf9ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:03:32.227603
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_57_4032.jpg', 2), ('/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_53_4151.jpg', 2), ('/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_49_4135.jpg', 2), ('/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_45_3176.jpg', 2), ('/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_42_4241.jpg', 2), ('/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_37_4232.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f79608e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f79608e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f79608e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:04:03.265194
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_57_4032.jpg', 2), ('/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_53_4151.jpg', 2), ('/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_49_4135.jpg', 2), ('/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_45_3176.jpg', 2), ('/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_42_4241.jpg', 2), ('/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_37_4232.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f819e7ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f819e7ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f819e7ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:04:32.342533
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_57_4058.jpg', 2), ('/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_53_4088.jpg', 2), ('/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_49_4105.jpg', 2), ('/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_45_3090.jpg', 2), ('/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_42_4092.jpg', 2), ('/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_38_4016.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f933deef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f933deef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f933deef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:05:03.146815
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_37_4312.jpg', 2), ('/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_57_4058.jpg', 2), ('/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_53_4088.jpg', 2), ('/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_49_4105.jpg', 2), ('/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_45_3090.jpg', 2), ('/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_42_4092.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7faf333ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faf333ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faf333ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:05:32.436875
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_57_4074.jpg', 2), ('/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_53_4114.jpg', 2), ('/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_49_4120.jpg', 2), ('/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_45_3322.jpg', 2), ('/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_41_4349.jpg', 2), ('/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_37_4312.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f767bfef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f767bfef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f767bfef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:06:03.328771
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_57_4074.jpg', 2), ('/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_53_4114.jpg', 2), ('/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_49_4120.jpg', 2), ('/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_45_3322.jpg', 2), ('/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_41_4349.jpg', 2), ('/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_37_4312.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb5b53ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb5b53ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb5b53ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:06:32.517396
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_57_4206.jpg', 2), ('/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_53_4198.jpg', 2), ('/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_49_3202.jpg', 2), ('/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_46_3960.jpg', 2), ('/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_42_4053.jpg', 2), ('/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_38_4098.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb452def0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb452def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb452def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:07:03.392700
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_57_4206.jpg', 2), ('/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_53_4198.jpg', 2), ('/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_49_3202.jpg', 2), ('/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_46_3960.jpg', 2), ('/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_42_4053.jpg', 2), ('/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_38_4098.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fae07de80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fae07de80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fae07de80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:07:32.610343
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_57_3823.jpg', 2), ('/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_53_4189.jpg', 2), ('/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_49_4085.jpg', 2), ('/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_45_4034.jpg', 2), ('/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_41_4153.jpg', 2), ('/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_37_3123.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9e156ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9e156ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9e156ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:08:03.565747
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_57_3823.jpg', 2), ('/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_53_4189.jpg', 2), ('/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_49_4085.jpg', 2), ('/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_45_4034.jpg', 2), ('/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_41_4153.jpg', 2), ('/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_37_3123.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8861bef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8861bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8861bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:08:32.743404
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_58_4387.jpg', 2), ('/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_53_4251.jpg', 2), ('/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_49_3227.jpg', 2), ('/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_46_4249.jpg', 2), ('/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_41_4049.jpg', 2), ('/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_37_4112.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f82023ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f82023ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f82023ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:09:02.743910
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_58_4387.jpg', 2), ('/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_53_4251.jpg', 2), ('/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_49_3227.jpg', 2), ('/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_46_4249.jpg', 2), ('/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_41_4049.jpg', 2), ('/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_37_4112.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f93633ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f93633ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f93633ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:09:31.818772
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_53_4204.jpg', 2), ('/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_49_4142.jpg', 2), ('/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_45_3194.jpg', 2), ('/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_42_4232.jpg', 2), ('/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_37_4168.jpg', 2), ('/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_33_4233.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb122ae80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb122ae80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb122ae80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:10:02.475621
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_53_4204.jpg', 2), ('/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_49_4142.jpg', 2), ('/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_45_3194.jpg', 2), ('/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_42_4232.jpg', 2), ('/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_37_4168.jpg', 2), ('/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_33_4233.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7faad84ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faad84ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faad84ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:10:31.950402
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_41_4234.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_37_4087.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_33_3125.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ad9aef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ad9aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ad9aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:11:02.611566
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_41_4234.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_37_4087.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_33_3125.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8ae39ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8ae39ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8ae39ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:11:32.110016
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b182ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b182ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b182ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:12:02.641384
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa59dfef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa59dfef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa59dfef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:12:32.276826
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f91e02ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f91e02ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f91e02ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:13:02.923548
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa6998ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa6998ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa6998ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:13:32.469962
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb1c12ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb1c12ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb1c12ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:14:03.508233
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb183aef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb183aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb183aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:14:32.626149
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f96b6ee80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f96b6ee80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f96b6ee80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:15:03.192292
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9f17fef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9f17fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9f17fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:15:32.783604
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8ca05ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8ca05ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8ca05ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:16:02.582390
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9569fef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9569fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9569fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:16:32.034308
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7faf0fdef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faf0fdef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faf0fdef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:17:02.810933
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8f10cef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8f10cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8f10cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:17:32.195000
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8696ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8696ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8696ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:18:02.903541
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c560ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c560ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c560ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:18:32.366703
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb48a2ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb48a2ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb48a2ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:19:03.181282
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fab37aef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fab37aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fab37aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:19:32.534220
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fac43bef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fac43bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fac43bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:20:03.223526
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c89aef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c89aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c89aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:20:32.700043
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa3d80e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa3d80e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa3d80e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:21:02.450056
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7faf2bdef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faf2bdef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faf2bdef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:21:31.903890
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7df32ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7df32ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7df32ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:22:02.668123
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb1261ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb1261ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb1261ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:22:32.149693
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa82d1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa82d1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa82d1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:23:02.687213
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8a637ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8a637ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8a637ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:23:32.306086
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f91faeef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f91faeef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f91faeef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:24:03.406498
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9d34be80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9d34be80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9d34be80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:24:32.468304
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f97558ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f97558ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f97558ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:25:03.048725
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8ba04e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8ba04e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8ba04e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:25:32.651532
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f80741ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f80741ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f80741ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:26:02.353291
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f92e5bef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f92e5bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f92e5bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:26:31.794813
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8645eef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8645eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8645eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:27:02.566391
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8bf9bef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8bf9bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8bf9bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:27:31.976496
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f80302ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f80302ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f80302ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:28:02.622712
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa356eef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa356eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa356eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:28:32.147024
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa62c6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa62c6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa62c6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:29:03.059848
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f815cbef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f815cbef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f815cbef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:29:32.322001
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f83d79ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f83d79ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f83d79ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:30:02.910402
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9d6bee80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9d6bee80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9d6bee80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:30:32.465221
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9fe11ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9fe11ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9fe11ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:31:03.250995
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa2bbbe80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa2bbbe80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa2bbbe80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:31:32.638897
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f88299ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f88299ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f88299ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:32:02.353646
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9fb06e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9fb06e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9fb06e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:32:31.816929
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f938fcef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f938fcef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f938fcef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:33:02.516207
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa06f2ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa06f2ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa06f2ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:33:32.013383
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7c671ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7c671ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7c671ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:34:02.879311
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8240aef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8240aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8240aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:34:32.196758
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9a73ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9a73ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9a73ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:35:02.861806
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa83b8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa83b8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa83b8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:35:32.391201
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7faa9a6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faa9a6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faa9a6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:36:03.108943
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f927eaef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f927eaef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f927eaef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:36:32.595129
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa7dfaef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa7dfaef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa7dfaef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:37:03.315254
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7a686ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7a686ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7a686ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:37:32.770091
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9d410ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9d410ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9d410ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:38:02.498618
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa82a5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa82a5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa82a5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:38:31.968970
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f92e84ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f92e84ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f92e84ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:39:02.834638
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f99ea8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f99ea8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f99ea8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:39:32.191108
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f92b1eef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f92b1eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f92b1eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:40:02.845909
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f91302ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f91302ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f91302ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:40:32.352222
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f92cc4e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f92cc4e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f92cc4e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:41:03.055469
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa18a8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa18a8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa18a8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:41:32.506928
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb2f90ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb2f90ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb2f90ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:42:03.209130
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa3492ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa3492ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa3492ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:42:32.671017
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7faa545ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faa545ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faa545ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:43:02.286429
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fadda8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fadda8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fadda8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:43:31.852202
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b9d2e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b9d2e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b9d2e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:44:02.863217
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8efb0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8efb0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8efb0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:44:32.074883
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f87e04ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f87e04ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f87e04ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:45:02.757524
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f829e5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f829e5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f829e5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:45:32.225415
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f94b88ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f94b88ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f94b88ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:46:02.784679
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f813b1e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f813b1e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f813b1e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:46:32.395718
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7d614ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7d614ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7d614ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:47:03.090253
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9f0cdef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9f0cdef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9f0cdef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:47:32.564288
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f86b6bef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f86b6bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f86b6bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:48:03.255985
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb4459e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb4459e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb4459e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:48:32.752389
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ed92ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ed92ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ed92ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:49:02.556789
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9b3b4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9b3b4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9b3b4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:49:31.927092
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa38ebef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa38ebef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa38ebef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:50:02.665285
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa1f68e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa1f68e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa1f68e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:50:32.099759
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa61f1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa61f1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa61f1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:51:02.934357
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa0d96ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa0d96ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa0d96ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:51:32.250834
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f950fdef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f950fdef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f950fdef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:52:03.013125
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fab9afef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fab9afef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fab9afef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:52:32.413750
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa0a74ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa0a74ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa0a74ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:53:03.126958
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7facfefef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7facfefef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7facfefef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:53:32.553711
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8bdd8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8bdd8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8bdd8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:54:03.593219
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb37d7ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb37d7ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb37d7ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:54:32.746257
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f82c31e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f82c31e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f82c31e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:55:02.478720
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7faa8b9ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faa8b9ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faa8b9ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:55:31.904111
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f91510e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f91510e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f91510e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:56:02.525882
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f790d9ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f790d9ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f790d9ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:56:32.085170
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f87027ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f87027ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f87027ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:57:02.862198
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7faae2bef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faae2bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faae2bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:57:32.248485
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7faf562ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faf562ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faf562ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:58:03.048119
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f769d1e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f769d1e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f769d1e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:59:02.870828
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7d011e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7d011e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7d011e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 04:59:32.139080
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7ec2eef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7ec2eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7ec2eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:00:02.879927
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f98081ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f98081ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f98081ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:00:32.300445
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7de4eef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7de4eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7de4eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:01:02.988535
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9eaf1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9eaf1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9eaf1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:01:32.498078
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7cdbaef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7cdbaef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7cdbaef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:02:03.138931
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa88dbef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa88dbef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa88dbef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:02:32.668270
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f80307ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f80307ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f80307ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:03:02.388674
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f99288ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f99288ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f99288ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:03:31.838984
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa57d5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa57d5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa57d5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:04:02.778042
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0f78ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0f78ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0f78ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:04:31.992847
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7bc04ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7bc04ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7bc04ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:05:02.760981
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7a2b3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7a2b3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7a2b3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:05:32.170747
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb19ebef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb19ebef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb19ebef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:06:02.833347
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8cebce80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8cebce80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8cebce80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:06:32.358470
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f89b79e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f89b79e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f89b79e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:07:03.091524
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9b725ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9b725ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9b725ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:07:32.556303
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7faf7b6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faf7b6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faf7b6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:08:03.325279
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c123ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c123ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c123ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:08:32.726828
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8fa42ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8fa42ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8fa42ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:09:02.669957
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f914b8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f914b8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f914b8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:09:31.886644
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7f6afef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7f6afef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7f6afef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:10:02.625751
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b7dbef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b7dbef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b7dbef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:10:32.097719
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f92f7fef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f92f7fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f92f7fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:11:02.884273
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa3556ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa3556ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa3556ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:11:32.266105
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f834c2e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f834c2e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f834c2e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:12:02.870483
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9cc1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9cc1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9cc1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:12:32.429831
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f97a92ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f97a92ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f97a92ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:13:03.162165
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9b86eef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9b86eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9b86eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:13:32.605110
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7c5feef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7c5feef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7c5feef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:14:03.773510
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9db1eef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9db1eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9db1eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:14:32.813097
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ee03e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ee03e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ee03e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:15:02.370564
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7faefccef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faefccef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faefccef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:15:31.967712
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa3b8def0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa3b8def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa3b8def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:16:02.564353
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb4688ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb4688ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb4688ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:16:32.132839
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f82a35ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f82a35ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f82a35ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:17:02.760510
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f94100ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f94100ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f94100ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:17:32.291935
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f929d5e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f929d5e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f929d5e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:18:03.067935
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c5edef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c5edef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c5edef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:18:32.469167
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f78c77ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f78c77ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f78c77ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:19:03.408408
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb3a6fef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb3a6fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb3a6fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:19:32.639120
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb35f6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb35f6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb35f6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:20:03.364310
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa1908ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa1908ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa1908ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:20:32.834384
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f92fdcef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f92fdcef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f92fdcef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:21:02.486332
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa1f91ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa1f91ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa1f91ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:21:32.023022
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8f905ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8f905ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8f905ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:22:02.761609
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c16fef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c16fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c16fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:22:32.239708
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f80ebaef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f80ebaef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f80ebaef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:23:02.948051
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7e7c4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7e7c4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7e7c4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:23:32.420015
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7facae6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7facae6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7facae6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:24:03.234666
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f78ac4e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f78ac4e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f78ac4e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:24:32.592390
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa00c5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa00c5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa00c5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:25:03.392361
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa11f6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa11f6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa11f6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:25:32.760772
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa72e8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa72e8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa72e8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:26:02.474697
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7faf1d3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faf1d3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faf1d3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:26:31.889971
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f82425e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f82425e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f82425e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:27:02.472368
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb5c1def0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb5c1def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb5c1def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:27:32.061423
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f96ba5e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f96ba5e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f96ba5e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:28:02.783485
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fae67bef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fae67bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fae67bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:28:32.236386
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7bd09ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7bd09ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7bd09ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:29:03.147026
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9be86ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9be86ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9be86ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:29:32.499088
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f83165ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f83165ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f83165ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:30:03.144083
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8f1a0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8f1a0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8f1a0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:30:32.663513
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7ebb1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7ebb1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7ebb1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:31:02.218928
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7cc18ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7cc18ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7cc18ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:31:31.806425
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb2a73ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb2a73ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb2a73ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:32:02.599541
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f85149e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f85149e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f85149e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:32:31.962403
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7faae1fef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faae1fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faae1fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:33:02.548628
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f767a0e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f767a0e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f767a0e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:33:32.137538
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa966def0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa966def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa966def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:34:03.071017
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa09b6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa09b6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa09b6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:34:32.308105
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa142def0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa142def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa142def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:35:03.048918
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9df33ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9df33ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9df33ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:35:32.479257
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f94becef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f94becef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f94becef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:36:03.229354
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8ec21ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8ec21ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8ec21ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:36:32.689230
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa87b4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa87b4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa87b4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:37:02.322148
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f86381ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f86381ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f86381ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:37:31.847594
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7c9ceef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7c9ceef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7c9ceef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:38:02.585131
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9a97fef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9a97fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9a97fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:38:31.987892
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f88535ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f88535ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f88535ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:39:03.023635
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f77353e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f77353e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f77353e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:39:32.161196
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f80e14ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f80e14ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f80e14ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:40:02.712192
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fae9eaef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fae9eaef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fae9eaef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:40:32.319119
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb2359e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb2359e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb2359e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:41:03.078467
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa96a8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa96a8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa96a8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:41:32.493065
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f93f79e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f93f79e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f93f79e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:42:03.111286
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f92a3aef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f92a3aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f92a3aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:42:32.685744
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f87facef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f87facef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f87facef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:43:02.435805
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f972d3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f972d3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f972d3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:43:31.845629
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa99f5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa99f5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa99f5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:44:02.807746
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f82d7cef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f82d7cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f82d7cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:44:32.019959
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa6344ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa6344ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa6344ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:45:02.649880
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f98d3cef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f98d3cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f98d3cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:45:32.177213
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7e48fe80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7e48fe80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7e48fe80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:46:02.881943
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9894aef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9894aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9894aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:46:32.332699
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7fe33ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7fe33ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7fe33ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:47:03.010557
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f89b8bef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f89b8bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f89b8bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:47:32.499023
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb3592ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb3592ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb3592ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:48:03.307119
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa4048ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa4048ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa4048ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:48:32.668119
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa673aef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa673aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa673aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:49:02.639470
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7faa4b8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faa4b8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faa4b8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:49:31.831351
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f97383ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f97383ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f97383ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:50:02.513636
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f97f00ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f97f00ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f97f00ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:50:31.994990
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f76668ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f76668ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f76668ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:51:02.735903
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f95503ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f95503ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f95503ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:51:32.150245
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa70bbef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa70bbef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa70bbef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:52:02.763911
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7c9e2e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7c9e2e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7c9e2e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:52:32.331660
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9894ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9894ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9894ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:53:03.094808
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa3bb7ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa3bb7ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa3bb7ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:53:32.528324
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0dbdef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0dbdef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0dbdef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:54:03.522845
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8870ae80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8870ae80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8870ae80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:54:32.703423
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa6679ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa6679ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa6679ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:55:02.464986
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f88aefe80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f88aefe80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f88aefe80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:55:31.890865
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa3c31ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa3c31ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa3c31ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:56:02.606230
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa1367ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa1367ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa1367ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:56:32.062467
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb18f8e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb18f8e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb18f8e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:57:02.642831
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7c590ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7c590ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7c590ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:57:32.247955
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f79ca6e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f79ca6e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f79ca6e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:58:02.973308
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8a6bcef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8a6bcef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8a6bcef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:59:02.843807
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f83460ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f83460ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f83460ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 05:59:32.147172
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f84d19ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f84d19ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f84d19ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:00:02.871999
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb146aef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb146aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb146aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:00:32.316037
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa083eef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa083eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa083eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:01:03.141946
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f774e6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f774e6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f774e6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:01:32.477166
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fab0e3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fab0e3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fab0e3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:02:03.198083
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9e934ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9e934ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9e934ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:02:32.637215
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7ae4be80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7ae4be80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7ae4be80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:03:03.416592
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9bf35e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9bf35e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9bf35e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:03:32.826024
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8d94aef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8d94aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8d94aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:04:02.948542
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0f6eef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0f6eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0f6eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:04:31.993377
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa3886ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa3886ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa3886ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:05:02.855092
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9414ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9414ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9414ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:05:32.178475
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8cf0eef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8cf0eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8cf0eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:06:02.902510
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb1c48ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb1c48ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb1c48ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:06:32.350497
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa3095ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa3095ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa3095ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:07:03.086893
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7faf46def0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faf46def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faf46def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:07:32.539736
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9f52bef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9f52bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9f52bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:08:03.231998
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f939ebe80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f939ebe80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f939ebe80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:08:32.708145
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fad0edef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fad0edef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fad0edef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:09:02.546928
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa4675ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa4675ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa4675ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:09:31.900350
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fab3feef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fab3feef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fab3feef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:10:02.673826
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b1e6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b1e6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b1e6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:10:32.054503
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f795fae80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f795fae80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f795fae80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:11:02.733615
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b65def0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b65def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b65def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:11:32.238827
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f934f5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f934f5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f934f5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:12:02.745348
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f899caef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f899caef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f899caef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:12:32.439560
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f76a9bef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f76a9bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f76a9bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:13:03.200170
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa783fef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa783fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa783fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:13:32.590736
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f92b3aef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f92b3aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f92b3aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:14:03.578636
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f961e7ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f961e7ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f961e7ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:14:32.741882
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb11d1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb11d1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb11d1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:15:02.414568
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7a681ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7a681ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7a681ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:15:31.927074
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f84131ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f84131ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f84131ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:16:02.662239
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fac306ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fac306ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fac306ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:16:32.184034
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8f23eef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8f23eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8f23eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:17:02.930358
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f79bc8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f79bc8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f79bc8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:17:32.341962
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b9b6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b9b6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b9b6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:18:02.995994
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9bce8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9bce8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9bce8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:18:32.524293
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb2ad5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb2ad5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb2ad5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:19:03.515541
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9716ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9716ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9716ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:19:32.695687
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f990dcef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f990dcef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f990dcef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:20:02.796273
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f88958ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f88958ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f88958ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:20:31.866558
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f77dcde80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f77dcde80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f77dcde80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:21:02.540655
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fad296ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fad296ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fad296ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:21:32.016576
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f79cf7ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f79cf7ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f79cf7ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:22:02.767448
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f924a4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f924a4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f924a4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:22:32.226228
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9d929ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9d929ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9d929ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:23:02.872505
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f98119ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f98119ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f98119ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:23:32.411465
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa1173e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa1173e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa1173e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:24:03.219064
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f96c33ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f96c33ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f96c33ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:24:32.583339
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa56b0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa56b0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa56b0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:25:03.327197
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7faafddef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faafddef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faafddef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:25:32.743359
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fad1ceef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fad1ceef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fad1ceef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:26:02.324915
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8db94ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8db94ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8db94ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:26:31.942960
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f95371ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f95371ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f95371ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:27:02.629050
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa519def0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa519def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa519def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:27:32.127089
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7faf358ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faf358ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faf358ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:28:02.804848
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fae13eef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fae13eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fae13eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:28:32.278941
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa89b3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa89b3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa89b3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:29:03.611769
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0d2bef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0d2bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0d2bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:29:32.526773
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f875bbe80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f875bbe80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f875bbe80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:30:03.450502
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f78d4def0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f78d4def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f78d4def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:30:32.699926
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f94330e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f94330e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f94330e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:31:02.686105
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7faf588ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faf588ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faf588ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:31:31.904152
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fac1c2ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fac1c2ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fac1c2ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:32:02.800970
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f77abbef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f77abbef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f77abbef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:32:32.164226
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8aaa1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8aaa1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8aaa1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:33:03.368575
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f99699ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f99699ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f99699ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:33:32.360646
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f76f16ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f76f16ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f76f16ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:34:03.358546
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7faba62ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faba62ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faba62ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:34:32.511204
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb3662e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb3662e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb3662e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:35:03.405672
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f795b0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f795b0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f795b0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:35:32.697170
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f784f4e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f784f4e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f784f4e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:36:02.759558
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa442cef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa442cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa442cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:36:31.894292
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa24d6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa24d6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa24d6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:37:02.946863
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8926aef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8926aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8926aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:37:32.106967
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f815e5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f815e5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f815e5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:38:03.042004
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f77e9cef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f77e9cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f77e9cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:38:32.302109
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8a36fef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8a36fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8a36fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:39:03.554241
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fab2e1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fab2e1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fab2e1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:39:32.468742
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa6667e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa6667e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa6667e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:40:03.312033
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7804fef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7804fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7804fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:40:32.679991
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9bd05ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9bd05ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9bd05ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:41:02.722664
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa1251e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa1251e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa1251e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:41:31.841257
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c97ce80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c97ce80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c97ce80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:42:02.818388
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9881fef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9881fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9881fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:42:32.038056
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa69f6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa69f6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa69f6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:43:02.891278
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f800d0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f800d0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f800d0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:43:32.203047
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa7509ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa7509ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa7509ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:44:03.424043
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f99c3bef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f99c3bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f99c3bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:44:32.378743
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f97439e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f97439e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f97439e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:45:03.260991
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f809d6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f809d6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f809d6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:45:32.523129
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7d2acef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7d2acef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7d2acef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:46:03.446151
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f79575ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f79575ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f79575ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:46:32.682092
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f848c4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f848c4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f848c4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:47:02.804158
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f99b54e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f99b54e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f99b54e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:47:31.841449
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8aa4cef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8aa4cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8aa4cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:48:02.929645
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8474aef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8474aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8474aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:48:32.010707
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8674eef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8674eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8674eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:49:03.391780
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9b217ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9b217ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9b217ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:49:32.223064
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fac268ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fac268ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fac268ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:50:03.312833
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f76f34ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f76f34ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f76f34ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:50:32.382050
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9922eef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9922eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9922eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:51:03.366760
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8fa30ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8fa30ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8fa30ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:51:32.546254
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9d761ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9d761ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9d761ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:52:03.387458
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f847dbef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f847dbef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f847dbef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:52:32.728490
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ce1fef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ce1fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ce1fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:53:02.677880
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f91c25e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f91c25e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f91c25e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:53:31.890467
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7f78de80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7f78de80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7f78de80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:54:02.866998
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f928e5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f928e5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f928e5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:54:32.059818
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f89571ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f89571ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f89571ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:55:03.012267
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b550ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b550ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b550ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:55:32.220188
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7c6b8e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7c6b8e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7c6b8e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:56:03.310875
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7faf39cef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faf39cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faf39cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:56:32.424845
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb3a4cef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb3a4cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb3a4cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:57:03.367924
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7faa639ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faa639ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faa639ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:57:32.568506
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa3d13ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa3d13ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa3d13ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:58:03.111369
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9e713ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9e713ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9e713ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:59:03.688401
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa42f5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa42f5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa42f5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 06:59:32.507833
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9495fef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9495fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9495fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:00:03.445685
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7dff4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7dff4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7dff4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:00:32.664527
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9a3ebe80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9a3ebe80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9a3ebe80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:01:02.651553
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb2163ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb2163ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb2163ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:01:31.853497
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fad412ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fad412ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fad412ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:02:02.716205
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9a897ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9a897ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9a897ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:02:32.053735
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f85badef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f85badef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f85badef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:03:03.138851
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f80856e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f80856e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f80856e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:03:32.215007
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f93b14ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f93b14ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f93b14ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:04:03.450164
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7d0fcef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7d0fcef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7d0fcef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:04:32.421817
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f877fcef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f877fcef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f877fcef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:05:03.282053
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f94349ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f94349ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f94349ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:05:32.571126
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ab3fef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ab3fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ab3fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:06:03.467861
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7ccb8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7ccb8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7ccb8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:06:32.748847
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb3da6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb3da6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb3da6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:07:02.557448
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f853ede80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f853ede80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f853ede80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:07:31.938325
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa07a8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa07a8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa07a8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:08:02.775628
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8cf86e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8cf86e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8cf86e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:08:32.119818
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb25ccef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb25ccef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb25ccef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:09:03.412070
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb48e7ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb48e7ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb48e7ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:09:32.267644
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9f1ffe80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9f1ffe80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9f1ffe80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:10:03.147579
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f837d4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f837d4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f837d4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:10:32.457516
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f84a44ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f84a44ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f84a44ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:11:03.198230
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8c95ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8c95ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8c95ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:11:32.614618
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9a46ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9a46ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9a46ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:12:03.104510
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7facd8cef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7facd8cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7facd8cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:12:32.791527
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9f0e0e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9f0e0e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9f0e0e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:13:02.682988
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f92544ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f92544ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f92544ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:13:31.950066
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f92e09ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f92e09ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f92e09ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:14:03.197239
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7ec5eef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7ec5eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7ec5eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:14:32.121992
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7faecc1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faecc1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faecc1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:15:03.263382
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9b432ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9b432ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9b432ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:15:32.302136
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f93417ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f93417ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f93417ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:16:03.221493
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7a897ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7a897ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7a897ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:16:32.473754
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7f455ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7f455ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7f455ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:17:03.367926
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b359ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b359ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b359ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:17:32.655723
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8a920ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8a920ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8a920ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:18:02.584002
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b2caef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b2caef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b2caef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:18:31.823422
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0338ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0338ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb0338ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:19:03.081738
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9d8c1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9d8c1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9d8c1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:19:32.020140
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f83b13ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f83b13ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f83b13ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:20:03.039957
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb15a3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb15a3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb15a3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:20:32.170983
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b149ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b149ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b149ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:21:03.241699
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fae747ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fae747ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fae747ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:21:32.415325
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f78cd3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f78cd3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f78cd3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:22:03.406352
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c4d0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c4d0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c4d0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:22:32.585088
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f77d39ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f77d39ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f77d39ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:23:03.493708
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb2907ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb2907ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb2907ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:23:32.729058
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f86473ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f86473ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f86473ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:24:03.148504
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa6955e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa6955e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa6955e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:24:31.912418
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8146fef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8146fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8146fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:25:02.800448
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f85cd4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f85cd4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f85cd4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:25:32.086799
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa0364ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa0364ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa0364ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:26:02.986005
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b27bef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b27bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7b27bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:26:32.251485
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7facec0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7facec0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7facec0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:27:03.427293
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8231ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8231ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8231ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:27:32.401514
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7abd8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7abd8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7abd8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:28:03.198723
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7faf976ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faf976ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faf976ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:28:32.695660
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb3f71e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb3f71e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb3f71e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:29:02.898131
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f85c16ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f85c16ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f85c16ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:29:31.870865
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fabaf9ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fabaf9ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fabaf9ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:30:02.725824
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f81b24ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f81b24ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f81b24ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:30:32.049220
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb1ab4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb1ab4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb1ab4ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:31:02.902329
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8e6d6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8e6d6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8e6d6ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:31:32.212841
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa5eede80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa5eede80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa5eede80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:32:03.212196
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa0d95ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa0d95ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa0d95ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:32:32.386464
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7ac2aef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7ac2aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7ac2aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:33:03.245545
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f85541ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f85541ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f85541ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:33:32.569330
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fab012ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fab012ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fab012ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:34:03.771605
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa148fef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa148fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa148fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:34:32.732923
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fac147ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fac147ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fac147ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:35:02.459979
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7d50fe80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7d50fe80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7d50fe80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:35:31.914071
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8d8d1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8d8d1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8d8d1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:36:02.805197
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f963aeef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f963aeef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f963aeef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:36:32.097464
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9cc4cef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9cc4cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9cc4cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:37:02.970279
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f92932e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f92932e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f92932e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:37:32.259277
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa937bef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa937bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa937bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:38:03.348853
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f82401ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f82401ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f82401ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:38:32.411475
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f83f6def0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f83f6def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f83f6def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:39:03.741658
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fafde8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fafde8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fafde8ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:39:32.584650
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f93cc5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f93cc5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f93cc5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:40:03.603904
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f83101e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f83101e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f83101e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:40:32.753610
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f84587ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f84587ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f84587ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:41:02.785457
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8a7daef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8a7daef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8a7daef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:41:31.924572
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c5f3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c5f3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9c5f3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:42:02.853082
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f80244e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f80244e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f80244e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:42:32.108211
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7faf213ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faf213ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faf213ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:43:03.226210
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8d009ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8d009ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8d009ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:43:32.303363
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f796d5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f796d5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f796d5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:44:03.419045
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f944f3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f944f3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f944f3ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:44:32.433479
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f98657e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f98657e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f98657e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:45:03.302503
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa89e8e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa89e8e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa89e8e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:45:32.610757
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f967baef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f967baef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f967baef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:46:03.506764
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f82192ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f82192ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f82192ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:46:32.780304
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9f50e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9f50e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9f50e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:47:02.735487
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7d437ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7d437ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7d437ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:47:31.957129
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb4a0def0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb4a0def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb4a0def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:48:02.772716
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb2264ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb2264ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb2264ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:48:32.158327
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f80f9eef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f80f9eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f80f9eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:49:03.258187
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f98c9cef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f98c9cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f98c9cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:49:32.322554
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb4d9be80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb4d9be80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb4d9be80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:50:03.003357
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f85026ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f85026ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f85026ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:50:32.460291
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb1025ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb1025ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb1025ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:51:03.409144
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb2d6fef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb2d6fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb2d6fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:51:32.629474
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8804e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8804e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8804e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:52:03.531538
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7e34eef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7e34eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7e34eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:52:32.830053
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f93481e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f93481e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f93481e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:53:02.730969
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7faf079ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faf079ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faf079ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:53:32.026230
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f80e39ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f80e39ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f80e39ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:54:03.270831
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ab93ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ab93ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9ab93ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:54:32.177018
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f91d08ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f91d08ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f91d08ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:55:03.110515
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f84f1cef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f84f1cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f84f1cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:55:32.338248
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9830fe80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9830fe80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9830fe80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:56:03.132157
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f89f6def0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f89f6def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f89f6def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:56:32.525345
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7ced1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7ced1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7ced1ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:57:03.620527
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8928ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8928ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8928ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:57:32.704681
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fad006ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fad006ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fad006ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:59:03.827364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 283, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 07:59:32.665281
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa0f5cef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa0f5cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa0f5cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:00:02.408938
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f872d3e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f872d3e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f872d3e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:00:31.875404
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9e891ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9e891ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9e891ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:01:02.741961
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9625e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9625e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9625e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:01:32.056443
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f86225ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f86225ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f86225ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:02:03.078924
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa88beef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa88beef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa88beef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:02:32.221930
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f81e14e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f81e14e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f81e14e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:03:03.047221
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa0e04ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa0e04ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa0e04ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:03:32.390359
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f807c5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f807c5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f807c5ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:04:03.768112
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb25c4e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb25c4e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb25c4e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:04:32.583687
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f77078e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f77078e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f77078e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:05:03.652880
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f95711e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f95711e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f95711e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:05:32.784599
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9780def0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9780def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9780def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:06:02.774985
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9216eef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9216eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9216eef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:06:31.957850
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9fa07ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9fa07ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9fa07ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:07:03.062390
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c669ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c669ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8c669ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:07:32.127762
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8893fef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8893fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8893fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:08:03.052215
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa0ebeef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa0ebeef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa0ebeef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:08:32.309483
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9a9a2ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9a9a2ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9a9a2ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:09:03.661055
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8d0bbef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8d0bbef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8d0bbef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:09:32.510596
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8197cef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8197cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8197cef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:10:03.461954
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9a6aaef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9a6aaef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9a6aaef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:10:32.679745
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7cd83ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7cd83ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7cd83ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:11:02.682004
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7c074ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7c074ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7c074ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:11:31.845454
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f91cd0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f91cd0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f91cd0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:12:02.600385
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f9fc04ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9fc04ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f9fc04ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:12:32.027022
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fac8caef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fac8caef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fac8caef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:13:03.072597
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f909c9ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f909c9ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f909c9ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:13:32.202198
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f85d19ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f85d19ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f85d19ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:14:03.279279
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9c1fef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9c1fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9c1fef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:14:32.382304
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7c41fe80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7c41fe80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7c41fe80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:15:03.242580
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f7fb44ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7fb44ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f7fb44ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:15:32.556207
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f92252ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f92252ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f92252ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:16:03.380773
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb4545ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb4545ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb4545ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:16:32.750373
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fb6392ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb6392ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb6392ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:17:02.560372
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f88e2bef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f88e2bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f88e2bef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:17:31.944907
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9496ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9496ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa9496ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:18:02.938509
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f79597ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f79597ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f79597ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:18:32.102356
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f912d0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f912d0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f912d0ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:19:03.350166
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f83b10ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f83b10ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f83b10ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:19:32.277210
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fae392e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fae392e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fae392e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:20:03.223110
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f90a01e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f90a01e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f90a01e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:20:32.452011
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8a949ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8a949ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8a949ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:21:03.426382
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f901b6e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f901b6e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f901b6e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:21:32.617001
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f97c10e80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f97c10e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f97c10e80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:22:03.426584
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f941dde80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f941dde80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f941dde80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:22:32.744966
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f768cfe80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f768cfe80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f768cfe80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:23:02.674776
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fa6c59ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa6c59ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa6c59ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:23:31.917318
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7faad76ef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faad76ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7faad76ef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:24:02.851795
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8fffdef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8fffdef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8fffdef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:24:32.109551
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8332fe80>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8332fe80>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8332fe80>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:25:03.156860
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8ed0aef0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8ed0aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8ed0aef0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:25:32.301146
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = n_date[:10]
TypeError: 'NoneType' object is not subscriptable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 152, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/nano/.fotonower_config/port_id_18032025.txt'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 144, in _new_conn
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 60, in create_connection
    for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo
    for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 852, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 298, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 153, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7f8e69def0>: Failed to establish a new connection: [Errno -2] Name or service not known

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 450, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8e69def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 351, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/nano/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 176, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/nano/.local/lib/python3.6/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/sessions.py", line 645, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/requests/adapters.py", line 519, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='marlene.fotonower.com', port=443): Max retries exceeded with url: /api/v1/portfolio/savePost (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f8e69def0>: Failed to establish a new connection: [Errno -2] Name or service not known',))
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:26:03.071883
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : aec_metal_0225_18032025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
533
2675771
533
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg', 2)]
{'portfolio_id': 21508724, 'actiontaken': ['Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1742282823000}
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg', '/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg', '/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg', '/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg', '/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg', '/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_05_3244.jpg
/home/nano/Desktop/images/18032025/04/11/image_18032025_04_11_02_4048.jpg
/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_58_4051.jpg
/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_54_4045.jpg
/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_49_4146.jpg
/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_45_4226.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345061659","1345061605","1345061667","1345061658","1345061631","1345061657"],"photo_ids_order":["1345061605","1345061631","1345061657","1345061658","1345061659","1345061667"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/eaa82d68de0d1244191766933434bd17.jpg","text":"TemporaryFile(/tmp/multipartBody5217516464415273230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742282824564,"filename":"image_18032025_04_10_49_4146.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/96bad38f7e8ac9b320263982ed023a3d.jpg","text":"TemporaryFile(/tmp/multipartBody2874327199145106649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742282824564,"filename":"image_18032025_04_11_05_3244.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5be4dbc0b70ce2a75cd2207e7b9a1f81.jpg","text":"TemporaryFile(/tmp/multipartBody926376788065797784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742282824564,"filename":"image_18032025_04_10_45_4226.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e5fe64e557d162743b44df11bafb43b3.jpg","text":"TemporaryFile(/tmp/multipartBody65327215382091606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742282824564,"filename":"image_18032025_04_10_54_4045.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3122440e2774ab7c3ab80a59e4f5ab7f.jpg","text":"TemporaryFile(/tmp/multipartBody8409412239077886173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742282824564,"filename":"image_18032025_04_11_02_4048.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/32357bb73fb2ff12095e80f63989cb74.jpg","text":"TemporaryFile(/tmp/multipartBody2631037189399119098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742282824564,"filename":"image_18032025_04_10_58_4051.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345061657","file1":"1345061631","file0":"1345061605","file4":"1345061659","file5":"1345061667","file3":"1345061658"},"map_files_photo_id_array":[{"photo_id":"1345061667","filename":"file5"},{"photo_id":"1345061657","filename":"file2"},{"photo_id":"1345061659","filename":"file4"},{"photo_id":"1345061631","filename":"file1"},{"photo_id":"1345061605","filename":"file0"},{"photo_id":"1345061658","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345061659":["hashtag1","hashtag2"]},{"1345061605":["hashtag1","hashtag2"]},{"1345061667":["hashtag1","hashtag2"]},{"1345061658":["hashtag1","hashtag2"]},{"1345061631":["hashtag1","hashtag2"]},{"1345061657":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345061659, 1345061605, 1345061667, 1345061658, 1345061631, 1345061657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.698695182800293 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:27:03.424448
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_41_4234.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_37_4087.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_33_3125.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_30_4186.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_25_4002.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_21_4154.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_41_4234.jpg', '/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_37_4087.jpg', '/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_33_3125.jpg', '/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_30_4186.jpg', '/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_25_4002.jpg', '/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_21_4154.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_41_4234.jpg
/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_37_4087.jpg
/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_33_3125.jpg
/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_30_4186.jpg
/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_25_4002.jpg
/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_21_4154.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345061803","1345061793","1345061806","1345061800","1345061792","1345061805"],"photo_ids_order":["1345061792","1345061793","1345061800","1345061803","1345061805","1345061806"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d439510ed7e0f989b4b1f0b85531bb72.jpg","text":"TemporaryFile(/tmp/multipartBody3084253133753002738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742282884031,"filename":"image_18032025_04_10_30_4186.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/648351db78b584cf5b66bba4f6af6104.jpg","text":"TemporaryFile(/tmp/multipartBody8860010751854352584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742282884031,"filename":"image_18032025_04_10_37_4087.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cab3babfb21aa51709029a69fbb958a3.jpg","text":"TemporaryFile(/tmp/multipartBody468466803120179322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742282884031,"filename":"image_18032025_04_10_21_4154.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7638ba02d5a06e178853c2e5917bb905.jpg","text":"TemporaryFile(/tmp/multipartBody8829722596946112882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742282884031,"filename":"image_18032025_04_10_33_3125.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/70362c80d3bd528f79fdda6d25020ae5.jpg","text":"TemporaryFile(/tmp/multipartBody4762334261195697265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742282884031,"filename":"image_18032025_04_10_41_4234.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fc9dd4e44b4799ba5e1f20daf9199f02.jpg","text":"TemporaryFile(/tmp/multipartBody3805775338269946290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742282884031,"filename":"image_18032025_04_10_25_4002.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345061800","file1":"1345061793","file0":"1345061792","file4":"1345061805","file5":"1345061806","file3":"1345061803"},"map_files_photo_id_array":[{"photo_id":"1345061806","filename":"file5"},{"photo_id":"1345061800","filename":"file2"},{"photo_id":"1345061805","filename":"file4"},{"photo_id":"1345061793","filename":"file1"},{"photo_id":"1345061792","filename":"file0"},{"photo_id":"1345061803","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345061803":["hashtag1","hashtag2"]},{"1345061793":["hashtag1","hashtag2"]},{"1345061806":["hashtag1","hashtag2"]},{"1345061800":["hashtag1","hashtag2"]},{"1345061792":["hashtag1","hashtag2"]},{"1345061805":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345061803, 1345061793, 1345061806, 1345061800, 1345061792, 1345061805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.652234315872192 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:28:03.427998
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_17_4152.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_13_4165.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_09_4163.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_05_3287.jpg', 2), ('/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_02_4198.jpg', 2), ('/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_57_4191.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_17_4152.jpg', '/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_13_4165.jpg', '/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_09_4163.jpg', '/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_05_3287.jpg', '/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_02_4198.jpg', '/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_57_4191.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_17_4152.jpg
/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_13_4165.jpg
/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_09_4163.jpg
/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_05_3287.jpg
/home/nano/Desktop/images/18032025/04/10/image_18032025_04_10_02_4198.jpg
/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_57_4191.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345061872","1345061869","1345061871","1345061873","1345061876","1345061870"],"photo_ids_order":["1345061869","1345061870","1345061871","1345061872","1345061873","1345061876"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/668617f9d01bc67760d0721284355629.jpg","text":"TemporaryFile(/tmp/multipartBody2543784912444124258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742282944000,"filename":"image_18032025_04_10_05_3287.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5d73eff930e913bbac1f5e0e101c9fe7.jpg","text":"TemporaryFile(/tmp/multipartBody1224764358250972302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742282944000,"filename":"image_18032025_04_10_17_4152.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5d49e31328588e815e64c59c18b957ad.jpg","text":"TemporaryFile(/tmp/multipartBody852202242675492846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742282944000,"filename":"image_18032025_04_10_09_4163.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/390d0c06dee613799af58f5ce20db5b5.jpg","text":"TemporaryFile(/tmp/multipartBody5866624315720294638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742282944000,"filename":"image_18032025_04_10_02_4198.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/72acb04f539386c5bfc0701c9c8d5e8d.jpg","text":"TemporaryFile(/tmp/multipartBody4820292619768329128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742282944000,"filename":"image_18032025_04_09_57_4191.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5c7ddd13109d1ae738cf39e2d31a877f.jpg","text":"TemporaryFile(/tmp/multipartBody1916229504466862249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742282944000,"filename":"image_18032025_04_10_13_4165.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345061871","file1":"1345061870","file0":"1345061869","file4":"1345061873","file5":"1345061876","file3":"1345061872"},"map_files_photo_id_array":[{"photo_id":"1345061876","filename":"file5"},{"photo_id":"1345061871","filename":"file2"},{"photo_id":"1345061873","filename":"file4"},{"photo_id":"1345061870","filename":"file1"},{"photo_id":"1345061869","filename":"file0"},{"photo_id":"1345061872","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345061872":["hashtag1","hashtag2"]},{"1345061869":["hashtag1","hashtag2"]},{"1345061871":["hashtag1","hashtag2"]},{"1345061873":["hashtag1","hashtag2"]},{"1345061876":["hashtag1","hashtag2"]},{"1345061870":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345061872, 1345061869, 1345061871, 1345061873, 1345061876, 1345061870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.55938172340393 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:29:02.819566
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_53_4204.jpg', 2), ('/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_49_4142.jpg', 2), ('/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_45_3194.jpg', 2), ('/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_42_4232.jpg', 2), ('/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_37_4168.jpg', 2), ('/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_33_4233.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_53_4204.jpg', '/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_49_4142.jpg', '/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_45_3194.jpg', '/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_42_4232.jpg', '/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_37_4168.jpg', '/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_33_4233.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_53_4204.jpg
/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_49_4142.jpg
/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_45_3194.jpg
/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_42_4232.jpg
/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_37_4168.jpg
/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_33_4233.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345061989","1345061992","1345062075","1345061991","1345061988","1345062029"],"photo_ids_order":["1345061988","1345061989","1345061991","1345061992","1345062029","1345062075"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/11b45033b9ff5e8ba3bdb1f096ec7197.jpg","text":"TemporaryFile(/tmp/multipartBody7894630480904192369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283003413,"filename":"image_18032025_04_09_49_4142.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/99e66c7ae62b5925dcd755c47664392b.jpg","text":"TemporaryFile(/tmp/multipartBody8654624983806331068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283003413,"filename":"image_18032025_04_09_42_4232.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9f923aba353833cac2787a2d25bdfcdb.jpg","text":"TemporaryFile(/tmp/multipartBody8880963172849061025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283003413,"filename":"image_18032025_04_09_33_4233.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d45aa21c13b718e03994a3463b746f09.jpg","text":"TemporaryFile(/tmp/multipartBody8756139681850507616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283003413,"filename":"image_18032025_04_09_45_3194.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/14c273ece5dcd727a00202263eaa4491.jpg","text":"TemporaryFile(/tmp/multipartBody1834440277998863861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283003413,"filename":"image_18032025_04_09_53_4204.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b03cdea58d014b992af4a4d403ec1318.jpg","text":"TemporaryFile(/tmp/multipartBody1051992842081292077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283003413,"filename":"image_18032025_04_09_37_4168.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345061991","file1":"1345061989","file0":"1345061988","file4":"1345062029","file5":"1345062075","file3":"1345061992"},"map_files_photo_id_array":[{"photo_id":"1345062075","filename":"file5"},{"photo_id":"1345061991","filename":"file2"},{"photo_id":"1345062029","filename":"file4"},{"photo_id":"1345061989","filename":"file1"},{"photo_id":"1345061988","filename":"file0"},{"photo_id":"1345061992","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345061989":["hashtag1","hashtag2"]},{"1345061992":["hashtag1","hashtag2"]},{"1345062075":["hashtag1","hashtag2"]},{"1345061991":["hashtag1","hashtag2"]},{"1345061988":["hashtag1","hashtag2"]},{"1345062029":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345061989, 1345061992, 1345062075, 1345061991, 1345061988, 1345062029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.873230457305908 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:30:03.123284
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_29_4123.jpg', 2), ('/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_25_3909.jpg', 2), ('/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_21_3291.jpg', 2), ('/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_18_4212.jpg', 2), ('/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_13_4247.jpg', 2), ('/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_09_4403.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_29_4123.jpg', '/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_25_3909.jpg', '/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_21_3291.jpg', '/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_18_4212.jpg', '/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_13_4247.jpg', '/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_09_4403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_29_4123.jpg
/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_25_3909.jpg
/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_21_3291.jpg
/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_18_4212.jpg
/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_13_4247.jpg
/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_09_4403.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345062133","1345062136","1345062132","1345062129","1345062134","1345062131"],"photo_ids_order":["1345062129","1345062131","1345062132","1345062133","1345062134","1345062136"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0ac41ae039a988d9827bd93010ecc838.jpg","text":"TemporaryFile(/tmp/multipartBody8822306546424835984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283063642,"filename":"image_18032025_04_09_18_4212.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1c08977ca1c63accd4e7df6fa42ee5f1.jpg","text":"TemporaryFile(/tmp/multipartBody9073172156705037245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283063642,"filename":"image_18032025_04_09_09_4403.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5ec9063a1734fe3fd37339ecfab29356.jpg","text":"TemporaryFile(/tmp/multipartBody6550476785064854495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283063642,"filename":"image_18032025_04_09_21_3291.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/67eb5724e927fd54733a3729490694f0.jpg","text":"TemporaryFile(/tmp/multipartBody4420176726358899930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283063642,"filename":"image_18032025_04_09_29_4123.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/74631ad0782223a29a850a0832d8153d.jpg","text":"TemporaryFile(/tmp/multipartBody1221874786894942094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283063642,"filename":"image_18032025_04_09_13_4247.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fd1e46e4bf43d57bd78dee6ac41910fb.jpg","text":"TemporaryFile(/tmp/multipartBody2833802256967474091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283063642,"filename":"image_18032025_04_09_25_3909.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345062132","file1":"1345062131","file0":"1345062129","file4":"1345062134","file5":"1345062136","file3":"1345062133"},"map_files_photo_id_array":[{"photo_id":"1345062136","filename":"file5"},{"photo_id":"1345062132","filename":"file2"},{"photo_id":"1345062134","filename":"file4"},{"photo_id":"1345062131","filename":"file1"},{"photo_id":"1345062129","filename":"file0"},{"photo_id":"1345062133","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345062133":["hashtag1","hashtag2"]},{"1345062136":["hashtag1","hashtag2"]},{"1345062132":["hashtag1","hashtag2"]},{"1345062129":["hashtag1","hashtag2"]},{"1345062134":["hashtag1","hashtag2"]},{"1345062131":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345062133, 1345062136, 1345062132, 1345062129, 1345062134, 1345062131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.67583727836609 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:31:03.214813
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_05_3888.jpg', 2), ('/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_01_3370.jpg', 2), ('/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_58_4387.jpg', 2), ('/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_53_4251.jpg', 2), ('/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_49_3227.jpg', 2), ('/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_46_4249.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_05_3888.jpg', '/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_01_3370.jpg', '/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_58_4387.jpg', '/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_53_4251.jpg', '/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_49_3227.jpg', '/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_46_4249.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_05_3888.jpg
/home/nano/Desktop/images/18032025/04/09/image_18032025_04_09_01_3370.jpg
/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_58_4387.jpg
/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_53_4251.jpg
/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_49_3227.jpg
/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_46_4249.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345062157","1345062154","1345062153","1345062156","1345062155","1345062160"],"photo_ids_order":["1345062153","1345062154","1345062155","1345062156","1345062157","1345062160"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/77cd4870886856265ae0a041100e2859.jpg","text":"TemporaryFile(/tmp/multipartBody5104577020339288361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283123677,"filename":"image_18032025_04_08_49_3227.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/69db8f402f327e669bc88f111781c6fa.jpg","text":"TemporaryFile(/tmp/multipartBody6181652629663178101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283123677,"filename":"image_18032025_04_09_01_3370.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a0cc5719b46d544a88dee4773ea15a11.jpg","text":"TemporaryFile(/tmp/multipartBody1121111218921014253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283123677,"filename":"image_18032025_04_09_05_3888.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1a26a2a67fbc7ba7cfa8ef90bf8b9781.jpg","text":"TemporaryFile(/tmp/multipartBody7967935389872315638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283123677,"filename":"image_18032025_04_08_53_4251.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e2ba13380a7f65cb9efb086b2c63ca68.jpg","text":"TemporaryFile(/tmp/multipartBody6672349277886663077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283123677,"filename":"image_18032025_04_08_58_4387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ae99de0ea00199c3f3b3ee61e1b508b0.jpg","text":"TemporaryFile(/tmp/multipartBody4609114086320111199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283123677,"filename":"image_18032025_04_08_46_4249.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345062155","file1":"1345062154","file0":"1345062153","file4":"1345062157","file5":"1345062160","file3":"1345062156"},"map_files_photo_id_array":[{"photo_id":"1345062160","filename":"file5"},{"photo_id":"1345062155","filename":"file2"},{"photo_id":"1345062157","filename":"file4"},{"photo_id":"1345062154","filename":"file1"},{"photo_id":"1345062153","filename":"file0"},{"photo_id":"1345062156","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345062157":["hashtag1","hashtag2"]},{"1345062154":["hashtag1","hashtag2"]},{"1345062153":["hashtag1","hashtag2"]},{"1345062156":["hashtag1","hashtag2"]},{"1345062155":["hashtag1","hashtag2"]},{"1345062160":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345062157, 1345062154, 1345062153, 1345062156, 1345062155, 1345062160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.146170139312744 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:32:03.204368
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_41_4049.jpg', 2), ('/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_37_4112.jpg', 2), ('/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_33_4174.jpg', 2), ('/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_29_4008.jpg', 2), ('/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_25_4074.jpg', 2), ('/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_21_4047.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_41_4049.jpg', '/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_37_4112.jpg', '/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_33_4174.jpg', '/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_29_4008.jpg', '/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_25_4074.jpg', '/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_21_4047.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_41_4049.jpg
/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_37_4112.jpg
/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_33_4174.jpg
/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_29_4008.jpg
/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_25_4074.jpg
/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_21_4047.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345062184","1345062198","1345062186","1345062189","1345062185","1345062187"],"photo_ids_order":["1345062184","1345062185","1345062186","1345062187","1345062189","1345062198"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1452eaa681c780a18b583803c5fdca6b.jpg","text":"TemporaryFile(/tmp/multipartBody1211977125016984814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283183670,"filename":"image_18032025_04_08_41_4049.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a631fe8a247f0de4049348c913cb9acd.jpg","text":"TemporaryFile(/tmp/multipartBody5787133820396871276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283183670,"filename":"image_18032025_04_08_21_4047.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ff892c879976c672bb4ba76f470faa4b.jpg","text":"TemporaryFile(/tmp/multipartBody2460741971010868362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283183670,"filename":"image_18032025_04_08_33_4174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0095594e3542d3890b5ea95fae22a3e9.jpg","text":"TemporaryFile(/tmp/multipartBody6811892840092507632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283183670,"filename":"image_18032025_04_08_25_4074.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e76f9a0d9e396015de689fbb55d950d3.jpg","text":"TemporaryFile(/tmp/multipartBody1789924655496967773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283183670,"filename":"image_18032025_04_08_37_4112.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/534a9e4e3759a1a1b3b716703bc475c5.jpg","text":"TemporaryFile(/tmp/multipartBody4790812751630113557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283183670,"filename":"image_18032025_04_08_29_4008.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345062186","file1":"1345062185","file0":"1345062184","file4":"1345062189","file5":"1345062198","file3":"1345062187"},"map_files_photo_id_array":[{"photo_id":"1345062198","filename":"file5"},{"photo_id":"1345062186","filename":"file2"},{"photo_id":"1345062189","filename":"file4"},{"photo_id":"1345062185","filename":"file1"},{"photo_id":"1345062184","filename":"file0"},{"photo_id":"1345062187","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345062184":["hashtag1","hashtag2"]},{"1345062198":["hashtag1","hashtag2"]},{"1345062186":["hashtag1","hashtag2"]},{"1345062189":["hashtag1","hashtag2"]},{"1345062185":["hashtag1","hashtag2"]},{"1345062187":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345062184, 1345062198, 1345062186, 1345062189, 1345062185, 1345062187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.0327250957489 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:33:03.296914
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_17_4006.jpg', 2), ('/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_13_3950.jpg', 2), ('/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_09_4186.jpg', 2), ('/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_05_3573.jpg', 2), ('/home/nano/Desktop/images/18032025/04/07/image_18032025_04_08_01_4186.jpg', 2), ('/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_57_3823.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_17_4006.jpg', '/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_13_3950.jpg', '/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_09_4186.jpg', '/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_05_3573.jpg', '/home/nano/Desktop/images/18032025/04/07/image_18032025_04_08_01_4186.jpg', '/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_57_3823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_17_4006.jpg
/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_13_3950.jpg
/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_09_4186.jpg
/home/nano/Desktop/images/18032025/04/08/image_18032025_04_08_05_3573.jpg
/home/nano/Desktop/images/18032025/04/07/image_18032025_04_08_01_4186.jpg
/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_57_3823.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345062241","1345062244","1345062243","1345062245","1345062248","1345062242"],"photo_ids_order":["1345062241","1345062242","1345062243","1345062244","1345062245","1345062248"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/60b2baa3ce26c4d845a9634c2cafd93f.jpg","text":"TemporaryFile(/tmp/multipartBody890171799858282020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283243727,"filename":"image_18032025_04_08_17_4006.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/106dd354947ce203da3b0b5bd17d5313.jpg","text":"TemporaryFile(/tmp/multipartBody2256262873729150167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283243727,"filename":"image_18032025_04_08_05_3573.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bab2cff2f068f4c5c457c36c5a832a7d.jpg","text":"TemporaryFile(/tmp/multipartBody8368013345710631627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283243727,"filename":"image_18032025_04_08_09_4186.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/52de59f968a62c2222d1099342d7ce81.jpg","text":"TemporaryFile(/tmp/multipartBody8392450433912756748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283243727,"filename":"image_18032025_04_08_01_4186.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0d867703d25d626a1a8f5c7a905ae216.jpg","text":"TemporaryFile(/tmp/multipartBody580673698250593165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283243727,"filename":"image_18032025_04_07_57_3823.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/27881cba894be9fbc24008e773f9eb31.jpg","text":"TemporaryFile(/tmp/multipartBody8585420642282718250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283243727,"filename":"image_18032025_04_08_13_3950.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345062243","file1":"1345062242","file0":"1345062241","file4":"1345062245","file5":"1345062248","file3":"1345062244"},"map_files_photo_id_array":[{"photo_id":"1345062248","filename":"file5"},{"photo_id":"1345062243","filename":"file2"},{"photo_id":"1345062245","filename":"file4"},{"photo_id":"1345062242","filename":"file1"},{"photo_id":"1345062241","filename":"file0"},{"photo_id":"1345062244","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345062241":["hashtag1","hashtag2"]},{"1345062244":["hashtag1","hashtag2"]},{"1345062243":["hashtag1","hashtag2"]},{"1345062245":["hashtag1","hashtag2"]},{"1345062248":["hashtag1","hashtag2"]},{"1345062242":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345062241, 1345062244, 1345062243, 1345062245, 1345062248, 1345062242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.99897837638855 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:34:02.964079
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_53_4189.jpg', 2), ('/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_49_4085.jpg', 2), ('/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_45_4034.jpg', 2), ('/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_41_4153.jpg', 2), ('/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_37_3123.jpg', 2), ('/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_34_4246.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_53_4189.jpg', '/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_49_4085.jpg', '/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_45_4034.jpg', '/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_41_4153.jpg', '/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_37_3123.jpg', '/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_34_4246.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_53_4189.jpg
/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_49_4085.jpg
/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_45_4034.jpg
/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_41_4153.jpg
/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_37_3123.jpg
/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_34_4246.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345062277","1345062271","1345062270","1345062273","1345062272","1345062274"],"photo_ids_order":["1345062270","1345062271","1345062272","1345062273","1345062274","1345062277"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cde8e8b7254987961a8597bb8b63eb7f.jpg","text":"TemporaryFile(/tmp/multipartBody7752402866916813413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283303389,"filename":"image_18032025_04_07_34_4246.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/25c848015651e0b0e24349ddf88e53e2.jpg","text":"TemporaryFile(/tmp/multipartBody7366245625086454411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283303389,"filename":"image_18032025_04_07_49_4085.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bc3d65a3961723f35974c6de5400f1b2.jpg","text":"TemporaryFile(/tmp/multipartBody3094743529909805030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283303389,"filename":"image_18032025_04_07_53_4189.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5fe7b8b3547cb2fcb6ddd3f2087c9998.jpg","text":"TemporaryFile(/tmp/multipartBody1359997064279739617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283303389,"filename":"image_18032025_04_07_41_4153.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ee0e9952963e879561b97a1b5ceac4f6.jpg","text":"TemporaryFile(/tmp/multipartBody6928844977229468439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283303389,"filename":"image_18032025_04_07_45_4034.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2e6a22ff9a07787a9f562daf87dc5215.jpg","text":"TemporaryFile(/tmp/multipartBody3281592554759247344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283303389,"filename":"image_18032025_04_07_37_3123.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345062272","file1":"1345062271","file0":"1345062270","file4":"1345062274","file5":"1345062277","file3":"1345062273"},"map_files_photo_id_array":[{"photo_id":"1345062277","filename":"file5"},{"photo_id":"1345062272","filename":"file2"},{"photo_id":"1345062274","filename":"file4"},{"photo_id":"1345062271","filename":"file1"},{"photo_id":"1345062270","filename":"file0"},{"photo_id":"1345062273","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345062277":["hashtag1","hashtag2"]},{"1345062271":["hashtag1","hashtag2"]},{"1345062270":["hashtag1","hashtag2"]},{"1345062273":["hashtag1","hashtag2"]},{"1345062272":["hashtag1","hashtag2"]},{"1345062274":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345062277, 1345062271, 1345062270, 1345062273, 1345062272, 1345062274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.04395890235901 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:35:02.883892
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_29_4352.jpg', 2), ('/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_25_4252.jpg', 2), ('/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_21_3329.jpg', 2), ('/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_17_4291.jpg', 2), ('/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_13_4392.jpg', 2), ('/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_09_3221.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_29_4352.jpg', '/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_25_4252.jpg', '/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_21_3329.jpg', '/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_17_4291.jpg', '/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_13_4392.jpg', '/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_09_3221.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_29_4352.jpg
/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_25_4252.jpg
/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_21_3329.jpg
/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_17_4291.jpg
/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_13_4392.jpg
/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_09_3221.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345062304","1345062303","1345062306","1345062309","1345062300","1345062302"],"photo_ids_order":["1345062300","1345062302","1345062303","1345062304","1345062306","1345062309"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ee9dd058eb5cafb3f02dddfedb7a6284.jpg","text":"TemporaryFile(/tmp/multipartBody7055857199788043277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283363341,"filename":"image_18032025_04_07_17_4291.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2047b3fee9aaaae0d26dc1659f58ae26.jpg","text":"TemporaryFile(/tmp/multipartBody6696940453188066085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283363341,"filename":"image_18032025_04_07_21_3329.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/29784e23d33dc5b86eceb02d9fdf35f8.jpg","text":"TemporaryFile(/tmp/multipartBody3877599549735753018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283363341,"filename":"image_18032025_04_07_13_4392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/614a0ce0bbb69a782a89712372355967.jpg","text":"TemporaryFile(/tmp/multipartBody6975999229337610667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283363341,"filename":"image_18032025_04_07_09_3221.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e0e91b72a89aecee8ba5be9d337e0fd4.jpg","text":"TemporaryFile(/tmp/multipartBody2415355431163711437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283363341,"filename":"image_18032025_04_07_29_4352.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c6df07b86c8d95e9279d42b69518bcca.jpg","text":"TemporaryFile(/tmp/multipartBody2968822477566668152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283363341,"filename":"image_18032025_04_07_25_4252.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345062303","file1":"1345062302","file0":"1345062300","file4":"1345062306","file5":"1345062309","file3":"1345062304"},"map_files_photo_id_array":[{"photo_id":"1345062309","filename":"file5"},{"photo_id":"1345062303","filename":"file2"},{"photo_id":"1345062306","filename":"file4"},{"photo_id":"1345062302","filename":"file1"},{"photo_id":"1345062300","filename":"file0"},{"photo_id":"1345062304","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345062304":["hashtag1","hashtag2"]},{"1345062303":["hashtag1","hashtag2"]},{"1345062306":["hashtag1","hashtag2"]},{"1345062309":["hashtag1","hashtag2"]},{"1345062300":["hashtag1","hashtag2"]},{"1345062302":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345062304, 1345062303, 1345062306, 1345062309, 1345062300, 1345062302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22691822052002 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:36:03.137690
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_06_4347.jpg', 2), ('/home/nano/Desktop/images/18032025/04/06/image_18032025_04_07_01_4074.jpg', 2), ('/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_57_4206.jpg', 2), ('/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_53_4198.jpg', 2), ('/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_49_3202.jpg', 2), ('/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_46_3960.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_06_4347.jpg', '/home/nano/Desktop/images/18032025/04/06/image_18032025_04_07_01_4074.jpg', '/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_57_4206.jpg', '/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_53_4198.jpg', '/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_49_3202.jpg', '/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_46_3960.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/04/07/image_18032025_04_07_06_4347.jpg
/home/nano/Desktop/images/18032025/04/06/image_18032025_04_07_01_4074.jpg
/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_57_4206.jpg
/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_53_4198.jpg
/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_49_3202.jpg
/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_46_3960.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345062331","1345062334","1345062333","1345062330","1345062332","1345062335"],"photo_ids_order":["1345062330","1345062331","1345062332","1345062333","1345062334","1345062335"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/086351f1026bd9ed04b26899598ef830.jpg","text":"TemporaryFile(/tmp/multipartBody1685689161709189748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283423636,"filename":"image_18032025_04_07_01_4074.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8387b8bd04ca37e2417e1c1d1d7b6c0b.jpg","text":"TemporaryFile(/tmp/multipartBody5029599998738000943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283423636,"filename":"image_18032025_04_06_49_3202.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e9becb25bee1665c072cfd10e1f43a55.jpg","text":"TemporaryFile(/tmp/multipartBody3793718757870656709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283423636,"filename":"image_18032025_04_06_53_4198.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/874ce9bf5f0aa4ba8cdc0a380c1444c5.jpg","text":"TemporaryFile(/tmp/multipartBody6644639844510181539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283423636,"filename":"image_18032025_04_07_06_4347.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b6e89c4e29e521cae3ccb5c5c929abf1.jpg","text":"TemporaryFile(/tmp/multipartBody5968488521110617589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283423636,"filename":"image_18032025_04_06_57_4206.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cee20bbc9e1d4a2b0ade4b8e727b89e0.jpg","text":"TemporaryFile(/tmp/multipartBody1961854552881498249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283423636,"filename":"image_18032025_04_06_46_3960.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345062332","file1":"1345062331","file0":"1345062330","file4":"1345062334","file5":"1345062335","file3":"1345062333"},"map_files_photo_id_array":[{"photo_id":"1345062335","filename":"file5"},{"photo_id":"1345062332","filename":"file2"},{"photo_id":"1345062334","filename":"file4"},{"photo_id":"1345062331","filename":"file1"},{"photo_id":"1345062330","filename":"file0"},{"photo_id":"1345062333","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345062331":["hashtag1","hashtag2"]},{"1345062334":["hashtag1","hashtag2"]},{"1345062333":["hashtag1","hashtag2"]},{"1345062330":["hashtag1","hashtag2"]},{"1345062332":["hashtag1","hashtag2"]},{"1345062335":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345062331, 1345062334, 1345062333, 1345062330, 1345062332, 1345062335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.657910346984863 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:37:03.363445
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_42_4053.jpg', 2), ('/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_38_4098.jpg', 2), ('/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_33_4085.jpg', 2), ('/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_29_4006.jpg', 2), ('/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_25_4013.jpg', 2), ('/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_21_4100.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_42_4053.jpg', '/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_38_4098.jpg', '/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_33_4085.jpg', '/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_29_4006.jpg', '/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_25_4013.jpg', '/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_21_4100.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_42_4053.jpg
/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_38_4098.jpg
/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_33_4085.jpg
/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_29_4006.jpg
/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_25_4013.jpg
/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_21_4100.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345062382","1345062361","1345062360","1345062371","1345062365","1345062385"],"photo_ids_order":["1345062360","1345062361","1345062365","1345062371","1345062382","1345062385"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2e7a15a7a6b2e3c866686b30b5347411.jpg","text":"TemporaryFile(/tmp/multipartBody4488633022256509938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283483826,"filename":"image_18032025_04_06_25_4013.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2ea6cd9b9bc8909d2d76b7d459c26f6d.jpg","text":"TemporaryFile(/tmp/multipartBody8361351385741666002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283483826,"filename":"image_18032025_04_06_38_4098.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e672a6548bed2957350e88af68980718.jpg","text":"TemporaryFile(/tmp/multipartBody4549042247016587411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283483826,"filename":"image_18032025_04_06_42_4053.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/958559460006f7378898a871acb95071.jpg","text":"TemporaryFile(/tmp/multipartBody8186122484437495297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283483826,"filename":"image_18032025_04_06_29_4006.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f29e12037792f0ef80a09751646c17c9.jpg","text":"TemporaryFile(/tmp/multipartBody8278425407492521402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283483826,"filename":"image_18032025_04_06_33_4085.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/054808501280a4ae9247a72551fd5943.jpg","text":"TemporaryFile(/tmp/multipartBody3907146681935781669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283483826,"filename":"image_18032025_04_06_21_4100.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345062365","file1":"1345062361","file0":"1345062360","file4":"1345062382","file5":"1345062385","file3":"1345062371"},"map_files_photo_id_array":[{"photo_id":"1345062385","filename":"file5"},{"photo_id":"1345062365","filename":"file2"},{"photo_id":"1345062382","filename":"file4"},{"photo_id":"1345062361","filename":"file1"},{"photo_id":"1345062360","filename":"file0"},{"photo_id":"1345062371","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345062382":["hashtag1","hashtag2"]},{"1345062361":["hashtag1","hashtag2"]},{"1345062360":["hashtag1","hashtag2"]},{"1345062371":["hashtag1","hashtag2"]},{"1345062365":["hashtag1","hashtag2"]},{"1345062385":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345062382, 1345062361, 1345062360, 1345062371, 1345062365, 1345062385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.182530403137207 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:38:03.309147
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_17_4140.jpg', 2), ('/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_13_4184.jpg', 2), ('/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_09_3207.jpg', 2), ('/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_06_4607.jpg', 2), ('/home/nano/Desktop/images/18032025/04/05/image_18032025_04_06_01_3992.jpg', 2), ('/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_57_4074.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_17_4140.jpg', '/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_13_4184.jpg', '/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_09_3207.jpg', '/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_06_4607.jpg', '/home/nano/Desktop/images/18032025/04/05/image_18032025_04_06_01_3992.jpg', '/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_57_4074.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_17_4140.jpg
/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_13_4184.jpg
/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_09_3207.jpg
/home/nano/Desktop/images/18032025/04/06/image_18032025_04_06_06_4607.jpg
/home/nano/Desktop/images/18032025/04/05/image_18032025_04_06_01_3992.jpg
/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_57_4074.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345062448","1345062445","1345062450","1345062447","1345062446","1345062449"],"photo_ids_order":["1345062445","1345062446","1345062447","1345062448","1345062449","1345062450"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a071409fe113303908ce9d807db523a9.jpg","text":"TemporaryFile(/tmp/multipartBody3844863565053728736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283543815,"filename":"image_18032025_04_06_06_4607.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f1a333ceed5d71c5aff40ff5c72c7c28.jpg","text":"TemporaryFile(/tmp/multipartBody2432309675485756503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283543815,"filename":"image_18032025_04_06_17_4140.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/73a0b85eb6659a7467102c88c8313d9e.jpg","text":"TemporaryFile(/tmp/multipartBody3014575006557734300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283543815,"filename":"image_18032025_04_05_57_4074.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f12388dedd76b4062717979d408b55bf.jpg","text":"TemporaryFile(/tmp/multipartBody2971013382131042554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283543815,"filename":"image_18032025_04_06_09_3207.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0f0c5de3a26b6d4a6325e14d0180794d.jpg","text":"TemporaryFile(/tmp/multipartBody4740240282366193328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283543815,"filename":"image_18032025_04_06_13_4184.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b3bee903f4591d391046064ab0557127.jpg","text":"TemporaryFile(/tmp/multipartBody2726493201365387877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283543815,"filename":"image_18032025_04_06_01_3992.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345062447","file1":"1345062446","file0":"1345062445","file4":"1345062449","file5":"1345062450","file3":"1345062448"},"map_files_photo_id_array":[{"photo_id":"1345062450","filename":"file5"},{"photo_id":"1345062447","filename":"file2"},{"photo_id":"1345062449","filename":"file4"},{"photo_id":"1345062446","filename":"file1"},{"photo_id":"1345062445","filename":"file0"},{"photo_id":"1345062448","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345062448":["hashtag1","hashtag2"]},{"1345062445":["hashtag1","hashtag2"]},{"1345062450":["hashtag1","hashtag2"]},{"1345062447":["hashtag1","hashtag2"]},{"1345062446":["hashtag1","hashtag2"]},{"1345062449":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345062448, 1345062445, 1345062450, 1345062447, 1345062446, 1345062449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.823374032974243 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:39:03.798099
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_53_4114.jpg', 2), ('/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_49_4120.jpg', 2), ('/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_45_3322.jpg', 2), ('/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_41_4349.jpg', 2), ('/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_37_4312.jpg', 2), ('/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_33_3329.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_53_4114.jpg', '/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_49_4120.jpg', '/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_45_3322.jpg', '/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_41_4349.jpg', '/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_37_4312.jpg', '/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_33_3329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_53_4114.jpg
/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_49_4120.jpg
/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_45_3322.jpg
/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_41_4349.jpg
/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_37_4312.jpg
/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_33_3329.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345062580","1345062553","1345062633","1345062519","1345062608","1345062499"],"photo_ids_order":["1345062499","1345062519","1345062553","1345062580","1345062608","1345062633"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c7537ebbfb90a5617113c4c57ff0c650.jpg","text":"TemporaryFile(/tmp/multipartBody892792253656617576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283604277,"filename":"image_18032025_04_05_41_4349.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2896cad5b4dd8222c28a2233863f1464.jpg","text":"TemporaryFile(/tmp/multipartBody6714606772725707929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283604277,"filename":"image_18032025_04_05_45_3322.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f841312c8badf0b98c3ef67f9d12d7e3.jpg","text":"TemporaryFile(/tmp/multipartBody15826112603040020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283604277,"filename":"image_18032025_04_05_33_3329.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/320f62f93c21887c7caa2da313ad7582.jpg","text":"TemporaryFile(/tmp/multipartBody1225128724664660937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283604277,"filename":"image_18032025_04_05_49_4120.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1aa8bb6f31668cd8aab876fc14759107.jpg","text":"TemporaryFile(/tmp/multipartBody3406350958221858980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283604277,"filename":"image_18032025_04_05_37_4312.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/74d408335b32d8709a46580ab25f4b35.jpg","text":"TemporaryFile(/tmp/multipartBody5039754671404367442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283604277,"filename":"image_18032025_04_05_53_4114.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345062553","file1":"1345062519","file0":"1345062499","file4":"1345062608","file5":"1345062633","file3":"1345062580"},"map_files_photo_id_array":[{"photo_id":"1345062633","filename":"file5"},{"photo_id":"1345062553","filename":"file2"},{"photo_id":"1345062608","filename":"file4"},{"photo_id":"1345062519","filename":"file1"},{"photo_id":"1345062499","filename":"file0"},{"photo_id":"1345062580","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345062580":["hashtag1","hashtag2"]},{"1345062553":["hashtag1","hashtag2"]},{"1345062633":["hashtag1","hashtag2"]},{"1345062519":["hashtag1","hashtag2"]},{"1345062608":["hashtag1","hashtag2"]},{"1345062499":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345062580, 1345062553, 1345062633, 1345062519, 1345062608, 1345062499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.365118265151978 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:40:02.685256
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_29_4251.jpg', 2), ('/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_25_4185.jpg', 2), ('/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_21_3360.jpg', 2), ('/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_18_4229.jpg', 2), ('/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_13_4241.jpg', 2), ('/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_09_4079.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_29_4251.jpg', '/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_25_4185.jpg', '/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_21_3360.jpg', '/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_18_4229.jpg', '/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_13_4241.jpg', '/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_09_4079.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_29_4251.jpg
/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_25_4185.jpg
/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_21_3360.jpg
/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_18_4229.jpg
/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_13_4241.jpg
/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_09_4079.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345062712","1345062711","1345062714","1345062716","1345062710","1345062713"],"photo_ids_order":["1345062710","1345062711","1345062712","1345062713","1345062714","1345062716"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7c41e8fc670f322b05b5b1ff0302c5aa.jpg","text":"TemporaryFile(/tmp/multipartBody8974316586103988235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283663121,"filename":"image_18032025_04_05_21_3360.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ac1cf735ae6c1da384f201403bcd3d60.jpg","text":"TemporaryFile(/tmp/multipartBody7928444819930661292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283663121,"filename":"image_18032025_04_05_25_4185.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/47169fdcbedd65b7ae942609aefa6774.jpg","text":"TemporaryFile(/tmp/multipartBody1834300165896742207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283663121,"filename":"image_18032025_04_05_13_4241.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/edb58fb344ba18ad1d677ae710813196.jpg","text":"TemporaryFile(/tmp/multipartBody5058467826896840446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283663121,"filename":"image_18032025_04_05_09_4079.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2dd9eef600d141c9a5e78f4dd87d615d.jpg","text":"TemporaryFile(/tmp/multipartBody2920041026448553530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283663121,"filename":"image_18032025_04_05_29_4251.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b704b0fd06d63493ea3cc892155b75bc.jpg","text":"TemporaryFile(/tmp/multipartBody4763581809280527557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283663121,"filename":"image_18032025_04_05_18_4229.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345062712","file1":"1345062711","file0":"1345062710","file4":"1345062714","file5":"1345062716","file3":"1345062713"},"map_files_photo_id_array":[{"photo_id":"1345062716","filename":"file5"},{"photo_id":"1345062712","filename":"file2"},{"photo_id":"1345062714","filename":"file4"},{"photo_id":"1345062711","filename":"file1"},{"photo_id":"1345062710","filename":"file0"},{"photo_id":"1345062713","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345062712":["hashtag1","hashtag2"]},{"1345062711":["hashtag1","hashtag2"]},{"1345062714":["hashtag1","hashtag2"]},{"1345062716":["hashtag1","hashtag2"]},{"1345062710":["hashtag1","hashtag2"]},{"1345062713":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345062712, 1345062711, 1345062714, 1345062716, 1345062710, 1345062713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.643994331359863 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:41:02.884509
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_05_3988.jpg', 2), ('/home/nano/Desktop/images/18032025/04/04/image_18032025_04_05_01_4161.jpg', 2), ('/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_57_4058.jpg', 2), ('/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_53_4088.jpg', 2), ('/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_49_4105.jpg', 2), ('/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_45_3090.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_05_3988.jpg', '/home/nano/Desktop/images/18032025/04/04/image_18032025_04_05_01_4161.jpg', '/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_57_4058.jpg', '/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_53_4088.jpg', '/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_49_4105.jpg', '/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_45_3090.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/04/05/image_18032025_04_05_05_3988.jpg
/home/nano/Desktop/images/18032025/04/04/image_18032025_04_05_01_4161.jpg
/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_57_4058.jpg
/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_53_4088.jpg
/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_49_4105.jpg
/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_45_3090.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345062745","1345062741","1345062738","1345062747","1345062752","1345062743"],"photo_ids_order":["1345062738","1345062741","1345062743","1345062745","1345062747","1345062752"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c4c6965d5be582d874b96ef3a1c99189.jpg","text":"TemporaryFile(/tmp/multipartBody2836883422601926314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283723339,"filename":"image_18032025_04_04_53_4088.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8dafdbf000ac2e653f7ee084375629cd.jpg","text":"TemporaryFile(/tmp/multipartBody4015567243722626449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283723339,"filename":"image_18032025_04_05_01_4161.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4e3ebabb22ea11e2848503c5f46254c4.jpg","text":"TemporaryFile(/tmp/multipartBody5873843508059945360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283723339,"filename":"image_18032025_04_05_05_3988.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/333a014f5043188d9498d0d75a609fd2.jpg","text":"TemporaryFile(/tmp/multipartBody3855542301946278816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283723339,"filename":"image_18032025_04_04_49_4105.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/56d32f96a00a50ea9d7229d746833367.jpg","text":"TemporaryFile(/tmp/multipartBody3221395002499344967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283723339,"filename":"image_18032025_04_04_45_3090.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7dcf78d25c8771b90a62ca9d8be52e36.jpg","text":"TemporaryFile(/tmp/multipartBody2286297672843735008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283723339,"filename":"image_18032025_04_04_57_4058.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345062743","file1":"1345062741","file0":"1345062738","file4":"1345062747","file5":"1345062752","file3":"1345062745"},"map_files_photo_id_array":[{"photo_id":"1345062752","filename":"file5"},{"photo_id":"1345062743","filename":"file2"},{"photo_id":"1345062747","filename":"file4"},{"photo_id":"1345062741","filename":"file1"},{"photo_id":"1345062738","filename":"file0"},{"photo_id":"1345062745","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345062745":["hashtag1","hashtag2"]},{"1345062741":["hashtag1","hashtag2"]},{"1345062738":["hashtag1","hashtag2"]},{"1345062747":["hashtag1","hashtag2"]},{"1345062752":["hashtag1","hashtag2"]},{"1345062743":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345062745, 1345062741, 1345062738, 1345062747, 1345062752, 1345062743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.20953035354614 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:42:03.074718
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_42_4092.jpg', 2), ('/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_38_4016.jpg', 2), ('/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_34_4091.jpg', 2), ('/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_29_4041.jpg', 2), ('/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_25_4131.jpg', 2), ('/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_21_4130.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_42_4092.jpg', '/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_38_4016.jpg', '/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_34_4091.jpg', '/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_29_4041.jpg', '/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_25_4131.jpg', '/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_21_4130.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_42_4092.jpg
/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_38_4016.jpg
/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_34_4091.jpg
/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_29_4041.jpg
/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_25_4131.jpg
/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_21_4130.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345062783","1345062777","1345062779","1345062788","1345062781","1345062775"],"photo_ids_order":["1345062775","1345062777","1345062779","1345062781","1345062783","1345062788"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f56ba7507a9b82750080077494533021.jpg","text":"TemporaryFile(/tmp/multipartBody3978708270361206497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283783576,"filename":"image_18032025_04_04_25_4131.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7d6bd9dae4592eefd8270e4f4b18f61e.jpg","text":"TemporaryFile(/tmp/multipartBody8808021687490775223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283783576,"filename":"image_18032025_04_04_38_4016.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4d5c2e01ad509d752aeca7fe54affc69.jpg","text":"TemporaryFile(/tmp/multipartBody835056599013879709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283783576,"filename":"image_18032025_04_04_34_4091.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/152ffd95a6b1cbff9d23c0cb4d0b7fb2.jpg","text":"TemporaryFile(/tmp/multipartBody6924117289142163049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283783576,"filename":"image_18032025_04_04_21_4130.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6fce8ee348065c25ef579d2e106a5308.jpg","text":"TemporaryFile(/tmp/multipartBody4665942459429566184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283783576,"filename":"image_18032025_04_04_29_4041.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b06f3a6a7b6285536fcb088452b5c138.jpg","text":"TemporaryFile(/tmp/multipartBody3918805130827732046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283783576,"filename":"image_18032025_04_04_42_4092.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345062779","file1":"1345062777","file0":"1345062775","file4":"1345062783","file5":"1345062788","file3":"1345062781"},"map_files_photo_id_array":[{"photo_id":"1345062788","filename":"file5"},{"photo_id":"1345062779","filename":"file2"},{"photo_id":"1345062783","filename":"file4"},{"photo_id":"1345062777","filename":"file1"},{"photo_id":"1345062775","filename":"file0"},{"photo_id":"1345062781","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345062783":["hashtag1","hashtag2"]},{"1345062777":["hashtag1","hashtag2"]},{"1345062779":["hashtag1","hashtag2"]},{"1345062788":["hashtag1","hashtag2"]},{"1345062781":["hashtag1","hashtag2"]},{"1345062775":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345062783, 1345062777, 1345062779, 1345062788, 1345062781, 1345062775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.09211206436157 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:43:03.261056
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_17_4104.jpg', 2), ('/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_13_4071.jpg', 2), ('/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_09_4182.jpg', 2), ('/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_05_3613.jpg', 2), ('/home/nano/Desktop/images/18032025/04/03/image_18032025_04_04_01_4117.jpg', 2), ('/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_57_4032.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_17_4104.jpg', '/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_13_4071.jpg', '/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_09_4182.jpg', '/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_05_3613.jpg', '/home/nano/Desktop/images/18032025/04/03/image_18032025_04_04_01_4117.jpg', '/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_57_4032.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_17_4104.jpg
/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_13_4071.jpg
/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_09_4182.jpg
/home/nano/Desktop/images/18032025/04/04/image_18032025_04_04_05_3613.jpg
/home/nano/Desktop/images/18032025/04/03/image_18032025_04_04_01_4117.jpg
/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_57_4032.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345062817","1345062840","1345062834","1345062842","1345062830","1345062856"],"photo_ids_order":["1345062817","1345062830","1345062834","1345062840","1345062842","1345062856"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8df3d3fbea02a34cb5f00616bf776e26.jpg","text":"TemporaryFile(/tmp/multipartBody8974194631715160863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283843729,"filename":"image_18032025_04_04_17_4104.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/778a98ff63aa66bd88753da08d1e3e7e.jpg","text":"TemporaryFile(/tmp/multipartBody6273437992259217076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283843729,"filename":"image_18032025_04_04_05_3613.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/285b493592ca6c854c3fbeb24e0b4f07.jpg","text":"TemporaryFile(/tmp/multipartBody2518846852776047751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283843729,"filename":"image_18032025_04_04_09_4182.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/47f6d6a148759c7cd09533dbe6186967.jpg","text":"TemporaryFile(/tmp/multipartBody628556797605544125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283843729,"filename":"image_18032025_04_04_01_4117.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/613251ed25109d6fe57bd9c26247ed9a.jpg","text":"TemporaryFile(/tmp/multipartBody4104749316405989703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283843729,"filename":"image_18032025_04_04_13_4071.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1b38b60fb3d8d5c58f30f9a76d44509d.jpg","text":"TemporaryFile(/tmp/multipartBody7767871721242747861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283843729,"filename":"image_18032025_04_03_57_4032.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345062834","file1":"1345062830","file0":"1345062817","file4":"1345062842","file5":"1345062856","file3":"1345062840"},"map_files_photo_id_array":[{"photo_id":"1345062856","filename":"file5"},{"photo_id":"1345062834","filename":"file2"},{"photo_id":"1345062842","filename":"file4"},{"photo_id":"1345062830","filename":"file1"},{"photo_id":"1345062817","filename":"file0"},{"photo_id":"1345062840","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345062817":["hashtag1","hashtag2"]},{"1345062840":["hashtag1","hashtag2"]},{"1345062834":["hashtag1","hashtag2"]},{"1345062842":["hashtag1","hashtag2"]},{"1345062830":["hashtag1","hashtag2"]},{"1345062856":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345062817, 1345062840, 1345062834, 1345062842, 1345062830, 1345062856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.723893642425537 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:44:03.807098
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_53_4151.jpg', 2), ('/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_49_4135.jpg', 2), ('/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_45_3176.jpg', 2), ('/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_42_4241.jpg', 2), ('/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_37_4232.jpg', 2), ('/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_33_4152.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_53_4151.jpg', '/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_49_4135.jpg', '/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_45_3176.jpg', '/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_42_4241.jpg', '/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_37_4232.jpg', '/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_33_4152.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_53_4151.jpg
/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_49_4135.jpg
/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_45_3176.jpg
/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_42_4241.jpg
/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_37_4232.jpg
/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_33_4152.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345062901","1345062906","1345062896","1345062899","1345062890","1345062893"],"photo_ids_order":["1345062890","1345062893","1345062896","1345062899","1345062901","1345062906"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3667a66855fcf63b79c445a0f9a1d8b0.jpg","text":"TemporaryFile(/tmp/multipartBody713098382250521159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283904299,"filename":"image_18032025_04_03_37_4232.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/87a02d01bcb0b0792b151e1aab7a3fca.jpg","text":"TemporaryFile(/tmp/multipartBody1473803041837117122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283904299,"filename":"image_18032025_04_03_33_4152.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d1883b9be2d267785bfdad31a189e816.jpg","text":"TemporaryFile(/tmp/multipartBody2101331917103930158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283904299,"filename":"image_18032025_04_03_45_3176.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/618ce5ed9e7ea6a0d21fa58e936b0316.jpg","text":"TemporaryFile(/tmp/multipartBody7193677926480843939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283904299,"filename":"image_18032025_04_03_42_4241.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/29ac02f0694b19ec0ae49008d63e94e7.jpg","text":"TemporaryFile(/tmp/multipartBody3830478735418191425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283904299,"filename":"image_18032025_04_03_53_4151.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4f906d9eface64d0306f1ac7073264bd.jpg","text":"TemporaryFile(/tmp/multipartBody3361533511406449177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283904299,"filename":"image_18032025_04_03_49_4135.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345062896","file1":"1345062893","file0":"1345062890","file4":"1345062901","file5":"1345062906","file3":"1345062899"},"map_files_photo_id_array":[{"photo_id":"1345062906","filename":"file5"},{"photo_id":"1345062896","filename":"file2"},{"photo_id":"1345062901","filename":"file4"},{"photo_id":"1345062893","filename":"file1"},{"photo_id":"1345062890","filename":"file0"},{"photo_id":"1345062899","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345062901":["hashtag1","hashtag2"]},{"1345062906":["hashtag1","hashtag2"]},{"1345062896":["hashtag1","hashtag2"]},{"1345062899":["hashtag1","hashtag2"]},{"1345062890":["hashtag1","hashtag2"]},{"1345062893":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345062901, 1345062906, 1345062896, 1345062899, 1345062890, 1345062893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.01816415786743 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:45:03.506066
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_29_3337.jpg', 2), ('/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_26_4318.jpg', 2), ('/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_21_4265.jpg', 2), ('/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_17_3894.jpg', 2), ('/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_13_4242.jpg', 2), ('/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_09_4132.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_29_3337.jpg', '/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_26_4318.jpg', '/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_21_4265.jpg', '/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_17_3894.jpg', '/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_13_4242.jpg', '/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_09_4132.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_29_3337.jpg
/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_26_4318.jpg
/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_21_4265.jpg
/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_17_3894.jpg
/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_13_4242.jpg
/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_09_4132.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.4055969715118408 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:45:32.807684
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_29_3337.jpg', 2), ('/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_26_4318.jpg', 2), ('/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_21_4265.jpg', 2), ('/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_17_3894.jpg', 2), ('/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_13_4242.jpg', 2), ('/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_09_4132.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_29_3337.jpg', '/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_26_4318.jpg', '/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_21_4265.jpg', '/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_17_3894.jpg', '/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_13_4242.jpg', '/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_09_4132.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_29_3337.jpg
/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_26_4318.jpg
/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_21_4265.jpg
/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_17_3894.jpg
/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_13_4242.jpg
/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_09_4132.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345063111","1345063120","1345063131","1345063125","1345063107","1345063115"],"photo_ids_order":["1345063107","1345063111","1345063115","1345063120","1345063125","1345063131"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2c391f3d4e4e3ba1086e00c8f9d3a4da.jpg","text":"TemporaryFile(/tmp/multipartBody6773089524517959537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283993229,"filename":"image_18032025_04_03_26_4318.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a8924902f40aeb60e0a6247195ad942b.jpg","text":"TemporaryFile(/tmp/multipartBody1194860440807984139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283993229,"filename":"image_18032025_04_03_17_3894.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/10d89f8ca1af32e552844d842a8ce0be.jpg","text":"TemporaryFile(/tmp/multipartBody5750583269793896754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283993229,"filename":"image_18032025_04_03_09_4132.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d060c7304f5b5e5bd9fc72e1e72b7b52.jpg","text":"TemporaryFile(/tmp/multipartBody1411942453207877558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283993229,"filename":"image_18032025_04_03_13_4242.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9bb51c4e47b57dcfc18fe470ad59c451.jpg","text":"TemporaryFile(/tmp/multipartBody2392682226737601854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283993229,"filename":"image_18032025_04_03_29_3337.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a6ec9913c1894bbf376fdb2dec91be2b.jpg","text":"TemporaryFile(/tmp/multipartBody8638926392555086148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742283993229,"filename":"image_18032025_04_03_21_4265.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345063115","file1":"1345063111","file0":"1345063107","file4":"1345063125","file5":"1345063131","file3":"1345063120"},"map_files_photo_id_array":[{"photo_id":"1345063131","filename":"file5"},{"photo_id":"1345063115","filename":"file2"},{"photo_id":"1345063125","filename":"file4"},{"photo_id":"1345063111","filename":"file1"},{"photo_id":"1345063107","filename":"file0"},{"photo_id":"1345063120","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345063111":["hashtag1","hashtag2"]},{"1345063120":["hashtag1","hashtag2"]},{"1345063131":["hashtag1","hashtag2"]},{"1345063125":["hashtag1","hashtag2"]},{"1345063107":["hashtag1","hashtag2"]},{"1345063115":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345063111, 1345063120, 1345063131, 1345063125, 1345063107, 1345063115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.77119541168213 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:46:31.959289
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_05_3514.jpg', 2), ('/home/nano/Desktop/images/18032025/04/02/image_18032025_04_03_01_4141.jpg', 2), ('/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_57_4194.jpg', 2), ('/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_53_3998.jpg', 2), ('/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_49_3166.jpg', 2), ('/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_46_4147.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_05_3514.jpg', '/home/nano/Desktop/images/18032025/04/02/image_18032025_04_03_01_4141.jpg', '/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_57_4194.jpg', '/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_53_3998.jpg', '/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_49_3166.jpg', '/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_46_4147.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/04/03/image_18032025_04_03_05_3514.jpg
/home/nano/Desktop/images/18032025/04/02/image_18032025_04_03_01_4141.jpg
/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_57_4194.jpg
/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_53_3998.jpg
/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_49_3166.jpg
/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_46_4147.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345063149","1345063137","1345063145","1345063153","1345063156","1345063141"],"photo_ids_order":["1345063137","1345063141","1345063145","1345063149","1345063153","1345063156"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3df5a3296f1ecb839adc500e5f9aca0a.jpg","text":"TemporaryFile(/tmp/multipartBody8640527812592500329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284052415,"filename":"image_18032025_04_02_53_3998.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f1d521f8cc0455f29b9a23886d9c5d75.jpg","text":"TemporaryFile(/tmp/multipartBody7056187778970476764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284052415,"filename":"image_18032025_04_03_05_3514.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f771f844a9c4ff64fd8205fdb633b3b2.jpg","text":"TemporaryFile(/tmp/multipartBody1421465397707823354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284052415,"filename":"image_18032025_04_02_57_4194.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/301cea861f1d4d89360dc2829685b266.jpg","text":"TemporaryFile(/tmp/multipartBody8025842678475928465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284052415,"filename":"image_18032025_04_02_49_3166.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bc5a3f3291df443daafce2ffb3901e70.jpg","text":"TemporaryFile(/tmp/multipartBody5512532208424925047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284052415,"filename":"image_18032025_04_02_46_4147.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4690b97fd06cfa2b171cf8ab61fcbc26.jpg","text":"TemporaryFile(/tmp/multipartBody722289432435069014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284052415,"filename":"image_18032025_04_03_01_4141.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345063145","file1":"1345063141","file0":"1345063137","file4":"1345063153","file5":"1345063156","file3":"1345063149"},"map_files_photo_id_array":[{"photo_id":"1345063156","filename":"file5"},{"photo_id":"1345063145","filename":"file2"},{"photo_id":"1345063153","filename":"file4"},{"photo_id":"1345063141","filename":"file1"},{"photo_id":"1345063137","filename":"file0"},{"photo_id":"1345063149","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345063149":["hashtag1","hashtag2"]},{"1345063137":["hashtag1","hashtag2"]},{"1345063145":["hashtag1","hashtag2"]},{"1345063153":["hashtag1","hashtag2"]},{"1345063156":["hashtag1","hashtag2"]},{"1345063141":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345063149, 1345063137, 1345063145, 1345063153, 1345063156, 1345063141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.74204969406128 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:47:32.142802
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_42_4113.jpg', 2), ('/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_37_4131.jpg', 2), ('/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_33_4079.jpg', 2), ('/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_29_4102.jpg', 2), ('/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_25_4000.jpg', 2), ('/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_21_3903.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_42_4113.jpg', '/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_37_4131.jpg', '/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_33_4079.jpg', '/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_29_4102.jpg', '/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_25_4000.jpg', '/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_21_3903.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_42_4113.jpg
/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_37_4131.jpg
/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_33_4079.jpg
/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_29_4102.jpg
/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_25_4000.jpg
/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_21_3903.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345063176","1345063188","1345063167","1345063181","1345063184","1345063171"],"photo_ids_order":["1345063167","1345063171","1345063176","1345063181","1345063184","1345063188"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/498c2b7a6c5222fe64d042943b11bc63.jpg","text":"TemporaryFile(/tmp/multipartBody7875441631235278392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284112599,"filename":"image_18032025_04_02_33_4079.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/be344aca1ab83f514cfbcb8918238bbe.jpg","text":"TemporaryFile(/tmp/multipartBody3069484110244987087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284112599,"filename":"image_18032025_04_02_21_3903.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/605a0d14fd2b0cd90fe457348834b625.jpg","text":"TemporaryFile(/tmp/multipartBody1991286869822538400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284112599,"filename":"image_18032025_04_02_42_4113.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cd142dfc649dc242cee679b7959989db.jpg","text":"TemporaryFile(/tmp/multipartBody7387599569413134400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284112599,"filename":"image_18032025_04_02_29_4102.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bff8dc2c412ed2355b637ffe0f222ecb.jpg","text":"TemporaryFile(/tmp/multipartBody1225724468195619815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284112599,"filename":"image_18032025_04_02_25_4000.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4120c9198ddc31a40f3a8eb170cd7abc.jpg","text":"TemporaryFile(/tmp/multipartBody5416325183073666876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284112599,"filename":"image_18032025_04_02_37_4131.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345063176","file1":"1345063171","file0":"1345063167","file4":"1345063184","file5":"1345063188","file3":"1345063181"},"map_files_photo_id_array":[{"photo_id":"1345063188","filename":"file5"},{"photo_id":"1345063176","filename":"file2"},{"photo_id":"1345063184","filename":"file4"},{"photo_id":"1345063171","filename":"file1"},{"photo_id":"1345063167","filename":"file0"},{"photo_id":"1345063181","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345063176":["hashtag1","hashtag2"]},{"1345063188":["hashtag1","hashtag2"]},{"1345063167":["hashtag1","hashtag2"]},{"1345063181":["hashtag1","hashtag2"]},{"1345063184":["hashtag1","hashtag2"]},{"1345063171":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345063176, 1345063188, 1345063167, 1345063181, 1345063184, 1345063171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.711270809173584 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:48:32.311729
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_17_4077.jpg', 2), ('/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_13_4155.jpg', 2), ('/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_09_4172.jpg', 2), ('/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_05_3510.jpg', 2), ('/home/nano/Desktop/images/18032025/04/01/image_18032025_04_02_01_4191.jpg', 2), ('/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_57_4201.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_17_4077.jpg', '/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_13_4155.jpg', '/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_09_4172.jpg', '/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_05_3510.jpg', '/home/nano/Desktop/images/18032025/04/01/image_18032025_04_02_01_4191.jpg', '/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_57_4201.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_17_4077.jpg
/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_13_4155.jpg
/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_09_4172.jpg
/home/nano/Desktop/images/18032025/04/02/image_18032025_04_02_05_3510.jpg
/home/nano/Desktop/images/18032025/04/01/image_18032025_04_02_01_4191.jpg
/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_57_4201.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345063210","1345063201","1345063215","1345063224","1345063205","1345063220"],"photo_ids_order":["1345063201","1345063205","1345063210","1345063215","1345063220","1345063224"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f5c888227034a64adbfcf0fbf04361cf.jpg","text":"TemporaryFile(/tmp/multipartBody881908479798633043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284172755,"filename":"image_18032025_04_02_09_4172.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c675da4663aa66e422b4bdfdacaeb2d5.jpg","text":"TemporaryFile(/tmp/multipartBody334340495667592609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284172755,"filename":"image_18032025_04_02_17_4077.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/80095c26212bc1424a4582d44b52c653.jpg","text":"TemporaryFile(/tmp/multipartBody5517005615973601689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284172755,"filename":"image_18032025_04_02_05_3510.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/be2fb08cc14e2544a3c65cf57b17505a.jpg","text":"TemporaryFile(/tmp/multipartBody4049280732359484259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284172755,"filename":"image_18032025_04_01_57_4201.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/549e792b126b0b4694ad81f930d93a6f.jpg","text":"TemporaryFile(/tmp/multipartBody2681649717747538511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284172755,"filename":"image_18032025_04_02_13_4155.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8727e30b110842b5e10ceb16a0612059.jpg","text":"TemporaryFile(/tmp/multipartBody7240333247270007402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284172755,"filename":"image_18032025_04_02_01_4191.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345063210","file1":"1345063205","file0":"1345063201","file4":"1345063220","file5":"1345063224","file3":"1345063215"},"map_files_photo_id_array":[{"photo_id":"1345063224","filename":"file5"},{"photo_id":"1345063210","filename":"file2"},{"photo_id":"1345063220","filename":"file4"},{"photo_id":"1345063205","filename":"file1"},{"photo_id":"1345063201","filename":"file0"},{"photo_id":"1345063215","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345063210":["hashtag1","hashtag2"]},{"1345063201":["hashtag1","hashtag2"]},{"1345063215":["hashtag1","hashtag2"]},{"1345063224":["hashtag1","hashtag2"]},{"1345063205":["hashtag1","hashtag2"]},{"1345063220":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345063210, 1345063201, 1345063215, 1345063224, 1345063205, 1345063220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.3012478351593 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:49:32.471634
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_53_4133.jpg', 2), ('/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_49_3113.jpg', 2), ('/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_46_4026.jpg', 2), ('/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_42_4181.jpg', 2), ('/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_37_4073.jpg', 2), ('/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_33_4149.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_53_4133.jpg', '/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_49_3113.jpg', '/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_46_4026.jpg', '/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_42_4181.jpg', '/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_37_4073.jpg', '/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_33_4149.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_53_4133.jpg
/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_49_3113.jpg
/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_46_4026.jpg
/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_42_4181.jpg
/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_37_4073.jpg
/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_33_4149.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345063260","1345063242","1345063236","1345063247","1345063282","1345063264"],"photo_ids_order":["1345063236","1345063242","1345063247","1345063260","1345063264","1345063282"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0d06cabc430964cadc994911d0aac2e0.jpg","text":"TemporaryFile(/tmp/multipartBody2049017290068204483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284232931,"filename":"image_18032025_04_01_42_4181.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a2c954958cd85bc89ddf2b5b1a25ab0e.jpg","text":"TemporaryFile(/tmp/multipartBody2960537346753163061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284232931,"filename":"image_18032025_04_01_49_3113.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c768bdd3be211c38f0f9159daa4795f5.jpg","text":"TemporaryFile(/tmp/multipartBody5798400343426379881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284232931,"filename":"image_18032025_04_01_53_4133.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fd9c46ddc6a2fa87a7342aee28d5da92.jpg","text":"TemporaryFile(/tmp/multipartBody5821856528452080288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284232931,"filename":"image_18032025_04_01_46_4026.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/51b381fd9950f87a232d8c6b348d6784.jpg","text":"TemporaryFile(/tmp/multipartBody7990467451882289892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284232931,"filename":"image_18032025_04_01_33_4149.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4bcc8380b6ddc46b2b59cf2c0d7de695.jpg","text":"TemporaryFile(/tmp/multipartBody4619109080731445211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284232931,"filename":"image_18032025_04_01_37_4073.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345063247","file1":"1345063242","file0":"1345063236","file4":"1345063264","file5":"1345063282","file3":"1345063260"},"map_files_photo_id_array":[{"photo_id":"1345063282","filename":"file5"},{"photo_id":"1345063247","filename":"file2"},{"photo_id":"1345063264","filename":"file4"},{"photo_id":"1345063242","filename":"file1"},{"photo_id":"1345063236","filename":"file0"},{"photo_id":"1345063260","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345063260":["hashtag1","hashtag2"]},{"1345063242":["hashtag1","hashtag2"]},{"1345063236":["hashtag1","hashtag2"]},{"1345063247":["hashtag1","hashtag2"]},{"1345063282":["hashtag1","hashtag2"]},{"1345063264":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345063260, 1345063242, 1345063236, 1345063247, 1345063282, 1345063264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.060234785079956 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:50:32.661668
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_29_4230.jpg', 2), ('/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_25_4249.jpg', 2), ('/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_21_3216.jpg', 2), ('/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_18_4257.jpg', 2), ('/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_13_4189.jpg', 2), ('/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_09_4311.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_29_4230.jpg', '/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_25_4249.jpg', '/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_21_3216.jpg', '/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_18_4257.jpg', '/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_13_4189.jpg', '/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_09_4311.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_29_4230.jpg
/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_25_4249.jpg
/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_21_3216.jpg
/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_18_4257.jpg
/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_13_4189.jpg
/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_09_4311.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345063324","1345063341","1345063329","1345063337","1345063345","1345063333"],"photo_ids_order":["1345063324","1345063329","1345063333","1345063337","1345063341","1345063345"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3e3d74349f8e81232a8e73defd1d64e5.jpg","text":"TemporaryFile(/tmp/multipartBody6804177972114034838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284293125,"filename":"image_18032025_04_01_29_4230.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ffa4ff6e58f455dbe71e906e87b9cf40.jpg","text":"TemporaryFile(/tmp/multipartBody4109772572821776664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284293125,"filename":"image_18032025_04_01_13_4189.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/648b068159eba33220956d1655dbd27e.jpg","text":"TemporaryFile(/tmp/multipartBody3698309914677387781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284293125,"filename":"image_18032025_04_01_25_4249.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e4c6920443811f924caa0bf4c257f03e.jpg","text":"TemporaryFile(/tmp/multipartBody8498220553602738189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284293125,"filename":"image_18032025_04_01_18_4257.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0cbce42ef8735f642cb35bc4f8d77263.jpg","text":"TemporaryFile(/tmp/multipartBody5110536170749102436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284293125,"filename":"image_18032025_04_01_09_4311.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/060c63541bf287d4af31843992dedbb7.jpg","text":"TemporaryFile(/tmp/multipartBody7083577002344351884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284293125,"filename":"image_18032025_04_01_21_3216.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345063333","file1":"1345063329","file0":"1345063324","file4":"1345063341","file5":"1345063345","file3":"1345063337"},"map_files_photo_id_array":[{"photo_id":"1345063345","filename":"file5"},{"photo_id":"1345063333","filename":"file2"},{"photo_id":"1345063341","filename":"file4"},{"photo_id":"1345063329","filename":"file1"},{"photo_id":"1345063324","filename":"file0"},{"photo_id":"1345063337","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345063324":["hashtag1","hashtag2"]},{"1345063341":["hashtag1","hashtag2"]},{"1345063329":["hashtag1","hashtag2"]},{"1345063337":["hashtag1","hashtag2"]},{"1345063345":["hashtag1","hashtag2"]},{"1345063333":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345063324, 1345063341, 1345063329, 1345063337, 1345063345, 1345063333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.219561338424683 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:51:31.867692
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_05_3643.jpg', 2), ('/home/nano/Desktop/images/18032025/04/00/image_18032025_04_01_01_4102.jpg', 2), ('/home/nano/Desktop/images/18032025/03/59/image_18032025_04_00_01_3874.jpg', 2), ('/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_57_4011.jpg', 2), ('/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_53_4150.jpg', 2), ('/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_49_4131.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_05_3643.jpg', '/home/nano/Desktop/images/18032025/04/00/image_18032025_04_01_01_4102.jpg', '/home/nano/Desktop/images/18032025/03/59/image_18032025_04_00_01_3874.jpg', '/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_57_4011.jpg', '/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_53_4150.jpg', '/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_49_4131.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/04/01/image_18032025_04_01_05_3643.jpg
/home/nano/Desktop/images/18032025/04/00/image_18032025_04_01_01_4102.jpg
/home/nano/Desktop/images/18032025/03/59/image_18032025_04_00_01_3874.jpg
/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_57_4011.jpg
/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_53_4150.jpg
/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_49_4131.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345063374","1345063377","1345063362","1345063370","1345063366","1345063357"],"photo_ids_order":["1345063357","1345063362","1345063366","1345063370","1345063374","1345063377"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2fafe6bec46a858cde5d0d403a734841.jpg","text":"TemporaryFile(/tmp/multipartBody1905931549337695860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284352301,"filename":"image_18032025_03_59_53_4150.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d4591332e193686ffb0253803f48cf07.jpg","text":"TemporaryFile(/tmp/multipartBody9153598929545643927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284352301,"filename":"image_18032025_03_59_49_4131.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3e343ecb52f9b3950d523264da59ca61.jpg","text":"TemporaryFile(/tmp/multipartBody3441694180932292920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284352301,"filename":"image_18032025_04_01_01_4102.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/76837706a7e727091be9496b5d3a866a.jpg","text":"TemporaryFile(/tmp/multipartBody5919505379800068651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284352301,"filename":"image_18032025_03_59_57_4011.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a73dea275816a2e12cd58f1a528ceb76.jpg","text":"TemporaryFile(/tmp/multipartBody3321704490577492800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284352301,"filename":"image_18032025_04_00_01_3874.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3b947338b1f9f1741f1cf03cb22f985b.jpg","text":"TemporaryFile(/tmp/multipartBody7875837182918689934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284352301,"filename":"image_18032025_04_01_05_3643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345063366","file1":"1345063362","file0":"1345063357","file4":"1345063374","file5":"1345063377","file3":"1345063370"},"map_files_photo_id_array":[{"photo_id":"1345063377","filename":"file5"},{"photo_id":"1345063366","filename":"file2"},{"photo_id":"1345063374","filename":"file4"},{"photo_id":"1345063362","filename":"file1"},{"photo_id":"1345063357","filename":"file0"},{"photo_id":"1345063370","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345063374":["hashtag1","hashtag2"]},{"1345063377":["hashtag1","hashtag2"]},{"1345063362":["hashtag1","hashtag2"]},{"1345063370":["hashtag1","hashtag2"]},{"1345063366":["hashtag1","hashtag2"]},{"1345063357":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345063374, 1345063377, 1345063362, 1345063370, 1345063366, 1345063357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.376312971115112 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:52:32.025875
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_45_4132.jpg', 2), ('/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_41_4151.jpg', 2), ('/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_37_4137.jpg', 2), ('/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_33_3148.jpg', 2), ('/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_30_4175.jpg', 2), ('/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_25_4243.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_45_4132.jpg', '/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_41_4151.jpg', '/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_37_4137.jpg', '/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_33_3148.jpg', '/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_30_4175.jpg', '/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_25_4243.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_45_4132.jpg
/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_41_4151.jpg
/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_37_4137.jpg
/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_33_3148.jpg
/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_30_4175.jpg
/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_25_4243.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345063395","1345063389","1345063404","1345063409","1345063399","1345063414"],"photo_ids_order":["1345063389","1345063395","1345063399","1345063404","1345063409","1345063414"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/29f5ce997c0063777057ce724c74f611.jpg","text":"TemporaryFile(/tmp/multipartBody7498917486842513002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284412485,"filename":"image_18032025_03_59_41_4151.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/30259b8d5fbb90028cf300e8c77b421d.jpg","text":"TemporaryFile(/tmp/multipartBody8580031995944986435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284412485,"filename":"image_18032025_03_59_45_4132.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1ece576ff0c7cb9759c94e25bae27903.jpg","text":"TemporaryFile(/tmp/multipartBody7071764173310660794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284412485,"filename":"image_18032025_03_59_33_3148.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e0a52659e169d701a300742c340c7d24.jpg","text":"TemporaryFile(/tmp/multipartBody5534447805938910280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284412485,"filename":"image_18032025_03_59_30_4175.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9d053c718b7893d555c888c2a1634e4b.jpg","text":"TemporaryFile(/tmp/multipartBody7499922909682954762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284412485,"filename":"image_18032025_03_59_37_4137.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3d9b9a011d795db64062c3e4390d1ae2.jpg","text":"TemporaryFile(/tmp/multipartBody543095498486431663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284412485,"filename":"image_18032025_03_59_25_4243.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345063399","file1":"1345063395","file0":"1345063389","file4":"1345063409","file5":"1345063414","file3":"1345063404"},"map_files_photo_id_array":[{"photo_id":"1345063414","filename":"file5"},{"photo_id":"1345063399","filename":"file2"},{"photo_id":"1345063409","filename":"file4"},{"photo_id":"1345063395","filename":"file1"},{"photo_id":"1345063389","filename":"file0"},{"photo_id":"1345063404","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345063395":["hashtag1","hashtag2"]},{"1345063389":["hashtag1","hashtag2"]},{"1345063404":["hashtag1","hashtag2"]},{"1345063409":["hashtag1","hashtag2"]},{"1345063399":["hashtag1","hashtag2"]},{"1345063414":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345063395, 1345063389, 1345063404, 1345063409, 1345063399, 1345063414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.27256798744202 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:53:32.221059
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_21_4243.jpg', 2), ('/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_17_4214.jpg', 2), ('/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_13_3078.jpg', 2), ('/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_10_4235.jpg', 2), ('/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_05_4641.jpg', 2), ('/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_01_3206.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_21_4243.jpg', '/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_17_4214.jpg', '/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_13_3078.jpg', '/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_10_4235.jpg', '/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_05_4641.jpg', '/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_01_3206.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_21_4243.jpg
/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_17_4214.jpg
/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_13_3078.jpg
/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_10_4235.jpg
/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_05_4641.jpg
/home/nano/Desktop/images/18032025/03/59/image_18032025_03_59_01_3206.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345063431","1345063425","1345063440","1345063448","1345063445","1345063435"],"photo_ids_order":["1345063425","1345063431","1345063435","1345063440","1345063445","1345063448"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e6b31c757519a039627782e5e970e0f6.jpg","text":"TemporaryFile(/tmp/multipartBody4985102569103942021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284472719,"filename":"image_18032025_03_59_17_4214.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f2b9662bfbad546864b7f9d25291c2ec.jpg","text":"TemporaryFile(/tmp/multipartBody3362619209097429221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284472719,"filename":"image_18032025_03_59_21_4243.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6ea314d1215f269eecd4cf3bdf9ed47c.jpg","text":"TemporaryFile(/tmp/multipartBody6668088643876457382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284472719,"filename":"image_18032025_03_59_10_4235.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7643d784587a4a5d6c1d6b7b15849387.jpg","text":"TemporaryFile(/tmp/multipartBody6367235343080761563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284472719,"filename":"image_18032025_03_59_01_3206.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e7d8301d506c35389860f9f0de84d6fc.jpg","text":"TemporaryFile(/tmp/multipartBody5330593469613182598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284472719,"filename":"image_18032025_03_59_05_4641.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8c86a647010bc09aff21c249f0ecb242.jpg","text":"TemporaryFile(/tmp/multipartBody401826019279446388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284472719,"filename":"image_18032025_03_59_13_3078.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345063435","file1":"1345063431","file0":"1345063425","file4":"1345063445","file5":"1345063448","file3":"1345063440"},"map_files_photo_id_array":[{"photo_id":"1345063448","filename":"file5"},{"photo_id":"1345063435","filename":"file2"},{"photo_id":"1345063445","filename":"file4"},{"photo_id":"1345063431","filename":"file1"},{"photo_id":"1345063425","filename":"file0"},{"photo_id":"1345063440","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345063431":["hashtag1","hashtag2"]},{"1345063425":["hashtag1","hashtag2"]},{"1345063440":["hashtag1","hashtag2"]},{"1345063448":["hashtag1","hashtag2"]},{"1345063445":["hashtag1","hashtag2"]},{"1345063435":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345063431, 1345063425, 1345063440, 1345063448, 1345063445, 1345063435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.071826457977295 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:54:32.364233
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_58_4295.jpg', 2), ('/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_53_4400.jpg', 2), ('/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_49_3801.jpg', 2), ('/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_45_3778.jpg', 2), ('/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_41_4128.jpg', 2), ('/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_37_4262.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_58_4295.jpg', '/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_53_4400.jpg', '/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_49_3801.jpg', '/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_45_3778.jpg', '/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_41_4128.jpg', '/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_37_4262.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_58_4295.jpg
/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_53_4400.jpg
/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_49_3801.jpg
/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_45_3778.jpg
/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_41_4128.jpg
/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_37_4262.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.378711462020874 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:55:03.246822
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_58_4295.jpg', 2), ('/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_53_4400.jpg', 2), ('/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_49_3801.jpg', 2), ('/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_45_3778.jpg', 2), ('/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_41_4128.jpg', 2), ('/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_37_4262.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_58_4295.jpg', '/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_53_4400.jpg', '/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_49_3801.jpg', '/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_45_3778.jpg', '/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_41_4128.jpg', '/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_37_4262.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_58_4295.jpg
/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_53_4400.jpg
/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_49_3801.jpg
/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_45_3778.jpg
/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_41_4128.jpg
/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_37_4262.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345063537","1345063542","1345063524","1345063535","1345063526","1345063508"],"photo_ids_order":["1345063508","1345063524","1345063526","1345063535","1345063537","1345063542"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bfae68504583ec93658f4a832cafcf9b.jpg","text":"TemporaryFile(/tmp/multipartBody4916117349558653782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284563690,"filename":"image_18032025_03_58_41_4128.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8faeb053ec21a8b66a8c9718481b65ee.jpg","text":"TemporaryFile(/tmp/multipartBody1046179046815697302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284563690,"filename":"image_18032025_03_58_37_4262.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8dca2c5c111b2c3d5f83756a1ffd739a.jpg","text":"TemporaryFile(/tmp/multipartBody7666498541881459667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284563690,"filename":"image_18032025_03_58_53_4400.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/03e71098fbd9550181aca2d426eaa700.jpg","text":"TemporaryFile(/tmp/multipartBody3520477733953238586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284563690,"filename":"image_18032025_03_58_45_3778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6235f7d40bb33cba6dd38d2da3b07626.jpg","text":"TemporaryFile(/tmp/multipartBody2657105536758070881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284563690,"filename":"image_18032025_03_58_49_3801.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/01c3d5c7e0eca99d092474f2d5f0983c.jpg","text":"TemporaryFile(/tmp/multipartBody6593069772667284599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284563690,"filename":"image_18032025_03_58_58_4295.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345063526","file1":"1345063524","file0":"1345063508","file4":"1345063537","file5":"1345063542","file3":"1345063535"},"map_files_photo_id_array":[{"photo_id":"1345063542","filename":"file5"},{"photo_id":"1345063526","filename":"file2"},{"photo_id":"1345063537","filename":"file4"},{"photo_id":"1345063524","filename":"file1"},{"photo_id":"1345063508","filename":"file0"},{"photo_id":"1345063535","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345063537":["hashtag1","hashtag2"]},{"1345063542":["hashtag1","hashtag2"]},{"1345063524":["hashtag1","hashtag2"]},{"1345063535":["hashtag1","hashtag2"]},{"1345063526":["hashtag1","hashtag2"]},{"1345063508":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345063537, 1345063542, 1345063524, 1345063535, 1345063526, 1345063508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.276811599731445 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:56:03.604307
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_33_3982.jpg', 2), ('/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_29_4183.jpg', 2), ('/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_25_3095.jpg', 2), ('/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_22_4142.jpg', 2), ('/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_18_4211.jpg', 2), ('/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_13_4278.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_33_3982.jpg', '/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_29_4183.jpg', '/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_25_3095.jpg', '/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_22_4142.jpg', '/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_18_4211.jpg', '/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_13_4278.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_33_3982.jpg
/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_29_4183.jpg
/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_25_3095.jpg
/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_22_4142.jpg
/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_18_4211.jpg
/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_13_4278.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345063953","1345063926","1345063943","1345063946","1345063949","1345063897"],"photo_ids_order":["1345063897","1345063926","1345063943","1345063946","1345063949","1345063953"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/28f68bb2f4934d08cbb2ff8fd441f8b5.jpg","text":"TemporaryFile(/tmp/multipartBody4857354388855293840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284624160,"filename":"image_18032025_03_58_13_4278.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7105f2d94e4836fd4514862e98b10fc5.jpg","text":"TemporaryFile(/tmp/multipartBody1296822643553902982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284624160,"filename":"image_18032025_03_58_29_4183.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/893e4ac9a0b2b77d92428ec08507e810.jpg","text":"TemporaryFile(/tmp/multipartBody8855158673142656014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284624160,"filename":"image_18032025_03_58_25_3095.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ba9cb7f39d3ea8b40540d20a3d08e8c1.jpg","text":"TemporaryFile(/tmp/multipartBody6330332725893149411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284624160,"filename":"image_18032025_03_58_22_4142.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/332b7150d28737e8ec44d113c9134be6.jpg","text":"TemporaryFile(/tmp/multipartBody5772808054958056454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284624160,"filename":"image_18032025_03_58_18_4211.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4909ae6fecdeafe124e30db760dd6cb5.jpg","text":"TemporaryFile(/tmp/multipartBody4995197341922942302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284624160,"filename":"image_18032025_03_58_33_3982.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345063943","file1":"1345063926","file0":"1345063897","file4":"1345063949","file5":"1345063953","file3":"1345063946"},"map_files_photo_id_array":[{"photo_id":"1345063953","filename":"file5"},{"photo_id":"1345063943","filename":"file2"},{"photo_id":"1345063949","filename":"file4"},{"photo_id":"1345063926","filename":"file1"},{"photo_id":"1345063897","filename":"file0"},{"photo_id":"1345063946","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345063953":["hashtag1","hashtag2"]},{"1345063926":["hashtag1","hashtag2"]},{"1345063943":["hashtag1","hashtag2"]},{"1345063946":["hashtag1","hashtag2"]},{"1345063949":["hashtag1","hashtag2"]},{"1345063897":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345063953, 1345063926, 1345063943, 1345063946, 1345063949, 1345063897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.801119565963745 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:57:02.610596
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_09_4274.jpg', 2), ('/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_05_3438.jpg', 2), ('/home/nano/Desktop/images/18032025/03/57/image_18032025_03_58_01_4215.jpg', 2), ('/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_57_4093.jpg', 2), ('/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_53_4172.jpg', 2), ('/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_49_3729.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_09_4274.jpg', '/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_05_3438.jpg', '/home/nano/Desktop/images/18032025/03/57/image_18032025_03_58_01_4215.jpg', '/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_57_4093.jpg', '/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_53_4172.jpg', '/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_49_3729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_09_4274.jpg
/home/nano/Desktop/images/18032025/03/58/image_18032025_03_58_05_3438.jpg
/home/nano/Desktop/images/18032025/03/57/image_18032025_03_58_01_4215.jpg
/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_57_4093.jpg
/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_53_4172.jpg
/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_49_3729.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345064139","1345064124","1345064136","1345064131","1345064134","1345064128"],"photo_ids_order":["1345064124","1345064128","1345064131","1345064134","1345064136","1345064139"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8be55a8d8d07ea71d687a8a23a4d0545.jpg","text":"TemporaryFile(/tmp/multipartBody1808211257973898125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284683117,"filename":"image_18032025_03_57_49_3729.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/93b229920b635eba1e3935451f197840.jpg","text":"TemporaryFile(/tmp/multipartBody6641471394539750406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284683117,"filename":"image_18032025_03_58_09_4274.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fb32a0c16723de7585b47ea7a538b257.jpg","text":"TemporaryFile(/tmp/multipartBody8366944741416572976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284683117,"filename":"image_18032025_03_57_53_4172.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1f5666fd2731f2bfdd3efd6f13090387.jpg","text":"TemporaryFile(/tmp/multipartBody3215131875283132218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284683117,"filename":"image_18032025_03_58_01_4215.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/937a540e5ad7bd413a0795810c2ace80.jpg","text":"TemporaryFile(/tmp/multipartBody1251666675922720928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284683117,"filename":"image_18032025_03_57_57_4093.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6af540a32a04a0b0cdd6d8e17136d7e4.jpg","text":"TemporaryFile(/tmp/multipartBody2978570211793008964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284683117,"filename":"image_18032025_03_58_05_3438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345064131","file1":"1345064128","file0":"1345064124","file4":"1345064136","file5":"1345064139","file3":"1345064134"},"map_files_photo_id_array":[{"photo_id":"1345064139","filename":"file5"},{"photo_id":"1345064131","filename":"file2"},{"photo_id":"1345064136","filename":"file4"},{"photo_id":"1345064128","filename":"file1"},{"photo_id":"1345064124","filename":"file0"},{"photo_id":"1345064134","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345064139":["hashtag1","hashtag2"]},{"1345064124":["hashtag1","hashtag2"]},{"1345064136":["hashtag1","hashtag2"]},{"1345064131":["hashtag1","hashtag2"]},{"1345064134":["hashtag1","hashtag2"]},{"1345064128":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345064139, 1345064124, 1345064136, 1345064131, 1345064134, 1345064128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.601094007492065 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:58:02.860652
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_45_4113.jpg', 2), ('/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_41_4132.jpg', 2), ('/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_37_4075.jpg', 2), ('/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_33_3089.jpg', 2), ('/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_30_4102.jpg', 2), ('/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_26_4100.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_45_4113.jpg', '/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_41_4132.jpg', '/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_37_4075.jpg', '/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_33_3089.jpg', '/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_30_4102.jpg', '/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_26_4100.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_45_4113.jpg
/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_41_4132.jpg
/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_37_4075.jpg
/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_33_3089.jpg
/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_30_4102.jpg
/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_26_4100.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.4271719455718994 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 08:59:03.558160
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_45_4113.jpg', 2), ('/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_41_4132.jpg', 2), ('/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_37_4075.jpg', 2), ('/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_33_3089.jpg', 2), ('/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_30_4102.jpg', 2), ('/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_26_4100.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_45_4113.jpg', '/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_41_4132.jpg', '/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_37_4075.jpg', '/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_33_3089.jpg', '/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_30_4102.jpg', '/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_26_4100.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_45_4113.jpg
/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_41_4132.jpg
/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_37_4075.jpg
/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_33_3089.jpg
/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_30_4102.jpg
/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_26_4100.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345064706","1345064762","1345064738","1345064674","1345064755","1345064641"],"photo_ids_order":["1345064641","1345064674","1345064706","1345064738","1345064755","1345064762"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9aa55004ea1dfe1b75a4a255cafe35c0.jpg","text":"TemporaryFile(/tmp/multipartBody6454195492530939464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284804028,"filename":"image_18032025_03_57_37_4075.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a3c158141ee83732f664d6b0f0d757e1.jpg","text":"TemporaryFile(/tmp/multipartBody5619791301005663838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284804028,"filename":"image_18032025_03_57_26_4100.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/783be42179b5492931bd9165d235e8d6.jpg","text":"TemporaryFile(/tmp/multipartBody8882207030173117262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284804028,"filename":"image_18032025_03_57_33_3089.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/64c5eb4c51d918a063a5a8001eb5bcc5.jpg","text":"TemporaryFile(/tmp/multipartBody579521653632569012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284804028,"filename":"image_18032025_03_57_41_4132.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/104a72d6dbc0ac5657ee8ea8087c28b8.jpg","text":"TemporaryFile(/tmp/multipartBody1306199626123935943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284804028,"filename":"image_18032025_03_57_30_4102.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0976b72a051bea5b3775f073b58923d5.jpg","text":"TemporaryFile(/tmp/multipartBody4125423837545597024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284804028,"filename":"image_18032025_03_57_45_4113.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345064706","file1":"1345064674","file0":"1345064641","file4":"1345064755","file5":"1345064762","file3":"1345064738"},"map_files_photo_id_array":[{"photo_id":"1345064762","filename":"file5"},{"photo_id":"1345064706","filename":"file2"},{"photo_id":"1345064755","filename":"file4"},{"photo_id":"1345064674","filename":"file1"},{"photo_id":"1345064641","filename":"file0"},{"photo_id":"1345064738","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345064706":["hashtag1","hashtag2"]},{"1345064762":["hashtag1","hashtag2"]},{"1345064738":["hashtag1","hashtag2"]},{"1345064674":["hashtag1","hashtag2"]},{"1345064755":["hashtag1","hashtag2"]},{"1345064641":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345064706, 1345064762, 1345064738, 1345064674, 1345064755, 1345064641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.486374378204346 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:00:03.568927
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_21_4097.jpg', 2), ('/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_17_4155.jpg', 2), ('/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_13_4181.jpg', 2), ('/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_09_4153.jpg', 2), ('/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_05_3472.jpg', 2), ('/home/nano/Desktop/images/18032025/03/56/image_18032025_03_57_01_4260.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_21_4097.jpg', '/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_17_4155.jpg', '/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_13_4181.jpg', '/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_09_4153.jpg', '/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_05_3472.jpg', '/home/nano/Desktop/images/18032025/03/56/image_18032025_03_57_01_4260.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_21_4097.jpg
/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_17_4155.jpg
/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_13_4181.jpg
/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_09_4153.jpg
/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_05_3472.jpg
/home/nano/Desktop/images/18032025/03/56/image_18032025_03_57_01_4260.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.43201446533203125 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:00:32.630682
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_21_4097.jpg', 2), ('/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_17_4155.jpg', 2), ('/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_13_4181.jpg', 2), ('/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_09_4153.jpg', 2), ('/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_05_3472.jpg', 2), ('/home/nano/Desktop/images/18032025/03/56/image_18032025_03_57_01_4260.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_21_4097.jpg', '/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_17_4155.jpg', '/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_13_4181.jpg', '/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_09_4153.jpg', '/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_05_3472.jpg', '/home/nano/Desktop/images/18032025/03/56/image_18032025_03_57_01_4260.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_21_4097.jpg
/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_17_4155.jpg
/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_13_4181.jpg
/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_09_4153.jpg
/home/nano/Desktop/images/18032025/03/57/image_18032025_03_57_05_3472.jpg
/home/nano/Desktop/images/18032025/03/56/image_18032025_03_57_01_4260.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345065111","1345065173","1345065167","1345065085","1345065145","1345065177"],"photo_ids_order":["1345065085","1345065111","1345065145","1345065167","1345065173","1345065177"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0291d6486fb9b9b248eaf17edb0a5258.jpg","text":"TemporaryFile(/tmp/multipartBody883471226979008270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284893156,"filename":"image_18032025_03_57_17_4155.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e0f3c7fd2405683a23a8171cf3e60b52.jpg","text":"TemporaryFile(/tmp/multipartBody3117647993857402232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284893156,"filename":"image_18032025_03_57_05_3472.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e5be02d2eeb41a7d173dd3b91b6dc6b9.jpg","text":"TemporaryFile(/tmp/multipartBody988767052414903512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284893156,"filename":"image_18032025_03_57_09_4153.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/425d4088d1830f95161f75de0edcb7dc.jpg","text":"TemporaryFile(/tmp/multipartBody744332920975274381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284893156,"filename":"image_18032025_03_57_21_4097.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2317cc65e938e04c36e8a8088c62adba.jpg","text":"TemporaryFile(/tmp/multipartBody195564443168318919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284893156,"filename":"image_18032025_03_57_13_4181.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e54de54409dca25f9b22cddbbd9ef20e.jpg","text":"TemporaryFile(/tmp/multipartBody211329519609790710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284893156,"filename":"image_18032025_03_57_01_4260.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345065145","file1":"1345065111","file0":"1345065085","file4":"1345065173","file5":"1345065177","file3":"1345065167"},"map_files_photo_id_array":[{"photo_id":"1345065177","filename":"file5"},{"photo_id":"1345065145","filename":"file2"},{"photo_id":"1345065173","filename":"file4"},{"photo_id":"1345065111","filename":"file1"},{"photo_id":"1345065085","filename":"file0"},{"photo_id":"1345065167","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345065111":["hashtag1","hashtag2"]},{"1345065173":["hashtag1","hashtag2"]},{"1345065167":["hashtag1","hashtag2"]},{"1345065085":["hashtag1","hashtag2"]},{"1345065145":["hashtag1","hashtag2"]},{"1345065177":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345065111, 1345065173, 1345065167, 1345065085, 1345065145, 1345065177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.11007261276245 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:01:32.811052
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_57_4348.jpg', 2), ('/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_53_3277.jpg', 2), ('/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_50_4321.jpg', 2), ('/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_45_4357.jpg', 2), ('/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_41_3418.jpg', 2), ('/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_37_4419.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_57_4348.jpg', '/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_53_3277.jpg', '/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_50_4321.jpg', '/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_45_4357.jpg', '/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_41_3418.jpg', '/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_37_4419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_57_4348.jpg
/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_53_3277.jpg
/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_50_4321.jpg
/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_45_4357.jpg
/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_41_3418.jpg
/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_37_4419.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345065306","1345065311","1345065320","1345065325","1345065301","1345065315"],"photo_ids_order":["1345065301","1345065306","1345065311","1345065315","1345065320","1345065325"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/712d6c19598dfbb0dc8bc892e8f3eedf.jpg","text":"TemporaryFile(/tmp/multipartBody789385526398886585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284953318,"filename":"image_18032025_03_56_53_3277.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a3a8fe0e75eea1b9859b29b4259f499f.jpg","text":"TemporaryFile(/tmp/multipartBody150216531142533837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284953318,"filename":"image_18032025_03_56_50_4321.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d636aeee08f945d69f96a055be1a6115.jpg","text":"TemporaryFile(/tmp/multipartBody5103705427742003470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284953318,"filename":"image_18032025_03_56_41_3418.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/91eb5640ddb965adcad10862309d1fdc.jpg","text":"TemporaryFile(/tmp/multipartBody571071528547930258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284953318,"filename":"image_18032025_03_56_37_4419.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1889802815d2889352b85edf5c8c1e67.jpg","text":"TemporaryFile(/tmp/multipartBody2118710192478801292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284953318,"filename":"image_18032025_03_56_57_4348.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7c7e1593f11d31e8cec21d66bce40a67.jpg","text":"TemporaryFile(/tmp/multipartBody3473785369355396047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742284953318,"filename":"image_18032025_03_56_45_4357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345065311","file1":"1345065306","file0":"1345065301","file4":"1345065320","file5":"1345065325","file3":"1345065315"},"map_files_photo_id_array":[{"photo_id":"1345065325","filename":"file5"},{"photo_id":"1345065311","filename":"file2"},{"photo_id":"1345065320","filename":"file4"},{"photo_id":"1345065306","filename":"file1"},{"photo_id":"1345065301","filename":"file0"},{"photo_id":"1345065315","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345065306":["hashtag1","hashtag2"]},{"1345065311":["hashtag1","hashtag2"]},{"1345065320":["hashtag1","hashtag2"]},{"1345065325":["hashtag1","hashtag2"]},{"1345065301":["hashtag1","hashtag2"]},{"1345065315":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345065306, 1345065311, 1345065320, 1345065325, 1345065301, 1345065315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.657402515411377 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:02:32.056165
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_33_4304.jpg', 2), ('/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_29_3239.jpg', 2), ('/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_25_4263.jpg', 2), ('/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_21_4282.jpg', 2), ('/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_17_3793.jpg', 2), ('/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_13_4380.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_33_4304.jpg', '/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_29_3239.jpg', '/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_25_4263.jpg', '/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_21_4282.jpg', '/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_17_3793.jpg', '/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_13_4380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_33_4304.jpg
/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_29_3239.jpg
/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_25_4263.jpg
/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_21_4282.jpg
/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_17_3793.jpg
/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_13_4380.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345065389","1345065368","1345065385","1345065379","1345065373","1345065357"],"photo_ids_order":["1345065357","1345065368","1345065373","1345065379","1345065385","1345065389"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/95afbc6e962527e22f7bfde471a0a933.jpg","text":"TemporaryFile(/tmp/multipartBody4131161147920047692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285012613,"filename":"image_18032025_03_56_13_4380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d7fd2cb4f2993696c8c01f701f7fd4b3.jpg","text":"TemporaryFile(/tmp/multipartBody6365545382886490223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285012613,"filename":"image_18032025_03_56_29_3239.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b11c4c8b03c6b3e62e9a4b0893689d06.jpg","text":"TemporaryFile(/tmp/multipartBody9188047872311486118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285012613,"filename":"image_18032025_03_56_17_3793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0db1c90485ba55788d54f88f2c073522.jpg","text":"TemporaryFile(/tmp/multipartBody4247151818019484731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285012613,"filename":"image_18032025_03_56_21_4282.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ae824e809148dc5a07d7dbc18f3f49c6.jpg","text":"TemporaryFile(/tmp/multipartBody4467549319867747305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285012613,"filename":"image_18032025_03_56_25_4263.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/577e40964c58e00eeb5caedb92275ef5.jpg","text":"TemporaryFile(/tmp/multipartBody2571520496260707572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285012613,"filename":"image_18032025_03_56_33_4304.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345065373","file1":"1345065368","file0":"1345065357","file4":"1345065385","file5":"1345065389","file3":"1345065379"},"map_files_photo_id_array":[{"photo_id":"1345065389","filename":"file5"},{"photo_id":"1345065373","filename":"file2"},{"photo_id":"1345065385","filename":"file4"},{"photo_id":"1345065368","filename":"file1"},{"photo_id":"1345065357","filename":"file0"},{"photo_id":"1345065379","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345065389":["hashtag1","hashtag2"]},{"1345065368":["hashtag1","hashtag2"]},{"1345065385":["hashtag1","hashtag2"]},{"1345065379":["hashtag1","hashtag2"]},{"1345065373":["hashtag1","hashtag2"]},{"1345065357":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345065389, 1345065368, 1345065385, 1345065379, 1345065373, 1345065357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.49121069908142 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:03:32.235827
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_09_3149.jpg', 2), ('/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_06_4404.jpg', 2), ('/home/nano/Desktop/images/18032025/03/55/image_18032025_03_56_01_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_57_4138.jpg', 2), ('/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_53_4150.jpg', 2), ('/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_49_3097.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_09_3149.jpg', '/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_06_4404.jpg', '/home/nano/Desktop/images/18032025/03/55/image_18032025_03_56_01_4146.jpg', '/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_57_4138.jpg', '/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_53_4150.jpg', '/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_49_3097.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_09_3149.jpg
/home/nano/Desktop/images/18032025/03/56/image_18032025_03_56_06_4404.jpg
/home/nano/Desktop/images/18032025/03/55/image_18032025_03_56_01_4146.jpg
/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_57_4138.jpg
/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_53_4150.jpg
/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_49_3097.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345065449","1345065478","1345065454","1345065457","1345065489","1345065465"],"photo_ids_order":["1345065449","1345065454","1345065457","1345065465","1345065478","1345065489"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2375daf5a6eb2623340c77075e29e515.jpg","text":"TemporaryFile(/tmp/multipartBody2739602392960399215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285072759,"filename":"image_18032025_03_56_09_3149.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/39182b4a44856eb25015b75483f296bd.jpg","text":"TemporaryFile(/tmp/multipartBody4610377853282211446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285072759,"filename":"image_18032025_03_55_53_4150.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8d8e114cba75e4b0a71104beeda740f8.jpg","text":"TemporaryFile(/tmp/multipartBody8580780043525210995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285072759,"filename":"image_18032025_03_56_06_4404.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/465e2bb0371329c184162b70e4deab1c.jpg","text":"TemporaryFile(/tmp/multipartBody2286845953894395191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285072759,"filename":"image_18032025_03_56_01_4146.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3bb24b84ee5d95fb3a238127d3564343.jpg","text":"TemporaryFile(/tmp/multipartBody4396724003015139064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285072759,"filename":"image_18032025_03_55_49_3097.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/879d31437e2ce2ffd05ec151eb8fc7bf.jpg","text":"TemporaryFile(/tmp/multipartBody7007702901725943853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285072759,"filename":"image_18032025_03_55_57_4138.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345065457","file1":"1345065454","file0":"1345065449","file4":"1345065478","file5":"1345065489","file3":"1345065465"},"map_files_photo_id_array":[{"photo_id":"1345065489","filename":"file5"},{"photo_id":"1345065457","filename":"file2"},{"photo_id":"1345065478","filename":"file4"},{"photo_id":"1345065454","filename":"file1"},{"photo_id":"1345065449","filename":"file0"},{"photo_id":"1345065465","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345065449":["hashtag1","hashtag2"]},{"1345065478":["hashtag1","hashtag2"]},{"1345065454":["hashtag1","hashtag2"]},{"1345065457":["hashtag1","hashtag2"]},{"1345065489":["hashtag1","hashtag2"]},{"1345065465":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345065449, 1345065478, 1345065454, 1345065457, 1345065489, 1345065465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.322646141052246 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:04:32.437492
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_46_4085.jpg', 2), ('/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_42_4102.jpg', 2), ('/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_37_4174.jpg', 2), ('/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_33_4077.jpg', 2), ('/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_29_4234.jpg', 2), ('/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_25_4192.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_46_4085.jpg', '/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_42_4102.jpg', '/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_37_4174.jpg', '/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_33_4077.jpg', '/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_29_4234.jpg', '/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_25_4192.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_46_4085.jpg
/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_42_4102.jpg
/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_37_4174.jpg
/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_33_4077.jpg
/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_29_4234.jpg
/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_25_4192.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345065545","1345065541","1345065538","1345065549","1345065534","1345065528"],"photo_ids_order":["1345065528","1345065534","1345065538","1345065541","1345065545","1345065549"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/706a5acec7bccc17a70e7de7cea97f4b.jpg","text":"TemporaryFile(/tmp/multipartBody6866032050328171145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285132965,"filename":"image_18032025_03_55_29_4234.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e1b40b1699cbfec0d7f112303e897302.jpg","text":"TemporaryFile(/tmp/multipartBody6862350856978798466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285132965,"filename":"image_18032025_03_55_33_4077.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2145711a21363ed1455a4ee9496d2549.jpg","text":"TemporaryFile(/tmp/multipartBody1403105667970841193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285132965,"filename":"image_18032025_03_55_37_4174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f19c1694018dee94c249257f7384d0e6.jpg","text":"TemporaryFile(/tmp/multipartBody8856964499066552775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285132965,"filename":"image_18032025_03_55_25_4192.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9a0b9f30cd8d9147932b1aa0ce1cf1a1.jpg","text":"TemporaryFile(/tmp/multipartBody2911838119872569305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285132965,"filename":"image_18032025_03_55_42_4102.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/855e713b038b98eb7f8a98cf0f409082.jpg","text":"TemporaryFile(/tmp/multipartBody5399631794779391442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285132965,"filename":"image_18032025_03_55_46_4085.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345065538","file1":"1345065534","file0":"1345065528","file4":"1345065545","file5":"1345065549","file3":"1345065541"},"map_files_photo_id_array":[{"photo_id":"1345065549","filename":"file5"},{"photo_id":"1345065538","filename":"file2"},{"photo_id":"1345065545","filename":"file4"},{"photo_id":"1345065534","filename":"file1"},{"photo_id":"1345065528","filename":"file0"},{"photo_id":"1345065541","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345065545":["hashtag1","hashtag2"]},{"1345065541":["hashtag1","hashtag2"]},{"1345065538":["hashtag1","hashtag2"]},{"1345065549":["hashtag1","hashtag2"]},{"1345065534":["hashtag1","hashtag2"]},{"1345065528":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345065545, 1345065541, 1345065538, 1345065549, 1345065534, 1345065528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.592700719833374 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:05:32.602336
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_21_3188.jpg', 2), ('/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_18_4125.jpg', 2), ('/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_13_4203.jpg', 2), ('/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_09_4156.jpg', 2), ('/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_05_3915.jpg', 2), ('/home/nano/Desktop/images/18032025/03/54/image_18032025_03_55_01_4093.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_21_3188.jpg', '/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_18_4125.jpg', '/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_13_4203.jpg', '/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_09_4156.jpg', '/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_05_3915.jpg', '/home/nano/Desktop/images/18032025/03/54/image_18032025_03_55_01_4093.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_21_3188.jpg
/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_18_4125.jpg
/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_13_4203.jpg
/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_09_4156.jpg
/home/nano/Desktop/images/18032025/03/55/image_18032025_03_55_05_3915.jpg
/home/nano/Desktop/images/18032025/03/54/image_18032025_03_55_01_4093.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345065566","1345065571","1345065589","1345065576","1345065585","1345065579"],"photo_ids_order":["1345065566","1345065571","1345065576","1345065579","1345065585","1345065589"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9a671b8218cc9c3abcb587930de6e778.jpg","text":"TemporaryFile(/tmp/multipartBody1134735946923026337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285193117,"filename":"image_18032025_03_55_21_3188.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d9ddf7a864bf9e494233f66be48a08df.jpg","text":"TemporaryFile(/tmp/multipartBody8623403023070332142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285193117,"filename":"image_18032025_03_55_18_4125.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d853900117c7036a42a205a6ae2bdd48.jpg","text":"TemporaryFile(/tmp/multipartBody8413073584616797477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285193117,"filename":"image_18032025_03_55_01_4093.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f9b4cc3f339c2dd104765206fb9bdc74.jpg","text":"TemporaryFile(/tmp/multipartBody5103892664159947310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285193117,"filename":"image_18032025_03_55_13_4203.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6851718e6ef63bf1f4852133ce5d9515.jpg","text":"TemporaryFile(/tmp/multipartBody333202214112460579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285193117,"filename":"image_18032025_03_55_05_3915.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/187cd19da1d9a81076afa8aa0f390b29.jpg","text":"TemporaryFile(/tmp/multipartBody1814220447011784979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285193117,"filename":"image_18032025_03_55_09_4156.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345065576","file1":"1345065571","file0":"1345065566","file4":"1345065585","file5":"1345065589","file3":"1345065579"},"map_files_photo_id_array":[{"photo_id":"1345065589","filename":"file5"},{"photo_id":"1345065576","filename":"file2"},{"photo_id":"1345065585","filename":"file4"},{"photo_id":"1345065571","filename":"file1"},{"photo_id":"1345065566","filename":"file0"},{"photo_id":"1345065579","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345065566":["hashtag1","hashtag2"]},{"1345065571":["hashtag1","hashtag2"]},{"1345065589":["hashtag1","hashtag2"]},{"1345065576":["hashtag1","hashtag2"]},{"1345065585":["hashtag1","hashtag2"]},{"1345065579":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345065566, 1345065571, 1345065589, 1345065576, 1345065585, 1345065579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.81629252433777 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:06:32.772240
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_57_4205.jpg', 2), ('/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_53_4163.jpg', 2), ('/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_49_3166.jpg', 2), ('/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_46_3995.jpg', 2), ('/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_42_4253.jpg', 2), ('/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_37_4098.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_57_4205.jpg', '/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_53_4163.jpg', '/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_49_3166.jpg', '/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_46_3995.jpg', '/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_42_4253.jpg', '/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_37_4098.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_57_4205.jpg
/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_53_4163.jpg
/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_49_3166.jpg
/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_46_3995.jpg
/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_42_4253.jpg
/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_37_4098.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345065635","1345065623","1345065608","1345065604","1345065657","1345065639"],"photo_ids_order":["1345065604","1345065608","1345065623","1345065635","1345065639","1345065657"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9aa64e0593a09c93e154ae83fdb92a6b.jpg","text":"TemporaryFile(/tmp/multipartBody2100391681964032132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285253291,"filename":"image_18032025_03_54_46_3995.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ce503bd0031ce5e6c39df7b43f5adc1a.jpg","text":"TemporaryFile(/tmp/multipartBody6024835412824770842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285253291,"filename":"image_18032025_03_54_49_3166.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/50d4e27f28a4b83a8841f41831b803d7.jpg","text":"TemporaryFile(/tmp/multipartBody7977997994312510464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285253291,"filename":"image_18032025_03_54_53_4163.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d13d458bd7ffa3fe321d7a8736f15304.jpg","text":"TemporaryFile(/tmp/multipartBody4840084369772777176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285253291,"filename":"image_18032025_03_54_57_4205.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8da10d107b8f4f94ca1c2a4fe03b8299.jpg","text":"TemporaryFile(/tmp/multipartBody730559896554523625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285253291,"filename":"image_18032025_03_54_37_4098.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/584feb2ce4f98b90031efe44e13af02b.jpg","text":"TemporaryFile(/tmp/multipartBody7686940792622448226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285253291,"filename":"image_18032025_03_54_42_4253.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345065623","file1":"1345065608","file0":"1345065604","file4":"1345065639","file5":"1345065657","file3":"1345065635"},"map_files_photo_id_array":[{"photo_id":"1345065657","filename":"file5"},{"photo_id":"1345065623","filename":"file2"},{"photo_id":"1345065639","filename":"file4"},{"photo_id":"1345065608","filename":"file1"},{"photo_id":"1345065604","filename":"file0"},{"photo_id":"1345065635","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345065635":["hashtag1","hashtag2"]},{"1345065623":["hashtag1","hashtag2"]},{"1345065608":["hashtag1","hashtag2"]},{"1345065604":["hashtag1","hashtag2"]},{"1345065657":["hashtag1","hashtag2"]},{"1345065639":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345065635, 1345065623, 1345065608, 1345065604, 1345065657, 1345065639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.950501918792725 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:07:31.988736
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_33_4213.jpg', 2), ('/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_29_4306.jpg', 2), ('/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_25_3315.jpg', 2), ('/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_21_4383.jpg', 2), ('/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_17_3391.jpg', 2), ('/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_14_4415.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_33_4213.jpg', '/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_29_4306.jpg', '/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_25_3315.jpg', '/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_21_4383.jpg', '/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_17_3391.jpg', '/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_14_4415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_33_4213.jpg
/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_29_4306.jpg
/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_25_3315.jpg
/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_21_4383.jpg
/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_17_3391.jpg
/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_14_4415.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345065782","1345065737","1345065754","1345065771","1345065789","1345065759"],"photo_ids_order":["1345065737","1345065754","1345065759","1345065771","1345065782","1345065789"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/31bc66e41111779778dabd6a749aa045.jpg","text":"TemporaryFile(/tmp/multipartBody8911643946356990095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285312519,"filename":"image_18032025_03_54_17_3391.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/03c6119ecb51446d5fb2d6eb40333783.jpg","text":"TemporaryFile(/tmp/multipartBody4620301226222831325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285312519,"filename":"image_18032025_03_54_33_4213.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5376bfef0a9bdcc76546fe020988ada6.jpg","text":"TemporaryFile(/tmp/multipartBody5883865655098400602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285312519,"filename":"image_18032025_03_54_29_4306.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f6e776a6f3dbadae7afe08c0906de307.jpg","text":"TemporaryFile(/tmp/multipartBody6914022938612092048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285312519,"filename":"image_18032025_03_54_21_4383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7e19d663bf33b6ea2ccb660e67d3511e.jpg","text":"TemporaryFile(/tmp/multipartBody1830757842387759577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285312519,"filename":"image_18032025_03_54_14_4415.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/91a8da34c606de7645ae327bf6b8a238.jpg","text":"TemporaryFile(/tmp/multipartBody8306219270766351030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285312519,"filename":"image_18032025_03_54_25_3315.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345065759","file1":"1345065754","file0":"1345065737","file4":"1345065782","file5":"1345065789","file3":"1345065771"},"map_files_photo_id_array":[{"photo_id":"1345065789","filename":"file5"},{"photo_id":"1345065759","filename":"file2"},{"photo_id":"1345065782","filename":"file4"},{"photo_id":"1345065754","filename":"file1"},{"photo_id":"1345065737","filename":"file0"},{"photo_id":"1345065771","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345065782":["hashtag1","hashtag2"]},{"1345065737":["hashtag1","hashtag2"]},{"1345065754":["hashtag1","hashtag2"]},{"1345065771":["hashtag1","hashtag2"]},{"1345065789":["hashtag1","hashtag2"]},{"1345065759":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345065782, 1345065737, 1345065754, 1345065771, 1345065789, 1345065759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.697317123413086 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:08:32.152492
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_09_4205.jpg', 2), ('/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_05_3814.jpg', 2), ('/home/nano/Desktop/images/18032025/03/53/image_18032025_03_54_01_4113.jpg', 2), ('/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_57_4061.jpg', 2), ('/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_53_4203.jpg', 2), ('/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_49_3160.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_09_4205.jpg', '/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_05_3814.jpg', '/home/nano/Desktop/images/18032025/03/53/image_18032025_03_54_01_4113.jpg', '/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_57_4061.jpg', '/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_53_4203.jpg', '/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_49_3160.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_09_4205.jpg
/home/nano/Desktop/images/18032025/03/54/image_18032025_03_54_05_3814.jpg
/home/nano/Desktop/images/18032025/03/53/image_18032025_03_54_01_4113.jpg
/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_57_4061.jpg
/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_53_4203.jpg
/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_49_3160.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345065863","1345065866","1345065860","1345065850","1345065844","1345065855"],"photo_ids_order":["1345065844","1345065850","1345065855","1345065860","1345065863","1345065866"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8bf2b0027796cc0072620518fd951942.jpg","text":"TemporaryFile(/tmp/multipartBody4013287192233693673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285372666,"filename":"image_18032025_03_53_53_4203.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/18e1a116bfca15e0e9743afd6f5a8b73.jpg","text":"TemporaryFile(/tmp/multipartBody1945839902811799169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285372666,"filename":"image_18032025_03_53_49_3160.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d2010b6017b1ae34881ba74974930d09.jpg","text":"TemporaryFile(/tmp/multipartBody5030721172058808918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285372666,"filename":"image_18032025_03_53_57_4061.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/80a620254d4e6a7313f92f8265e32a10.jpg","text":"TemporaryFile(/tmp/multipartBody6798738637643283134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285372666,"filename":"image_18032025_03_54_05_3814.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0ffa80a081a9c50cb5120556a0594c45.jpg","text":"TemporaryFile(/tmp/multipartBody5501647645539326781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285372666,"filename":"image_18032025_03_54_09_4205.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5828801d329c4c75d016dc24ecd65b07.jpg","text":"TemporaryFile(/tmp/multipartBody5861492618955894765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285372666,"filename":"image_18032025_03_54_01_4113.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345065855","file1":"1345065850","file0":"1345065844","file4":"1345065863","file5":"1345065866","file3":"1345065860"},"map_files_photo_id_array":[{"photo_id":"1345065866","filename":"file5"},{"photo_id":"1345065855","filename":"file2"},{"photo_id":"1345065863","filename":"file4"},{"photo_id":"1345065850","filename":"file1"},{"photo_id":"1345065844","filename":"file0"},{"photo_id":"1345065860","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345065863":["hashtag1","hashtag2"]},{"1345065866":["hashtag1","hashtag2"]},{"1345065860":["hashtag1","hashtag2"]},{"1345065850":["hashtag1","hashtag2"]},{"1345065844":["hashtag1","hashtag2"]},{"1345065855":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345065863, 1345065866, 1345065860, 1345065850, 1345065844, 1345065855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.315210819244385 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:09:32.352088
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_46_4113.jpg', 2), ('/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_42_4013.jpg', 2), ('/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_38_4133.jpg', 2), ('/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_33_4156.jpg', 2), ('/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_29_4158.jpg', 2), ('/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_25_4052.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_46_4113.jpg', '/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_42_4013.jpg', '/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_38_4133.jpg', '/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_33_4156.jpg', '/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_29_4158.jpg', '/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_25_4052.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_46_4113.jpg
/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_42_4013.jpg
/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_38_4133.jpg
/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_33_4156.jpg
/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_29_4158.jpg
/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_25_4052.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.48499393463134766 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:10:03.413715
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_46_4113.jpg', 2), ('/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_42_4013.jpg', 2), ('/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_38_4133.jpg', 2), ('/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_33_4156.jpg', 2), ('/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_29_4158.jpg', 2), ('/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_25_4052.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_46_4113.jpg', '/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_42_4013.jpg', '/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_38_4133.jpg', '/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_33_4156.jpg', '/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_29_4158.jpg', '/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_25_4052.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_46_4113.jpg
/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_42_4013.jpg
/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_38_4133.jpg
/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_33_4156.jpg
/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_29_4158.jpg
/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_25_4052.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345066151","1345066247","1345066183","1345066121","1345066290","1345066212"],"photo_ids_order":["1345066121","1345066151","1345066183","1345066212","1345066247","1345066290"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e13dce51829eebe48ff51fc474c70b66.jpg","text":"TemporaryFile(/tmp/multipartBody2507216937826576474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285463964,"filename":"image_18032025_03_53_42_4013.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/da73352df251d1b772e91e9eecaf09a1.jpg","text":"TemporaryFile(/tmp/multipartBody7619712052788811478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285463964,"filename":"image_18032025_03_53_29_4158.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1ac8820f2c48129b60f0b00a874184ef.jpg","text":"TemporaryFile(/tmp/multipartBody2443299158976384198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285463964,"filename":"image_18032025_03_53_38_4133.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8d1064da42ad9b3abe60c72d0cc14afb.jpg","text":"TemporaryFile(/tmp/multipartBody7363959066846338396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285463964,"filename":"image_18032025_03_53_46_4113.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/643acc75fdc27e646db5814478292207.jpg","text":"TemporaryFile(/tmp/multipartBody326107492609518578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285463964,"filename":"image_18032025_03_53_25_4052.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/71fc6d5edbaa1ea9ee3ed0901a291a3b.jpg","text":"TemporaryFile(/tmp/multipartBody5183843164827959333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285463964,"filename":"image_18032025_03_53_33_4156.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345066183","file1":"1345066151","file0":"1345066121","file4":"1345066247","file5":"1345066290","file3":"1345066212"},"map_files_photo_id_array":[{"photo_id":"1345066290","filename":"file5"},{"photo_id":"1345066183","filename":"file2"},{"photo_id":"1345066247","filename":"file4"},{"photo_id":"1345066151","filename":"file1"},{"photo_id":"1345066121","filename":"file0"},{"photo_id":"1345066212","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345066151":["hashtag1","hashtag2"]},{"1345066247":["hashtag1","hashtag2"]},{"1345066183":["hashtag1","hashtag2"]},{"1345066121":["hashtag1","hashtag2"]},{"1345066290":["hashtag1","hashtag2"]},{"1345066212":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345066151, 1345066247, 1345066183, 1345066121, 1345066290, 1345066212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.23829698562622 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:11:03.452056
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_21_4114.jpg', 2), ('/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_17_4046.jpg', 2), ('/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_13_3881.jpg', 2), ('/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_09_4121.jpg', 2), ('/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_05_3595.jpg', 2), ('/home/nano/Desktop/images/18032025/03/52/image_18032025_03_53_01_4163.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_21_4114.jpg', '/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_17_4046.jpg', '/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_13_3881.jpg', '/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_09_4121.jpg', '/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_05_3595.jpg', '/home/nano/Desktop/images/18032025/03/52/image_18032025_03_53_01_4163.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_21_4114.jpg
/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_17_4046.jpg
/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_13_3881.jpg
/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_09_4121.jpg
/home/nano/Desktop/images/18032025/03/53/image_18032025_03_53_05_3595.jpg
/home/nano/Desktop/images/18032025/03/52/image_18032025_03_53_01_4163.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345066475","1345066480","1345066485","1345066473","1345066470","1345066478"],"photo_ids_order":["1345066470","1345066473","1345066475","1345066478","1345066480","1345066485"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8764c2829e122d15894ad45d51f95f78.jpg","text":"TemporaryFile(/tmp/multipartBody8313607063921970159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285523968,"filename":"image_18032025_03_53_13_3881.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/75a98ad4ac8badcee2943dcb469f9bfd.jpg","text":"TemporaryFile(/tmp/multipartBody1262935652021384383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285523968,"filename":"image_18032025_03_53_05_3595.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a9445aad8457273c24458ffb91619566.jpg","text":"TemporaryFile(/tmp/multipartBody6657883216939449053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285523968,"filename":"image_18032025_03_53_01_4163.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/05d2a299b7190684f595f3414a5af357.jpg","text":"TemporaryFile(/tmp/multipartBody4064200859652905407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285523968,"filename":"image_18032025_03_53_17_4046.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c78c2d2f9e69da3952d230753e156e67.jpg","text":"TemporaryFile(/tmp/multipartBody536333477950850975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285523968,"filename":"image_18032025_03_53_21_4114.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7792278c0bd532cf823ad3e5d84bac23.jpg","text":"TemporaryFile(/tmp/multipartBody5388672707202083771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285523968,"filename":"image_18032025_03_53_09_4121.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345066475","file1":"1345066473","file0":"1345066470","file4":"1345066480","file5":"1345066485","file3":"1345066478"},"map_files_photo_id_array":[{"photo_id":"1345066485","filename":"file5"},{"photo_id":"1345066475","filename":"file2"},{"photo_id":"1345066480","filename":"file4"},{"photo_id":"1345066473","filename":"file1"},{"photo_id":"1345066470","filename":"file0"},{"photo_id":"1345066478","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345066475":["hashtag1","hashtag2"]},{"1345066480":["hashtag1","hashtag2"]},{"1345066485":["hashtag1","hashtag2"]},{"1345066473":["hashtag1","hashtag2"]},{"1345066470":["hashtag1","hashtag2"]},{"1345066478":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345066475, 1345066480, 1345066485, 1345066473, 1345066470, 1345066478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.960248947143555 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:12:02.791127
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_57_4060.jpg', 2), ('/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_53_3982.jpg', 2), ('/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_49_4180.jpg', 2), ('/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_45_4170.jpg', 2), ('/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_41_3336.jpg', 2), ('/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_37_4100.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_57_4060.jpg', '/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_53_3982.jpg', '/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_49_4180.jpg', '/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_45_4170.jpg', '/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_41_3336.jpg', '/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_37_4100.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_57_4060.jpg
/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_53_3982.jpg
/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_49_4180.jpg
/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_45_4170.jpg
/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_41_3336.jpg
/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_37_4100.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345066547","1345066532","1345066517","1345066552","1345066540","1345066545"],"photo_ids_order":["1345066517","1345066532","1345066540","1345066545","1345066547","1345066552"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f14c4c2cc131827c3f9f92840ccd79a6.jpg","text":"TemporaryFile(/tmp/multipartBody2026849787421724883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285583416,"filename":"image_18032025_03_52_41_3336.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4de3fe472bcd9f9f832e2e7ea38a2f8a.jpg","text":"TemporaryFile(/tmp/multipartBody4171033069916031088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285583416,"filename":"image_18032025_03_52_53_3982.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dcce4d102b1da5a4cbc2be5954eeba1b.jpg","text":"TemporaryFile(/tmp/multipartBody4001393741192246585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285583416,"filename":"image_18032025_03_52_57_4060.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a66d71b8a05381eed5a2b4790fd540de.jpg","text":"TemporaryFile(/tmp/multipartBody8774789782832576011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285583416,"filename":"image_18032025_03_52_37_4100.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cdbd1dab82a73e297e09437246095d8c.jpg","text":"TemporaryFile(/tmp/multipartBody4136853306989165753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285583416,"filename":"image_18032025_03_52_49_4180.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/17ada3254dce3700690a5e314fd3fb6c.jpg","text":"TemporaryFile(/tmp/multipartBody6660718267257828419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285583416,"filename":"image_18032025_03_52_45_4170.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345066540","file1":"1345066532","file0":"1345066517","file4":"1345066547","file5":"1345066552","file3":"1345066545"},"map_files_photo_id_array":[{"photo_id":"1345066552","filename":"file5"},{"photo_id":"1345066540","filename":"file2"},{"photo_id":"1345066547","filename":"file4"},{"photo_id":"1345066532","filename":"file1"},{"photo_id":"1345066517","filename":"file0"},{"photo_id":"1345066545","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345066547":["hashtag1","hashtag2"]},{"1345066532":["hashtag1","hashtag2"]},{"1345066517":["hashtag1","hashtag2"]},{"1345066552":["hashtag1","hashtag2"]},{"1345066540":["hashtag1","hashtag2"]},{"1345066545":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345066547, 1345066532, 1345066517, 1345066552, 1345066540, 1345066545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.305030822753906 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:13:03.024717
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_33_4326.jpg', 2), ('/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_29_3341.jpg', 2), ('/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_26_4325.jpg', 2), ('/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_21_4163.jpg', 2), ('/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_17_4172.jpg', 2), ('/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_13_4180.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_33_4326.jpg', '/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_29_3341.jpg', '/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_26_4325.jpg', '/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_21_4163.jpg', '/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_17_4172.jpg', '/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_13_4180.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_33_4326.jpg
/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_29_3341.jpg
/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_26_4325.jpg
/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_21_4163.jpg
/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_17_4172.jpg
/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_13_4180.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345066690","1345066660","1345066682","1345066685","1345066679","1345066664"],"photo_ids_order":["1345066660","1345066664","1345066679","1345066682","1345066685","1345066690"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ed93e7850606bde77d73bb2bf98dc27e.jpg","text":"TemporaryFile(/tmp/multipartBody8168807103431227982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285643601,"filename":"image_18032025_03_52_13_4180.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/08260e1dcb15ed1ec761da55158b1390.jpg","text":"TemporaryFile(/tmp/multipartBody2098529676891127983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285643601,"filename":"image_18032025_03_52_33_4326.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1243e69a4b9f320460b453cdc1088fdb.jpg","text":"TemporaryFile(/tmp/multipartBody6874961925178499520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285643601,"filename":"image_18032025_03_52_21_4163.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c60f449e52e19428587c56dbbf1e30df.jpg","text":"TemporaryFile(/tmp/multipartBody2081983786662031091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285643601,"filename":"image_18032025_03_52_17_4172.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c34c274c370b252902bce3063d9b781d.jpg","text":"TemporaryFile(/tmp/multipartBody2477714934959382869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285643601,"filename":"image_18032025_03_52_26_4325.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5a6b7cc377036e910232aaca0bff18d1.jpg","text":"TemporaryFile(/tmp/multipartBody7014438953603515028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285643601,"filename":"image_18032025_03_52_29_3341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345066679","file1":"1345066664","file0":"1345066660","file4":"1345066685","file5":"1345066690","file3":"1345066682"},"map_files_photo_id_array":[{"photo_id":"1345066690","filename":"file5"},{"photo_id":"1345066679","filename":"file2"},{"photo_id":"1345066685","filename":"file4"},{"photo_id":"1345066664","filename":"file1"},{"photo_id":"1345066660","filename":"file0"},{"photo_id":"1345066682","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345066690":["hashtag1","hashtag2"]},{"1345066660":["hashtag1","hashtag2"]},{"1345066682":["hashtag1","hashtag2"]},{"1345066685":["hashtag1","hashtag2"]},{"1345066679":["hashtag1","hashtag2"]},{"1345066664":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345066690, 1345066660, 1345066682, 1345066685, 1345066679, 1345066664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.72049140930176 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:14:03.030738
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_09_3843.jpg', 2), ('/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_05_4228.jpg', 2), ('/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_01_3041.jpg', 2), ('/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_58_3962.jpg', 2), ('/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_54_4833.jpg', 2), ('/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_49_3973.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_09_3843.jpg', '/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_05_4228.jpg', '/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_01_3041.jpg', '/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_58_3962.jpg', '/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_54_4833.jpg', '/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_49_3973.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_09_3843.jpg
/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_05_4228.jpg
/home/nano/Desktop/images/18032025/03/52/image_18032025_03_52_01_3041.jpg
/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_58_3962.jpg
/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_54_4833.jpg
/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_49_3973.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345066811","1345066764","1345066851","1345066839","1345066854","1345066784"],"photo_ids_order":["1345066764","1345066784","1345066811","1345066839","1345066851","1345066854"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0811e910a95cbe37cd5fecadc2c3f02e.jpg","text":"TemporaryFile(/tmp/multipartBody3377217534088959165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285703540,"filename":"image_18032025_03_52_01_3041.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d19a0ef1d9c7908d83e0643954e05a1b.jpg","text":"TemporaryFile(/tmp/multipartBody1597391188505849384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285703540,"filename":"image_18032025_03_52_09_3843.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a49b68204dc10c2566e5b336bf30be89.jpg","text":"TemporaryFile(/tmp/multipartBody5793007340049049014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285703540,"filename":"image_18032025_03_51_54_4833.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bbabd9771b4d27c2f7f08e96dc9fb6e8.jpg","text":"TemporaryFile(/tmp/multipartBody2824812947978440177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285703540,"filename":"image_18032025_03_51_58_3962.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bf0d6972c3e9e33b06a413717388c701.jpg","text":"TemporaryFile(/tmp/multipartBody470787245609412693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285703540,"filename":"image_18032025_03_51_49_3973.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/85a46cdd8f6a17ef3eba361dfbf3f75c.jpg","text":"TemporaryFile(/tmp/multipartBody2684725793552133169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285703540,"filename":"image_18032025_03_52_05_4228.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345066811","file1":"1345066784","file0":"1345066764","file4":"1345066851","file5":"1345066854","file3":"1345066839"},"map_files_photo_id_array":[{"photo_id":"1345066854","filename":"file5"},{"photo_id":"1345066811","filename":"file2"},{"photo_id":"1345066851","filename":"file4"},{"photo_id":"1345066784","filename":"file1"},{"photo_id":"1345066764","filename":"file0"},{"photo_id":"1345066839","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345066811":["hashtag1","hashtag2"]},{"1345066764":["hashtag1","hashtag2"]},{"1345066851":["hashtag1","hashtag2"]},{"1345066839":["hashtag1","hashtag2"]},{"1345066854":["hashtag1","hashtag2"]},{"1345066784":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345066811, 1345066764, 1345066851, 1345066839, 1345066854, 1345066784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.70308256149292 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:15:02.992152
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_45_4122.jpg', 2), ('/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_41_4069.jpg', 2), ('/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_37_3139.jpg', 2), ('/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_34_3934.jpg', 2), ('/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_30_4138.jpg', 2), ('/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_25_4112.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_45_4122.jpg', '/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_41_4069.jpg', '/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_37_3139.jpg', '/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_34_3934.jpg', '/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_30_4138.jpg', '/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_25_4112.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_45_4122.jpg
/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_41_4069.jpg
/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_37_3139.jpg
/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_34_3934.jpg
/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_30_4138.jpg
/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_25_4112.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345066879","1345066894","1345066882","1345066890","1345066886","1345066889"],"photo_ids_order":["1345066879","1345066882","1345066886","1345066889","1345066890","1345066894"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f65bb44d0f09b7a827756ef96d0fe966.jpg","text":"TemporaryFile(/tmp/multipartBody1651508133190824027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285763516,"filename":"image_18032025_03_51_45_4122.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/51d09f218eb2d1f121201f530c29e30d.jpg","text":"TemporaryFile(/tmp/multipartBody1554214961365247028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285763516,"filename":"image_18032025_03_51_25_4112.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/73e5494dac1afef7fd2b8878d69d0e7d.jpg","text":"TemporaryFile(/tmp/multipartBody6198647796494791064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285763516,"filename":"image_18032025_03_51_41_4069.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b2b7655795a470b2a2899bdf299e2e6e.jpg","text":"TemporaryFile(/tmp/multipartBody6644598078116326738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285763516,"filename":"image_18032025_03_51_30_4138.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2bc54b1a5140766860650dad2670082a.jpg","text":"TemporaryFile(/tmp/multipartBody6949556289829854837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285763516,"filename":"image_18032025_03_51_37_3139.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6cba92a1c942d99d131a084b89748df9.jpg","text":"TemporaryFile(/tmp/multipartBody1970603404091922660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285763516,"filename":"image_18032025_03_51_34_3934.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345066886","file1":"1345066882","file0":"1345066879","file4":"1345066890","file5":"1345066894","file3":"1345066889"},"map_files_photo_id_array":[{"photo_id":"1345066894","filename":"file5"},{"photo_id":"1345066886","filename":"file2"},{"photo_id":"1345066890","filename":"file4"},{"photo_id":"1345066882","filename":"file1"},{"photo_id":"1345066879","filename":"file0"},{"photo_id":"1345066889","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345066879":["hashtag1","hashtag2"]},{"1345066894":["hashtag1","hashtag2"]},{"1345066882":["hashtag1","hashtag2"]},{"1345066890":["hashtag1","hashtag2"]},{"1345066886":["hashtag1","hashtag2"]},{"1345066889":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345066879, 1345066894, 1345066882, 1345066890, 1345066886, 1345066889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15750193595886 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:16:03.403592
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_21_3928.jpg', 2), ('/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_17_4360.jpg', 2), ('/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_13_4205.jpg', 2), ('/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_09_3439.jpg', 2), ('/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_05_4554.jpg', 2), ('/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_01_3179.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_21_3928.jpg', '/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_17_4360.jpg', '/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_13_4205.jpg', '/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_09_3439.jpg', '/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_05_4554.jpg', '/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_01_3179.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_21_3928.jpg
/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_17_4360.jpg
/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_13_4205.jpg
/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_09_3439.jpg
/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_05_4554.jpg
/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_01_3179.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.42512011528015137 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:16:32.514666
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_21_3928.jpg', 2), ('/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_17_4360.jpg', 2), ('/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_13_4205.jpg', 2), ('/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_09_3439.jpg', 2), ('/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_05_4554.jpg', 2), ('/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_01_3179.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_21_3928.jpg', '/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_17_4360.jpg', '/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_13_4205.jpg', '/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_09_3439.jpg', '/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_05_4554.jpg', '/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_01_3179.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_21_3928.jpg
/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_17_4360.jpg
/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_13_4205.jpg
/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_09_3439.jpg
/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_05_4554.jpg
/home/nano/Desktop/images/18032025/03/51/image_18032025_03_51_01_3179.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345066943","1345066937","1345066946","1345066959","1345066950","1345066955"],"photo_ids_order":["1345066937","1345066943","1345066946","1345066950","1345066955","1345066959"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/77bb265e6374b1c95c0cd0098f2aec84.jpg","text":"TemporaryFile(/tmp/multipartBody4110265268154861142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285853190,"filename":"image_18032025_03_51_17_4360.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/10b099ca90c2915bd5ffffbb49602417.jpg","text":"TemporaryFile(/tmp/multipartBody7368830828565913368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285853190,"filename":"image_18032025_03_51_21_3928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/967c733c3a9cb0b416be594a3a249700.jpg","text":"TemporaryFile(/tmp/multipartBody8865954230872986270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285853190,"filename":"image_18032025_03_51_13_4205.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/feec552f98fab40a25bd64e3fb709ab7.jpg","text":"TemporaryFile(/tmp/multipartBody969084924103699572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285853190,"filename":"image_18032025_03_51_01_3179.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3cb7f2a0daff51ee877493811300f116.jpg","text":"TemporaryFile(/tmp/multipartBody1655391844378265611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285853190,"filename":"image_18032025_03_51_09_3439.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/561c039407b26c0d21ea1cb125e912e9.jpg","text":"TemporaryFile(/tmp/multipartBody8378034135357025894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285853190,"filename":"image_18032025_03_51_05_4554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345066946","file1":"1345066943","file0":"1345066937","file4":"1345066955","file5":"1345066959","file3":"1345066950"},"map_files_photo_id_array":[{"photo_id":"1345066959","filename":"file5"},{"photo_id":"1345066946","filename":"file2"},{"photo_id":"1345066955","filename":"file4"},{"photo_id":"1345066943","filename":"file1"},{"photo_id":"1345066937","filename":"file0"},{"photo_id":"1345066950","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345066943":["hashtag1","hashtag2"]},{"1345066937":["hashtag1","hashtag2"]},{"1345066946":["hashtag1","hashtag2"]},{"1345066959":["hashtag1","hashtag2"]},{"1345066950":["hashtag1","hashtag2"]},{"1345066955":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345066943, 1345066937, 1345066946, 1345066959, 1345066950, 1345066955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.59768795967102 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:17:32.670306
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_58_4232.jpg', 2), ('/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_53_4451.jpg', 2), ('/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_49_4132.jpg', 2), ('/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_45_3191.jpg', 2), ('/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_42_4231.jpg', 2), ('/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_37_4173.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_58_4232.jpg', '/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_53_4451.jpg', '/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_49_4132.jpg', '/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_45_3191.jpg', '/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_42_4231.jpg', '/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_37_4173.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_58_4232.jpg
/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_53_4451.jpg
/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_49_4132.jpg
/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_45_3191.jpg
/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_42_4231.jpg
/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_37_4173.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345067017","1345067076","1345066992","1345067139","1345067106","1345067049"],"photo_ids_order":["1345066992","1345067017","1345067049","1345067076","1345067106","1345067139"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a889baf07812ca51ae1d76710ea2d3fc.jpg","text":"TemporaryFile(/tmp/multipartBody5689364332849240472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285913318,"filename":"image_18032025_03_50_53_4451.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4c9c73ef10db026168819a995ff6fbfa.jpg","text":"TemporaryFile(/tmp/multipartBody3028978033342009870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285913318,"filename":"image_18032025_03_50_45_3191.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ad8a9c31bb361ce442767980fe873de8.jpg","text":"TemporaryFile(/tmp/multipartBody631516859984200387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285913318,"filename":"image_18032025_03_50_58_4232.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/54fefea57d9615147cf51ef38b99b612.jpg","text":"TemporaryFile(/tmp/multipartBody7360722094041072879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285913318,"filename":"image_18032025_03_50_37_4173.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/84267d24142ed9650fcc254327596cfc.jpg","text":"TemporaryFile(/tmp/multipartBody4103687265808254845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285913318,"filename":"image_18032025_03_50_42_4231.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0abda24ac6b6bbd7570c57c05a92a755.jpg","text":"TemporaryFile(/tmp/multipartBody1659388675271453142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285913318,"filename":"image_18032025_03_50_49_4132.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345067049","file1":"1345067017","file0":"1345066992","file4":"1345067106","file5":"1345067139","file3":"1345067076"},"map_files_photo_id_array":[{"photo_id":"1345067139","filename":"file5"},{"photo_id":"1345067049","filename":"file2"},{"photo_id":"1345067106","filename":"file4"},{"photo_id":"1345067017","filename":"file1"},{"photo_id":"1345066992","filename":"file0"},{"photo_id":"1345067076","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345067017":["hashtag1","hashtag2"]},{"1345067076":["hashtag1","hashtag2"]},{"1345066992":["hashtag1","hashtag2"]},{"1345067139":["hashtag1","hashtag2"]},{"1345067106":["hashtag1","hashtag2"]},{"1345067049":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345067017, 1345067076, 1345066992, 1345067139, 1345067106, 1345067049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.619877338409424 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:18:31.842147
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_33_4214.jpg', 2), ('/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_29_4228.jpg', 2), ('/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_25_3207.jpg', 2), ('/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_22_4096.jpg', 2), ('/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_18_4140.jpg', 2), ('/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_13_4179.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_33_4214.jpg', '/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_29_4228.jpg', '/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_25_3207.jpg', '/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_22_4096.jpg', '/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_18_4140.jpg', '/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_13_4179.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_33_4214.jpg
/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_29_4228.jpg
/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_25_3207.jpg
/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_22_4096.jpg
/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_18_4140.jpg
/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_13_4179.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345067290","1345067295","1345067304","1345067285","1345067279","1345067300"],"photo_ids_order":["1345067279","1345067285","1345067290","1345067295","1345067300","1345067304"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/85f1b9dbfc0b8aa693dae7ed637a5ac8.jpg","text":"TemporaryFile(/tmp/multipartBody5120860455914600570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285972486,"filename":"image_18032025_03_50_25_3207.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/410391245e8ab06aaa8c28fc7126fceb.jpg","text":"TemporaryFile(/tmp/multipartBody3963252311690407265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285972486,"filename":"image_18032025_03_50_22_4096.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6577fd9f86f7a1152b9cc7b212b9d7b4.jpg","text":"TemporaryFile(/tmp/multipartBody1266182532141055567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285972486,"filename":"image_18032025_03_50_13_4179.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e4ab487b30b55d0618bf128993e0010e.jpg","text":"TemporaryFile(/tmp/multipartBody5332282016817443088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285972486,"filename":"image_18032025_03_50_29_4228.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b4d0ebecdb0ad353ea368bc77f401e28.jpg","text":"TemporaryFile(/tmp/multipartBody8565524049597448386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285972486,"filename":"image_18032025_03_50_33_4214.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4672c9731d2f09dca3ceaca9e4608c27.jpg","text":"TemporaryFile(/tmp/multipartBody699588324328721298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742285972486,"filename":"image_18032025_03_50_18_4140.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345067290","file1":"1345067285","file0":"1345067279","file4":"1345067300","file5":"1345067304","file3":"1345067295"},"map_files_photo_id_array":[{"photo_id":"1345067304","filename":"file5"},{"photo_id":"1345067290","filename":"file2"},{"photo_id":"1345067300","filename":"file4"},{"photo_id":"1345067285","filename":"file1"},{"photo_id":"1345067279","filename":"file0"},{"photo_id":"1345067295","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345067290":["hashtag1","hashtag2"]},{"1345067295":["hashtag1","hashtag2"]},{"1345067304":["hashtag1","hashtag2"]},{"1345067285":["hashtag1","hashtag2"]},{"1345067279":["hashtag1","hashtag2"]},{"1345067300":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345067290, 1345067295, 1345067304, 1345067285, 1345067279, 1345067300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.114458084106445 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:19:32.028889
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_09_4256.jpg', 2), ('/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_05_3759.jpg', 2), ('/home/nano/Desktop/images/18032025/03/49/image_18032025_03_50_01_4206.jpg', 2), ('/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_57_4141.jpg', 2), ('/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_53_4143.jpg', 2), ('/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_49_3100.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_09_4256.jpg', '/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_05_3759.jpg', '/home/nano/Desktop/images/18032025/03/49/image_18032025_03_50_01_4206.jpg', '/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_57_4141.jpg', '/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_53_4143.jpg', '/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_49_3100.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_09_4256.jpg
/home/nano/Desktop/images/18032025/03/50/image_18032025_03_50_05_3759.jpg
/home/nano/Desktop/images/18032025/03/49/image_18032025_03_50_01_4206.jpg
/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_57_4141.jpg
/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_53_4143.jpg
/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_49_3100.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345067355","1345067322","1345067316","1345067351","1345067327","1345067336"],"photo_ids_order":["1345067316","1345067322","1345067327","1345067336","1345067351","1345067355"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ae4ec7abe623fa076c7f12132a18b0e4.jpg","text":"TemporaryFile(/tmp/multipartBody801962115529780998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286032595,"filename":"image_18032025_03_49_49_3100.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9d9aa9a672d6a2fbdaf840086deb2c8d.jpg","text":"TemporaryFile(/tmp/multipartBody2275471298284344239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286032595,"filename":"image_18032025_03_50_05_3759.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a0422f20628a9c53cc3eb3943bd828cf.jpg","text":"TemporaryFile(/tmp/multipartBody6733417078726337490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286032595,"filename":"image_18032025_03_50_09_4256.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/be1e03494021249b16eeb26c24cc29f9.jpg","text":"TemporaryFile(/tmp/multipartBody1941425628674378610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286032595,"filename":"image_18032025_03_49_53_4143.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a246505b8be844da7b61d98736509df8.jpg","text":"TemporaryFile(/tmp/multipartBody290918783315883370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286032595,"filename":"image_18032025_03_50_01_4206.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6e6406954734e7e864a6960fe097cd03.jpg","text":"TemporaryFile(/tmp/multipartBody1720100917199526125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286032595,"filename":"image_18032025_03_49_57_4141.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345067327","file1":"1345067322","file0":"1345067316","file4":"1345067351","file5":"1345067355","file3":"1345067336"},"map_files_photo_id_array":[{"photo_id":"1345067355","filename":"file5"},{"photo_id":"1345067327","filename":"file2"},{"photo_id":"1345067351","filename":"file4"},{"photo_id":"1345067322","filename":"file1"},{"photo_id":"1345067316","filename":"file0"},{"photo_id":"1345067336","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345067355":["hashtag1","hashtag2"]},{"1345067322":["hashtag1","hashtag2"]},{"1345067316":["hashtag1","hashtag2"]},{"1345067351":["hashtag1","hashtag2"]},{"1345067327":["hashtag1","hashtag2"]},{"1345067336":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345067355, 1345067322, 1345067316, 1345067351, 1345067327, 1345067336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.65345788002014 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:20:32.219027
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_46_4176.jpg', 2), ('/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_41_4199.jpg', 2), ('/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_37_4230.jpg', 2), ('/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_33_4142.jpg', 2), ('/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_29_3264.jpg', 2), ('/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_26_3931.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_46_4176.jpg', '/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_41_4199.jpg', '/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_37_4230.jpg', '/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_33_4142.jpg', '/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_29_3264.jpg', '/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_26_3931.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_46_4176.jpg
/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_41_4199.jpg
/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_37_4230.jpg
/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_33_4142.jpg
/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_29_3264.jpg
/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_26_3931.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345067392","1345067386","1345067395","1345067373","1345067381","1345067378"],"photo_ids_order":["1345067373","1345067378","1345067381","1345067386","1345067392","1345067395"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bddee79f54c3968a0537b0b21312c13f.jpg","text":"TemporaryFile(/tmp/multipartBody5111644044566950765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286092766,"filename":"image_18032025_03_49_29_3264.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6387d08e4a9b05a47bc70e26523a0f4b.jpg","text":"TemporaryFile(/tmp/multipartBody6503887128659077547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286092766,"filename":"image_18032025_03_49_33_4142.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a898e5e30d0d1d2d9aa440010c007272.jpg","text":"TemporaryFile(/tmp/multipartBody3744069094640230151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286092766,"filename":"image_18032025_03_49_26_3931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/de9cddc18ac26d48d88c999735f4ea6a.jpg","text":"TemporaryFile(/tmp/multipartBody5658054542341945095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286092766,"filename":"image_18032025_03_49_46_4176.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d07301e61d11b0c6e6fdc761378d8f9e.jpg","text":"TemporaryFile(/tmp/multipartBody1555015691000035150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286092766,"filename":"image_18032025_03_49_37_4230.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/02533ddddf874d8c6eb699aceb4de054.jpg","text":"TemporaryFile(/tmp/multipartBody8693750956732484624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286092766,"filename":"image_18032025_03_49_41_4199.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345067381","file1":"1345067378","file0":"1345067373","file4":"1345067392","file5":"1345067395","file3":"1345067386"},"map_files_photo_id_array":[{"photo_id":"1345067395","filename":"file5"},{"photo_id":"1345067381","filename":"file2"},{"photo_id":"1345067392","filename":"file4"},{"photo_id":"1345067378","filename":"file1"},{"photo_id":"1345067373","filename":"file0"},{"photo_id":"1345067386","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345067392":["hashtag1","hashtag2"]},{"1345067386":["hashtag1","hashtag2"]},{"1345067395":["hashtag1","hashtag2"]},{"1345067373":["hashtag1","hashtag2"]},{"1345067381":["hashtag1","hashtag2"]},{"1345067378":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345067392, 1345067386, 1345067395, 1345067373, 1345067381, 1345067378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.15578842163086 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:21:32.377672
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_22_4180.jpg', 2), ('/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_17_4239.jpg', 2), ('/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_13_4256.jpg', 2), ('/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_09_4122.jpg', 2), ('/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_05_3746.jpg', 2), ('/home/nano/Desktop/images/18032025/03/48/image_18032025_03_49_01_4295.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_22_4180.jpg', '/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_17_4239.jpg', '/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_13_4256.jpg', '/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_09_4122.jpg', '/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_05_3746.jpg', '/home/nano/Desktop/images/18032025/03/48/image_18032025_03_49_01_4295.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_22_4180.jpg
/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_17_4239.jpg
/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_13_4256.jpg
/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_09_4122.jpg
/home/nano/Desktop/images/18032025/03/49/image_18032025_03_49_05_3746.jpg
/home/nano/Desktop/images/18032025/03/48/image_18032025_03_49_01_4295.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345067422","1345067433","1345067430","1345067418","1345067426","1345067414"],"photo_ids_order":["1345067414","1345067418","1345067422","1345067426","1345067430","1345067433"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d51954355a6c60898bbf7011ea7c43df.jpg","text":"TemporaryFile(/tmp/multipartBody2111314763804190231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286152927,"filename":"image_18032025_03_49_13_4256.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5ecbfc94d71ffe84199988853a75a4ce.jpg","text":"TemporaryFile(/tmp/multipartBody1188088062452859795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286152927,"filename":"image_18032025_03_49_01_4295.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/65a723f70fef26d9a583bcf4dde2dc5f.jpg","text":"TemporaryFile(/tmp/multipartBody4545808191120259181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286152927,"filename":"image_18032025_03_49_05_3746.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e07aef16e08b988fb668af584c69fb33.jpg","text":"TemporaryFile(/tmp/multipartBody4366420181941710663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286152927,"filename":"image_18032025_03_49_17_4239.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8d8b70fbfe8c3d371cf48682831ff4d3.jpg","text":"TemporaryFile(/tmp/multipartBody3132358254461255972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286152927,"filename":"image_18032025_03_49_09_4122.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f708a96c5a7a2c061c494d97653ec279.jpg","text":"TemporaryFile(/tmp/multipartBody7707540154377261677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286152927,"filename":"image_18032025_03_49_22_4180.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345067422","file1":"1345067418","file0":"1345067414","file4":"1345067430","file5":"1345067433","file3":"1345067426"},"map_files_photo_id_array":[{"photo_id":"1345067433","filename":"file5"},{"photo_id":"1345067422","filename":"file2"},{"photo_id":"1345067430","filename":"file4"},{"photo_id":"1345067418","filename":"file1"},{"photo_id":"1345067414","filename":"file0"},{"photo_id":"1345067426","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345067422":["hashtag1","hashtag2"]},{"1345067433":["hashtag1","hashtag2"]},{"1345067430":["hashtag1","hashtag2"]},{"1345067418":["hashtag1","hashtag2"]},{"1345067426":["hashtag1","hashtag2"]},{"1345067414":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345067422, 1345067433, 1345067430, 1345067418, 1345067426, 1345067414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.938354015350342 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:22:32.634672
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_57_3232.jpg', 2), ('/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_54_4224.jpg', 2), ('/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_49_4102.jpg', 2), ('/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_45_4236.jpg', 2), ('/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_41_4237.jpg', 2), ('/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_37_3168.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_57_3232.jpg', '/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_54_4224.jpg', '/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_49_4102.jpg', '/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_45_4236.jpg', '/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_41_4237.jpg', '/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_37_3168.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_57_3232.jpg
/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_54_4224.jpg
/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_49_4102.jpg
/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_45_4236.jpg
/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_41_4237.jpg
/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_37_3168.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345067464","1345067452","1345067472","1345067460","1345067456","1345067468"],"photo_ids_order":["1345067452","1345067456","1345067460","1345067464","1345067468","1345067472"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/95c940ad7dfbcfc729b7208d3a677e13.jpg","text":"TemporaryFile(/tmp/multipartBody1955562768253927303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286213173,"filename":"image_18032025_03_48_45_4236.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3eab1508bdd7490f7ac33e162257dbf8.jpg","text":"TemporaryFile(/tmp/multipartBody2878760091176824927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286213173,"filename":"image_18032025_03_48_57_3232.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c87ef4c5dc2c751438c359ca8855c89d.jpg","text":"TemporaryFile(/tmp/multipartBody3146998235263191401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286213173,"filename":"image_18032025_03_48_37_3168.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3f980ac8f6effa2118db080419ef8ed1.jpg","text":"TemporaryFile(/tmp/multipartBody5659762942943785070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286213173,"filename":"image_18032025_03_48_49_4102.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7d44c8f77408f57b985493c1e1b9f552.jpg","text":"TemporaryFile(/tmp/multipartBody2800068453071248144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286213173,"filename":"image_18032025_03_48_54_4224.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cff87035ba2017299114f79f493ab649.jpg","text":"TemporaryFile(/tmp/multipartBody1262730376117691545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286213173,"filename":"image_18032025_03_48_41_4237.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345067460","file1":"1345067456","file0":"1345067452","file4":"1345067468","file5":"1345067472","file3":"1345067464"},"map_files_photo_id_array":[{"photo_id":"1345067472","filename":"file5"},{"photo_id":"1345067460","filename":"file2"},{"photo_id":"1345067468","filename":"file4"},{"photo_id":"1345067456","filename":"file1"},{"photo_id":"1345067452","filename":"file0"},{"photo_id":"1345067464","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345067464":["hashtag1","hashtag2"]},{"1345067452":["hashtag1","hashtag2"]},{"1345067472":["hashtag1","hashtag2"]},{"1345067460":["hashtag1","hashtag2"]},{"1345067456":["hashtag1","hashtag2"]},{"1345067468":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345067464, 1345067452, 1345067472, 1345067460, 1345067456, 1345067468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.75470232963562 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:23:32.848381
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_34_4153.jpg', 2), ('/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_29_4004.jpg', 2), ('/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_25_4120.jpg', 2), ('/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_21_4111.jpg', 2), ('/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_17_4131.jpg', 2), ('/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_13_4109.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_34_4153.jpg', '/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_29_4004.jpg', '/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_25_4120.jpg', '/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_21_4111.jpg', '/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_17_4131.jpg', '/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_13_4109.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_34_4153.jpg
/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_29_4004.jpg
/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_25_4120.jpg
/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_21_4111.jpg
/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_17_4131.jpg
/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_13_4109.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345067503","1345067512","1345067493","1345067514","1345067498","1345067507"],"photo_ids_order":["1345067493","1345067498","1345067503","1345067507","1345067512","1345067514"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1785afaddced4e193c8aa92a34709d66.jpg","text":"TemporaryFile(/tmp/multipartBody8524866331656700614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286273403,"filename":"image_18032025_03_48_25_4120.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/74633c9fad1fca1ed451a8999df269e1.jpg","text":"TemporaryFile(/tmp/multipartBody6938916787263562061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286273403,"filename":"image_18032025_03_48_17_4131.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/86306cd6819af444b2aefdc9abe51c1a.jpg","text":"TemporaryFile(/tmp/multipartBody2917962283769145989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286273403,"filename":"image_18032025_03_48_34_4153.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/21bdaf47de743feee22f411f1142d012.jpg","text":"TemporaryFile(/tmp/multipartBody6490987990608996011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286273403,"filename":"image_18032025_03_48_13_4109.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/22e5b356dbde5e56de3acfa8cd3044f2.jpg","text":"TemporaryFile(/tmp/multipartBody7776509338492370326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286273403,"filename":"image_18032025_03_48_29_4004.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7beddad44500977c5fae92a29e46cfef.jpg","text":"TemporaryFile(/tmp/multipartBody7438641149445414236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286273403,"filename":"image_18032025_03_48_21_4111.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345067503","file1":"1345067498","file0":"1345067493","file4":"1345067512","file5":"1345067514","file3":"1345067507"},"map_files_photo_id_array":[{"photo_id":"1345067514","filename":"file5"},{"photo_id":"1345067503","filename":"file2"},{"photo_id":"1345067512","filename":"file4"},{"photo_id":"1345067498","filename":"file1"},{"photo_id":"1345067493","filename":"file0"},{"photo_id":"1345067507","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345067503":["hashtag1","hashtag2"]},{"1345067512":["hashtag1","hashtag2"]},{"1345067493":["hashtag1","hashtag2"]},{"1345067514":["hashtag1","hashtag2"]},{"1345067498":["hashtag1","hashtag2"]},{"1345067507":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345067503, 1345067512, 1345067493, 1345067514, 1345067498, 1345067507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.492674112319946 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:24:32.015598
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_09_4100.jpg', 2), ('/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_05_3408.jpg', 2), ('/home/nano/Desktop/images/18032025/03/47/image_18032025_03_48_02_4186.jpg', 2), ('/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_57_4171.jpg', 2), ('/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_53_3964.jpg', 2), ('/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_49_4089.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_09_4100.jpg', '/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_05_3408.jpg', '/home/nano/Desktop/images/18032025/03/47/image_18032025_03_48_02_4186.jpg', '/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_57_4171.jpg', '/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_53_3964.jpg', '/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_49_4089.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_09_4100.jpg
/home/nano/Desktop/images/18032025/03/48/image_18032025_03_48_05_3408.jpg
/home/nano/Desktop/images/18032025/03/47/image_18032025_03_48_02_4186.jpg
/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_57_4171.jpg
/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_53_3964.jpg
/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_49_4089.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345067551","1345067547","1345067555","1345067558","1345067543","1345067540"],"photo_ids_order":["1345067540","1345067543","1345067547","1345067551","1345067555","1345067558"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/474efacc78277b1c9fd85ea7dabab22b.jpg","text":"TemporaryFile(/tmp/multipartBody4146821834260288228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286332614,"filename":"image_18032025_03_47_57_4171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/49947fabb5ceda198459c9bb7800ce5b.jpg","text":"TemporaryFile(/tmp/multipartBody3117490442549461455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286332614,"filename":"image_18032025_03_48_02_4186.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7799550068a71ffbdce90c3060fde6ad.jpg","text":"TemporaryFile(/tmp/multipartBody4309876552641682403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286332614,"filename":"image_18032025_03_47_53_3964.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5a729084c106df5f09b185cb7ecde277.jpg","text":"TemporaryFile(/tmp/multipartBody1592515305857750461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286332614,"filename":"image_18032025_03_47_49_4089.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/55a91ff9485076406a935c0a3fb87b6f.jpg","text":"TemporaryFile(/tmp/multipartBody8973119874685654443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286332614,"filename":"image_18032025_03_48_05_3408.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7259e381e8d53a59dbef0a110b6bfa3e.jpg","text":"TemporaryFile(/tmp/multipartBody7693723056080286759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286332614,"filename":"image_18032025_03_48_09_4100.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345067547","file1":"1345067543","file0":"1345067540","file4":"1345067555","file5":"1345067558","file3":"1345067551"},"map_files_photo_id_array":[{"photo_id":"1345067558","filename":"file5"},{"photo_id":"1345067547","filename":"file2"},{"photo_id":"1345067555","filename":"file4"},{"photo_id":"1345067543","filename":"file1"},{"photo_id":"1345067540","filename":"file0"},{"photo_id":"1345067551","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345067551":["hashtag1","hashtag2"]},{"1345067547":["hashtag1","hashtag2"]},{"1345067555":["hashtag1","hashtag2"]},{"1345067558":["hashtag1","hashtag2"]},{"1345067543":["hashtag1","hashtag2"]},{"1345067540":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345067551, 1345067547, 1345067555, 1345067558, 1345067543, 1345067540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.828933000564575 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:25:32.161281
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_45_4185.jpg', 2), ('/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_41_3953.jpg', 2), ('/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_37_3938.jpg', 2), ('/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_33_3937.jpg', 2), ('/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_29_4147.jpg', 2), ('/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_25_4175.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_45_4185.jpg', '/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_41_3953.jpg', '/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_37_3938.jpg', '/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_33_3937.jpg', '/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_29_4147.jpg', '/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_25_4175.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_45_4185.jpg
/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_41_3953.jpg
/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_37_3938.jpg
/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_33_3937.jpg
/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_29_4147.jpg
/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_25_4175.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345067584","1345067589","1345067580","1345067594","1345067597","1345067576"],"photo_ids_order":["1345067576","1345067580","1345067584","1345067589","1345067594","1345067597"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3989aac5790726c43b00a8c487858031.jpg","text":"TemporaryFile(/tmp/multipartBody5714847353602781468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286392675,"filename":"image_18032025_03_47_37_3938.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3ac55db2528aff3eb212e48fd4a08c9a.jpg","text":"TemporaryFile(/tmp/multipartBody1613884102063202852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286392675,"filename":"image_18032025_03_47_33_3937.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/566bd02bf762ac2d95b3ad7f612c84b5.jpg","text":"TemporaryFile(/tmp/multipartBody7871670951446626413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286392675,"filename":"image_18032025_03_47_41_3953.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/092b454863e693362517b172d6a5ba8c.jpg","text":"TemporaryFile(/tmp/multipartBody1597077912562949657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286392675,"filename":"image_18032025_03_47_29_4147.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a8269e27b296f3add6cde92f77e03c20.jpg","text":"TemporaryFile(/tmp/multipartBody4155459532572779666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286392675,"filename":"image_18032025_03_47_25_4175.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d8aa7e6331d70751be99ac99b5f77e49.jpg","text":"TemporaryFile(/tmp/multipartBody2807694664096764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286392675,"filename":"image_18032025_03_47_45_4185.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345067584","file1":"1345067580","file0":"1345067576","file4":"1345067594","file5":"1345067597","file3":"1345067589"},"map_files_photo_id_array":[{"photo_id":"1345067597","filename":"file5"},{"photo_id":"1345067584","filename":"file2"},{"photo_id":"1345067594","filename":"file4"},{"photo_id":"1345067580","filename":"file1"},{"photo_id":"1345067576","filename":"file0"},{"photo_id":"1345067589","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345067584":["hashtag1","hashtag2"]},{"1345067589":["hashtag1","hashtag2"]},{"1345067580":["hashtag1","hashtag2"]},{"1345067594":["hashtag1","hashtag2"]},{"1345067597":["hashtag1","hashtag2"]},{"1345067576":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345067584, 1345067589, 1345067580, 1345067594, 1345067597, 1345067576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.544669151306152 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:26:32.346038
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_21_3177.jpg', 2), ('/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_18_4192.jpg', 2), ('/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_13_4248.jpg', 2), ('/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_09_4162.jpg', 2), ('/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_05_3784.jpg', 2), ('/home/nano/Desktop/images/18032025/03/46/image_18032025_03_47_01_4170.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_21_3177.jpg', '/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_18_4192.jpg', '/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_13_4248.jpg', '/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_09_4162.jpg', '/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_05_3784.jpg', '/home/nano/Desktop/images/18032025/03/46/image_18032025_03_47_01_4170.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_21_3177.jpg
/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_18_4192.jpg
/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_13_4248.jpg
/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_09_4162.jpg
/home/nano/Desktop/images/18032025/03/47/image_18032025_03_47_05_3784.jpg
/home/nano/Desktop/images/18032025/03/46/image_18032025_03_47_01_4170.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345067632","1345067614","1345067637","1345067622","1345067618","1345067627"],"photo_ids_order":["1345067614","1345067618","1345067622","1345067627","1345067632","1345067637"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7a3dca097b5f81ea0ec045545b801dcd.jpg","text":"TemporaryFile(/tmp/multipartBody423660628297433801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286452861,"filename":"image_18032025_03_47_05_3784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d4fbc8801066793032b0e2eca32c2288.jpg","text":"TemporaryFile(/tmp/multipartBody3780861282975408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286452861,"filename":"image_18032025_03_47_21_3177.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c454424dce01c7637138adf07a831103.jpg","text":"TemporaryFile(/tmp/multipartBody6311059874712058583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286452861,"filename":"image_18032025_03_47_01_4170.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e995c44d0a60d9f013e11ad83433b3bc.jpg","text":"TemporaryFile(/tmp/multipartBody3988665908395706398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286452861,"filename":"image_18032025_03_47_13_4248.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f3d12a2367d82fe22237ecb66b710347.jpg","text":"TemporaryFile(/tmp/multipartBody8912017014652531616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286452861,"filename":"image_18032025_03_47_18_4192.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/70a193a84a91dd84c957c0052d9dbc11.jpg","text":"TemporaryFile(/tmp/multipartBody399624895746111238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286452861,"filename":"image_18032025_03_47_09_4162.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345067622","file1":"1345067618","file0":"1345067614","file4":"1345067632","file5":"1345067637","file3":"1345067627"},"map_files_photo_id_array":[{"photo_id":"1345067637","filename":"file5"},{"photo_id":"1345067622","filename":"file2"},{"photo_id":"1345067632","filename":"file4"},{"photo_id":"1345067618","filename":"file1"},{"photo_id":"1345067614","filename":"file0"},{"photo_id":"1345067627","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345067632":["hashtag1","hashtag2"]},{"1345067614":["hashtag1","hashtag2"]},{"1345067637":["hashtag1","hashtag2"]},{"1345067622":["hashtag1","hashtag2"]},{"1345067618":["hashtag1","hashtag2"]},{"1345067627":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345067632, 1345067614, 1345067637, 1345067622, 1345067618, 1345067627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.29747223854065 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:27:32.523867
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_57_4136.jpg', 2), ('/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_53_3259.jpg', 2), ('/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_50_4257.jpg', 2), ('/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_45_4079.jpg', 2), ('/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_41_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_37_4163.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_57_4136.jpg', '/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_53_3259.jpg', '/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_50_4257.jpg', '/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_45_4079.jpg', '/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_41_4146.jpg', '/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_37_4163.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_57_4136.jpg
/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_53_3259.jpg
/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_50_4257.jpg
/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_45_4079.jpg
/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_41_4146.jpg
/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_37_4163.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345067671","1345067661","1345067679","1345067655","1345067675","1345067666"],"photo_ids_order":["1345067655","1345067661","1345067666","1345067671","1345067675","1345067679"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5a6de86134f2ac4893bc0f487e60e1fe.jpg","text":"TemporaryFile(/tmp/multipartBody7749207470501209008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286513035,"filename":"image_18032025_03_46_45_4079.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a540bfad23d0a24b3a22fec79c14f8ad.jpg","text":"TemporaryFile(/tmp/multipartBody6177354932515081262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286513035,"filename":"image_18032025_03_46_53_3259.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4bb3de98c9a15195eb5b028172986e9d.jpg","text":"TemporaryFile(/tmp/multipartBody1103865053898431760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286513035,"filename":"image_18032025_03_46_37_4163.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/be0e65523ad157b8b1f90a42c446ba89.jpg","text":"TemporaryFile(/tmp/multipartBody5027849078257085937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286513035,"filename":"image_18032025_03_46_57_4136.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/73dba8789800d73e852d8f3fb4c26fb2.jpg","text":"TemporaryFile(/tmp/multipartBody8763600092910884210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286513035,"filename":"image_18032025_03_46_41_4146.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a88cdea5df8fe2d7fb8138d832c5c28e.jpg","text":"TemporaryFile(/tmp/multipartBody8611289396867664751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286513035,"filename":"image_18032025_03_46_50_4257.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345067666","file1":"1345067661","file0":"1345067655","file4":"1345067675","file5":"1345067679","file3":"1345067671"},"map_files_photo_id_array":[{"photo_id":"1345067679","filename":"file5"},{"photo_id":"1345067666","filename":"file2"},{"photo_id":"1345067675","filename":"file4"},{"photo_id":"1345067661","filename":"file1"},{"photo_id":"1345067655","filename":"file0"},{"photo_id":"1345067671","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345067671":["hashtag1","hashtag2"]},{"1345067661":["hashtag1","hashtag2"]},{"1345067679":["hashtag1","hashtag2"]},{"1345067655":["hashtag1","hashtag2"]},{"1345067675":["hashtag1","hashtag2"]},{"1345067666":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345067671, 1345067661, 1345067679, 1345067655, 1345067675, 1345067666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.607669591903687 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:28:32.666005
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_33_4153.jpg', 2), ('/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_29_3115.jpg', 2), ('/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_26_4405.jpg', 2), ('/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_21_4419.jpg', 2), ('/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_17_4038.jpg', 2), ('/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_13_3193.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_33_4153.jpg', '/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_29_3115.jpg', '/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_26_4405.jpg', '/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_21_4419.jpg', '/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_17_4038.jpg', '/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_13_3193.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_33_4153.jpg
/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_29_3115.jpg
/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_26_4405.jpg
/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_21_4419.jpg
/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_17_4038.jpg
/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_13_3193.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.4134194850921631 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:29:03.045296
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_33_4153.jpg', 2), ('/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_29_3115.jpg', 2), ('/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_26_4405.jpg', 2), ('/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_21_4419.jpg', 2), ('/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_17_4038.jpg', 2), ('/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_13_3193.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_33_4153.jpg', '/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_29_3115.jpg', '/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_26_4405.jpg', '/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_21_4419.jpg', '/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_17_4038.jpg', '/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_13_3193.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_33_4153.jpg
/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_29_3115.jpg
/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_26_4405.jpg
/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_21_4419.jpg
/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_17_4038.jpg
/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_13_3193.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345067728","1345067743","1345067739","1345067724","1345067733","1345067736"],"photo_ids_order":["1345067724","1345067728","1345067733","1345067736","1345067739","1345067743"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/296cf9cefe0cb855b78877152cb01721.jpg","text":"TemporaryFile(/tmp/multipartBody6563370124883750807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286603728,"filename":"image_18032025_03_46_29_3115.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/09839519c1e6dc5d333f75d47940d110.jpg","text":"TemporaryFile(/tmp/multipartBody1340534040609232430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286603728,"filename":"image_18032025_03_46_13_3193.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3f0eac7be750f32073f763d82d5c70d5.jpg","text":"TemporaryFile(/tmp/multipartBody4483485427285187056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286603728,"filename":"image_18032025_03_46_17_4038.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8f3ec6ee07b437617a19282ec75109f5.jpg","text":"TemporaryFile(/tmp/multipartBody6896924608000172143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286603728,"filename":"image_18032025_03_46_33_4153.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/19cb77b29a438329360b439f2baf3842.jpg","text":"TemporaryFile(/tmp/multipartBody1891097356297522498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286603728,"filename":"image_18032025_03_46_26_4405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/da3c149cb85a1408e7f53331e917d711.jpg","text":"TemporaryFile(/tmp/multipartBody7613840031682606853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286603728,"filename":"image_18032025_03_46_21_4419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345067733","file1":"1345067728","file0":"1345067724","file4":"1345067739","file5":"1345067743","file3":"1345067736"},"map_files_photo_id_array":[{"photo_id":"1345067743","filename":"file5"},{"photo_id":"1345067733","filename":"file2"},{"photo_id":"1345067739","filename":"file4"},{"photo_id":"1345067728","filename":"file1"},{"photo_id":"1345067724","filename":"file0"},{"photo_id":"1345067736","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345067728":["hashtag1","hashtag2"]},{"1345067743":["hashtag1","hashtag2"]},{"1345067739":["hashtag1","hashtag2"]},{"1345067724":["hashtag1","hashtag2"]},{"1345067733":["hashtag1","hashtag2"]},{"1345067736":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345067728, 1345067743, 1345067739, 1345067724, 1345067733, 1345067736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.678537368774414 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:30:02.538275
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_10_4237.jpg', 2), ('/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_05_4388.jpg', 2), ('/home/nano/Desktop/images/18032025/03/45/image_18032025_03_46_01_4057.jpg', 2), ('/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_57_4130.jpg', 2), ('/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_53_3935.jpg', 2), ('/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_49_4012.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_10_4237.jpg', '/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_05_4388.jpg', '/home/nano/Desktop/images/18032025/03/45/image_18032025_03_46_01_4057.jpg', '/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_57_4130.jpg', '/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_53_3935.jpg', '/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_49_4012.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_10_4237.jpg
/home/nano/Desktop/images/18032025/03/46/image_18032025_03_46_05_4388.jpg
/home/nano/Desktop/images/18032025/03/45/image_18032025_03_46_01_4057.jpg
/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_57_4130.jpg
/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_53_3935.jpg
/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_49_4012.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345067807","1345067856","1345067841","1345067799","1345067811","1345067804"],"photo_ids_order":["1345067799","1345067804","1345067807","1345067811","1345067841","1345067856"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2e18c8d3e05ea500ed6db688778279e5.jpg","text":"TemporaryFile(/tmp/multipartBody143304066412497606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286663043,"filename":"image_18032025_03_46_01_4057.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1e8033c119a1a27e942362ea7f2271b1.jpg","text":"TemporaryFile(/tmp/multipartBody6532262253804830299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286663043,"filename":"image_18032025_03_45_49_4012.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/76409e1281be9736d17e658cfb1f427d.jpg","text":"TemporaryFile(/tmp/multipartBody2086264613701040714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286663043,"filename":"image_18032025_03_45_53_3935.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a1cd5a6927243776eed7e680ccec8cc4.jpg","text":"TemporaryFile(/tmp/multipartBody882802865779998889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286663043,"filename":"image_18032025_03_46_10_4237.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9541fdb3cea36ee694b028bc9651067c.jpg","text":"TemporaryFile(/tmp/multipartBody779790603261711504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286663043,"filename":"image_18032025_03_45_57_4130.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/daa8afa4ca35059a5f3e0379ff7186c3.jpg","text":"TemporaryFile(/tmp/multipartBody2481194718612765887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286663043,"filename":"image_18032025_03_46_05_4388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345067807","file1":"1345067804","file0":"1345067799","file4":"1345067841","file5":"1345067856","file3":"1345067811"},"map_files_photo_id_array":[{"photo_id":"1345067856","filename":"file5"},{"photo_id":"1345067807","filename":"file2"},{"photo_id":"1345067841","filename":"file4"},{"photo_id":"1345067804","filename":"file1"},{"photo_id":"1345067799","filename":"file0"},{"photo_id":"1345067811","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345067807":["hashtag1","hashtag2"]},{"1345067856":["hashtag1","hashtag2"]},{"1345067841":["hashtag1","hashtag2"]},{"1345067799":["hashtag1","hashtag2"]},{"1345067811":["hashtag1","hashtag2"]},{"1345067804":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345067807, 1345067856, 1345067841, 1345067799, 1345067811, 1345067804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.08877205848694 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:31:03.059140
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_45_4099.jpg', 2), ('/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_41_4064.jpg', 2), ('/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_37_3040.jpg', 2), ('/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_34_4025.jpg', 2), ('/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_30_4176.jpg', 2), ('/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_25_4084.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_45_4099.jpg', '/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_41_4064.jpg', '/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_37_3040.jpg', '/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_34_4025.jpg', '/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_30_4176.jpg', '/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_25_4084.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_45_4099.jpg
/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_41_4064.jpg
/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_37_3040.jpg
/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_34_4025.jpg
/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_30_4176.jpg
/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_25_4084.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345067989","1345068040","1345067950","1345068016","1345068036","1345067961"],"photo_ids_order":["1345067950","1345067961","1345067989","1345068016","1345068036","1345068040"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f251a010e6f8b57fbbe2b5d485e027c1.jpg","text":"TemporaryFile(/tmp/multipartBody1886334861648507361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286723749,"filename":"image_18032025_03_45_37_3040.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/245fa33456b6489f78f33451c9419617.jpg","text":"TemporaryFile(/tmp/multipartBody7696893827847154597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286723749,"filename":"image_18032025_03_45_25_4084.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/309e06c1b26a867d53b5fecb1f405da4.jpg","text":"TemporaryFile(/tmp/multipartBody8559319692519220448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286723749,"filename":"image_18032025_03_45_45_4099.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c6fc9bc0c245d3b1e43ac93063f50a46.jpg","text":"TemporaryFile(/tmp/multipartBody6115443510712732075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286723749,"filename":"image_18032025_03_45_34_4025.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/380e396ae2572e4eee90367e50bd34a5.jpg","text":"TemporaryFile(/tmp/multipartBody199398183302854791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286723749,"filename":"image_18032025_03_45_30_4176.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/58f5d1c1d5aa0d583b8e03a671d117d0.jpg","text":"TemporaryFile(/tmp/multipartBody162711471589144892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286723749,"filename":"image_18032025_03_45_41_4064.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345067989","file1":"1345067961","file0":"1345067950","file4":"1345068036","file5":"1345068040","file3":"1345068016"},"map_files_photo_id_array":[{"photo_id":"1345068040","filename":"file5"},{"photo_id":"1345067989","filename":"file2"},{"photo_id":"1345068036","filename":"file4"},{"photo_id":"1345067961","filename":"file1"},{"photo_id":"1345067950","filename":"file0"},{"photo_id":"1345068016","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345067989":["hashtag1","hashtag2"]},{"1345068040":["hashtag1","hashtag2"]},{"1345067950":["hashtag1","hashtag2"]},{"1345068016":["hashtag1","hashtag2"]},{"1345068036":["hashtag1","hashtag2"]},{"1345067961":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345067989, 1345068040, 1345067950, 1345068016, 1345068036, 1345067961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.488672256469727 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:32:03.272946
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_21_4079.jpg', 2), ('/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_17_4134.jpg', 2), ('/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_13_4107.jpg', 2), ('/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_09_4086.jpg', 2), ('/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_05_3963.jpg', 2), ('/home/nano/Desktop/images/18032025/03/44/image_18032025_03_45_01_4027.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_21_4079.jpg', '/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_17_4134.jpg', '/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_13_4107.jpg', '/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_09_4086.jpg', '/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_05_3963.jpg', '/home/nano/Desktop/images/18032025/03/44/image_18032025_03_45_01_4027.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_21_4079.jpg
/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_17_4134.jpg
/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_13_4107.jpg
/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_09_4086.jpg
/home/nano/Desktop/images/18032025/03/45/image_18032025_03_45_05_3963.jpg
/home/nano/Desktop/images/18032025/03/44/image_18032025_03_45_01_4027.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345068112","1345068108","1345068122","1345068116","1345068101","1345068104"],"photo_ids_order":["1345068101","1345068104","1345068108","1345068112","1345068116","1345068122"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1a4bb20707a5de20450bfe8fd1b843c5.jpg","text":"TemporaryFile(/tmp/multipartBody5982690528515526100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286783772,"filename":"image_18032025_03_45_09_4086.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f735a9beadccc71be4a5da75e83e9a6a.jpg","text":"TemporaryFile(/tmp/multipartBody1793492379226072805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286783772,"filename":"image_18032025_03_45_13_4107.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ebe37b9e3791a60c10cc62052b184977.jpg","text":"TemporaryFile(/tmp/multipartBody7269851347361195524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286783772,"filename":"image_18032025_03_45_01_4027.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/31cd97c58cf50cb7d436376f6bebff9e.jpg","text":"TemporaryFile(/tmp/multipartBody3949735555760695594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286783772,"filename":"image_18032025_03_45_05_3963.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fb3d29ba87479e7ca4c6520e55d04f5a.jpg","text":"TemporaryFile(/tmp/multipartBody3689209121072727006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286783772,"filename":"image_18032025_03_45_21_4079.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ae9b4ead697dc65dd78c6474c9317167.jpg","text":"TemporaryFile(/tmp/multipartBody5164529635368840612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286783772,"filename":"image_18032025_03_45_17_4134.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345068108","file1":"1345068104","file0":"1345068101","file4":"1345068116","file5":"1345068122","file3":"1345068112"},"map_files_photo_id_array":[{"photo_id":"1345068122","filename":"file5"},{"photo_id":"1345068108","filename":"file2"},{"photo_id":"1345068116","filename":"file4"},{"photo_id":"1345068104","filename":"file1"},{"photo_id":"1345068101","filename":"file0"},{"photo_id":"1345068112","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345068112":["hashtag1","hashtag2"]},{"1345068108":["hashtag1","hashtag2"]},{"1345068122":["hashtag1","hashtag2"]},{"1345068116":["hashtag1","hashtag2"]},{"1345068101":["hashtag1","hashtag2"]},{"1345068104":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345068112, 1345068108, 1345068122, 1345068116, 1345068101, 1345068104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.71237277984619 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:33:03.155275
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_57_4147.jpg', 2), ('/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_53_3847.jpg', 2), ('/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_49_4103.jpg', 2), ('/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_45_4119.jpg', 2), ('/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_41_3053.jpg', 2), ('/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_38_4053.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_57_4147.jpg', '/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_53_3847.jpg', '/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_49_4103.jpg', '/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_45_4119.jpg', '/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_41_3053.jpg', '/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_38_4053.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_57_4147.jpg
/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_53_3847.jpg
/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_49_4103.jpg
/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_45_4119.jpg
/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_41_3053.jpg
/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_38_4053.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345068208","1345068171","1345068168","1345068182","1345068158","1345068190"],"photo_ids_order":["1345068158","1345068168","1345068171","1345068182","1345068190","1345068208"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a3e2dde0b4f3a8e661817ab6bb0c46cd.jpg","text":"TemporaryFile(/tmp/multipartBody7154097764395660115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286843704,"filename":"image_18032025_03_44_38_4053.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/13f2492bd171c2832cd13d40ed7a585e.jpg","text":"TemporaryFile(/tmp/multipartBody269902030786072156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286843704,"filename":"image_18032025_03_44_49_4103.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/41fa2c51b385d7916b76d75c22198131.jpg","text":"TemporaryFile(/tmp/multipartBody3473515100752731413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286843704,"filename":"image_18032025_03_44_53_3847.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b44e68844d81ba61578b6abde1e6bcb3.jpg","text":"TemporaryFile(/tmp/multipartBody8011539377079009543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286843704,"filename":"image_18032025_03_44_45_4119.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/67c85fb4bf6c93b6f358b6a2e20f888f.jpg","text":"TemporaryFile(/tmp/multipartBody7177081563843247878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286843704,"filename":"image_18032025_03_44_57_4147.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ef0d3021442bfa081eb56a4c6c1179f1.jpg","text":"TemporaryFile(/tmp/multipartBody8841984864004699889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286843704,"filename":"image_18032025_03_44_41_3053.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345068171","file1":"1345068168","file0":"1345068158","file4":"1345068190","file5":"1345068208","file3":"1345068182"},"map_files_photo_id_array":[{"photo_id":"1345068208","filename":"file5"},{"photo_id":"1345068171","filename":"file2"},{"photo_id":"1345068190","filename":"file4"},{"photo_id":"1345068168","filename":"file1"},{"photo_id":"1345068158","filename":"file0"},{"photo_id":"1345068182","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345068208":["hashtag1","hashtag2"]},{"1345068171":["hashtag1","hashtag2"]},{"1345068168":["hashtag1","hashtag2"]},{"1345068182":["hashtag1","hashtag2"]},{"1345068158":["hashtag1","hashtag2"]},{"1345068190":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345068208, 1345068171, 1345068168, 1345068182, 1345068158, 1345068190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.710258960723877 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:34:03.599343
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_34_4106.jpg', 2), ('/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_30_4095.jpg', 2), ('/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_25_4191.jpg', 2), ('/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_21_4369.jpg', 2), ('/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_17_3305.jpg', 2), ('/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_14_4437.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_34_4106.jpg', '/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_30_4095.jpg', '/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_25_4191.jpg', '/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_21_4369.jpg', '/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_17_3305.jpg', '/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_14_4437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_34_4106.jpg
/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_30_4095.jpg
/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_25_4191.jpg
/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_21_4369.jpg
/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_17_3305.jpg
/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_14_4437.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345068297","1345068372","1345068348","1345068324","1345068293","1345068365"],"photo_ids_order":["1345068293","1345068297","1345068324","1345068348","1345068365","1345068372"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5209836061187af57392ab6c4f239b39.jpg","text":"TemporaryFile(/tmp/multipartBody3987706484811109264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286904141,"filename":"image_18032025_03_44_30_4095.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/33b71f85e72670dcc481127d353d6e6e.jpg","text":"TemporaryFile(/tmp/multipartBody6928976823309301828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286904141,"filename":"image_18032025_03_44_14_4437.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5ebcd9ddfbf017f9a8425bd1bee10dd7.jpg","text":"TemporaryFile(/tmp/multipartBody4275352782205423997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286904141,"filename":"image_18032025_03_44_21_4369.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ade8f33a64f597cc9c117bbfca7dc572.jpg","text":"TemporaryFile(/tmp/multipartBody8980197400543689967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286904141,"filename":"image_18032025_03_44_25_4191.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/484c9356840f928cb242b91c3b40a1aa.jpg","text":"TemporaryFile(/tmp/multipartBody5711228455684773559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286904141,"filename":"image_18032025_03_44_34_4106.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/62a5063ae303e2779a0c9ac53f895bce.jpg","text":"TemporaryFile(/tmp/multipartBody537270413242532577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286904141,"filename":"image_18032025_03_44_17_3305.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345068324","file1":"1345068297","file0":"1345068293","file4":"1345068365","file5":"1345068372","file3":"1345068348"},"map_files_photo_id_array":[{"photo_id":"1345068372","filename":"file5"},{"photo_id":"1345068324","filename":"file2"},{"photo_id":"1345068365","filename":"file4"},{"photo_id":"1345068297","filename":"file1"},{"photo_id":"1345068293","filename":"file0"},{"photo_id":"1345068348","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345068297":["hashtag1","hashtag2"]},{"1345068372":["hashtag1","hashtag2"]},{"1345068348":["hashtag1","hashtag2"]},{"1345068324":["hashtag1","hashtag2"]},{"1345068293":["hashtag1","hashtag2"]},{"1345068365":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345068297, 1345068372, 1345068348, 1345068324, 1345068293, 1345068365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.843302011489868 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:35:02.779498
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_09_4424.jpg', 2), ('/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_05_3781.jpg', 2), ('/home/nano/Desktop/images/18032025/03/43/image_18032025_03_44_01_4108.jpg', 2), ('/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_57_4116.jpg', 2), ('/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_53_3363.jpg', 2), ('/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_49_3955.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_09_4424.jpg', '/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_05_3781.jpg', '/home/nano/Desktop/images/18032025/03/43/image_18032025_03_44_01_4108.jpg', '/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_57_4116.jpg', '/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_53_3363.jpg', '/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_49_3955.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_09_4424.jpg
/home/nano/Desktop/images/18032025/03/44/image_18032025_03_44_05_3781.jpg
/home/nano/Desktop/images/18032025/03/43/image_18032025_03_44_01_4108.jpg
/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_57_4116.jpg
/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_53_3363.jpg
/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_49_3955.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345068462","1345068471","1345068465","1345068468","1345068458","1345068478"],"photo_ids_order":["1345068458","1345068462","1345068465","1345068468","1345068471","1345068478"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/23d77430f0d4d035d0dc30556389c832.jpg","text":"TemporaryFile(/tmp/multipartBody5468429707450182960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286963308,"filename":"image_18032025_03_44_05_3781.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3f64b8c306f11079a1eee62bcb795571.jpg","text":"TemporaryFile(/tmp/multipartBody5209757174271818956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286963308,"filename":"image_18032025_03_43_53_3363.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/86054dd7df600ecf67d6563d638a1d05.jpg","text":"TemporaryFile(/tmp/multipartBody7190370994126452796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286963308,"filename":"image_18032025_03_44_01_4108.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a7b1600b803114354889526fdea7f89b.jpg","text":"TemporaryFile(/tmp/multipartBody4927195848044699942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286963308,"filename":"image_18032025_03_43_57_4116.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f93df9f49a1d69cd5c5ddbf1be38d18b.jpg","text":"TemporaryFile(/tmp/multipartBody7579266317540144012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286963308,"filename":"image_18032025_03_44_09_4424.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0c40b9d5d20d7b43af26e6782b10f32f.jpg","text":"TemporaryFile(/tmp/multipartBody8960311325794498781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742286963308,"filename":"image_18032025_03_43_49_3955.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345068465","file1":"1345068462","file0":"1345068458","file4":"1345068471","file5":"1345068478","file3":"1345068468"},"map_files_photo_id_array":[{"photo_id":"1345068478","filename":"file5"},{"photo_id":"1345068465","filename":"file2"},{"photo_id":"1345068471","filename":"file4"},{"photo_id":"1345068462","filename":"file1"},{"photo_id":"1345068458","filename":"file0"},{"photo_id":"1345068468","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345068462":["hashtag1","hashtag2"]},{"1345068471":["hashtag1","hashtag2"]},{"1345068465":["hashtag1","hashtag2"]},{"1345068468":["hashtag1","hashtag2"]},{"1345068458":["hashtag1","hashtag2"]},{"1345068478":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345068462, 1345068471, 1345068465, 1345068468, 1345068458, 1345068478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.2982063293457 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:36:02.938173
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_45_4157.jpg', 2), ('/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_41_4238.jpg', 2), ('/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_37_4192.jpg', 2), ('/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_33_3261.jpg', 2), ('/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_30_4267.jpg', 2), ('/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_25_4270.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_45_4157.jpg', '/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_41_4238.jpg', '/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_37_4192.jpg', '/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_33_3261.jpg', '/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_30_4267.jpg', '/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_25_4270.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_45_4157.jpg
/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_41_4238.jpg
/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_37_4192.jpg
/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_33_3261.jpg
/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_30_4267.jpg
/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_25_4270.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345068523","1345068543","1345068537","1345068540","1345068534","1345068528"],"photo_ids_order":["1345068523","1345068528","1345068534","1345068537","1345068540","1345068543"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c6e20d15434c356441066f3ff78ad81a.jpg","text":"TemporaryFile(/tmp/multipartBody7448799692893618338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287023506,"filename":"image_18032025_03_43_45_4157.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1ad04669d96fb18f3544aed062083bf0.jpg","text":"TemporaryFile(/tmp/multipartBody2363846002520598211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287023506,"filename":"image_18032025_03_43_25_4270.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/47d190ab6634a330904b4bba940d538b.jpg","text":"TemporaryFile(/tmp/multipartBody7646428300707924771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287023506,"filename":"image_18032025_03_43_33_3261.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d97b99792714854bcad2d6dc5167c72b.jpg","text":"TemporaryFile(/tmp/multipartBody1638229290387034076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287023506,"filename":"image_18032025_03_43_30_4267.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5071d72aef8e4eb34da87bd98fb69049.jpg","text":"TemporaryFile(/tmp/multipartBody5666425568549561965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287023506,"filename":"image_18032025_03_43_37_4192.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fb3576790d775c31d20bece67ab326b6.jpg","text":"TemporaryFile(/tmp/multipartBody1215110700156631693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287023506,"filename":"image_18032025_03_43_41_4238.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345068534","file1":"1345068528","file0":"1345068523","file4":"1345068540","file5":"1345068543","file3":"1345068537"},"map_files_photo_id_array":[{"photo_id":"1345068543","filename":"file5"},{"photo_id":"1345068534","filename":"file2"},{"photo_id":"1345068540","filename":"file4"},{"photo_id":"1345068528","filename":"file1"},{"photo_id":"1345068523","filename":"file0"},{"photo_id":"1345068537","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345068523":["hashtag1","hashtag2"]},{"1345068543":["hashtag1","hashtag2"]},{"1345068537":["hashtag1","hashtag2"]},{"1345068540":["hashtag1","hashtag2"]},{"1345068534":["hashtag1","hashtag2"]},{"1345068528":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345068523, 1345068543, 1345068537, 1345068540, 1345068534, 1345068528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.586395263671875 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:37:03.095853
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_21_4229.jpg', 2), ('/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_17_3162.jpg', 2), ('/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_14_4159.jpg', 2), ('/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_09_4050.jpg', 2), ('/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_05_4498.jpg', 2), ('/home/nano/Desktop/images/18032025/03/42/image_18032025_03_43_01_4094.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_21_4229.jpg', '/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_17_3162.jpg', '/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_14_4159.jpg', '/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_09_4050.jpg', '/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_05_4498.jpg', '/home/nano/Desktop/images/18032025/03/42/image_18032025_03_43_01_4094.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_21_4229.jpg
/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_17_3162.jpg
/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_14_4159.jpg
/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_09_4050.jpg
/home/nano/Desktop/images/18032025/03/43/image_18032025_03_43_05_4498.jpg
/home/nano/Desktop/images/18032025/03/42/image_18032025_03_43_01_4094.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345068721","1345068723","1345068713","1345068716","1345068719","1345068710"],"photo_ids_order":["1345068710","1345068713","1345068716","1345068719","1345068721","1345068723"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/765f6df5a828fa0cdbdbbce0ab3ad3b9.jpg","text":"TemporaryFile(/tmp/multipartBody524250908451347911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287083643,"filename":"image_18032025_03_43_05_4498.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/68dffdf45ebe6ad8ef3a262464ed9929.jpg","text":"TemporaryFile(/tmp/multipartBody5555780477220870664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287083643,"filename":"image_18032025_03_43_01_4094.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8ec82ca8393fe973276472e5d426dad9.jpg","text":"TemporaryFile(/tmp/multipartBody2599240062603817470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287083643,"filename":"image_18032025_03_43_17_3162.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/31a9ad3830b68ee6b7cb049521b1f8ae.jpg","text":"TemporaryFile(/tmp/multipartBody7259829913307405531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287083643,"filename":"image_18032025_03_43_14_4159.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c39ac6c20767ab7a7ffa3bf95d44fba4.jpg","text":"TemporaryFile(/tmp/multipartBody2845023553922836629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287083643,"filename":"image_18032025_03_43_09_4050.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3c7fde3e323225ba7b9ad494fb253432.jpg","text":"TemporaryFile(/tmp/multipartBody102386819640165118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287083643,"filename":"image_18032025_03_43_21_4229.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345068716","file1":"1345068713","file0":"1345068710","file4":"1345068721","file5":"1345068723","file3":"1345068719"},"map_files_photo_id_array":[{"photo_id":"1345068723","filename":"file5"},{"photo_id":"1345068716","filename":"file2"},{"photo_id":"1345068721","filename":"file4"},{"photo_id":"1345068713","filename":"file1"},{"photo_id":"1345068710","filename":"file0"},{"photo_id":"1345068719","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345068721":["hashtag1","hashtag2"]},{"1345068723":["hashtag1","hashtag2"]},{"1345068713":["hashtag1","hashtag2"]},{"1345068716":["hashtag1","hashtag2"]},{"1345068719":["hashtag1","hashtag2"]},{"1345068710":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345068721, 1345068723, 1345068713, 1345068716, 1345068719, 1345068710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.03465747833252 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:38:03.200656
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_57_4107.jpg', 2), ('/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_53_3100.jpg', 2), ('/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_50_4101.jpg', 2), ('/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_45_4098.jpg', 2), ('/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_41_4047.jpg', 2), ('/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_37_4091.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_57_4107.jpg', '/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_53_3100.jpg', '/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_50_4101.jpg', '/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_45_4098.jpg', '/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_41_4047.jpg', '/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_37_4091.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_57_4107.jpg
/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_53_3100.jpg
/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_50_4101.jpg
/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_45_4098.jpg
/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_41_4047.jpg
/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_37_4091.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345068753","1345068756","1345068750","1345068758","1345068761","1345068763"],"photo_ids_order":["1345068750","1345068753","1345068756","1345068758","1345068761","1345068763"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e5e6517b62b2dc4ac6d1c6b8b353917e.jpg","text":"TemporaryFile(/tmp/multipartBody3972059643295241467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287143753,"filename":"image_18032025_03_42_53_3100.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/291cd88d46c1de3e26780d451b2f560f.jpg","text":"TemporaryFile(/tmp/multipartBody9153464287683654070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287143753,"filename":"image_18032025_03_42_50_4101.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e44cae07239f759e0a7db1b14f746c54.jpg","text":"TemporaryFile(/tmp/multipartBody3979711418682550132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287143753,"filename":"image_18032025_03_42_57_4107.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6ffad5634dcc2ca2d6c33c7164ff1e61.jpg","text":"TemporaryFile(/tmp/multipartBody797431576893979715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287143753,"filename":"image_18032025_03_42_45_4098.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a5f909c69071a140b8819828c6738adc.jpg","text":"TemporaryFile(/tmp/multipartBody3496649487085101843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287143753,"filename":"image_18032025_03_42_41_4047.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8ec147f9b45bf9046b1cb8d7654fb3df.jpg","text":"TemporaryFile(/tmp/multipartBody2497848312346275428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287143753,"filename":"image_18032025_03_42_37_4091.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345068756","file1":"1345068753","file0":"1345068750","file4":"1345068761","file5":"1345068763","file3":"1345068758"},"map_files_photo_id_array":[{"photo_id":"1345068763","filename":"file5"},{"photo_id":"1345068756","filename":"file2"},{"photo_id":"1345068761","filename":"file4"},{"photo_id":"1345068753","filename":"file1"},{"photo_id":"1345068750","filename":"file0"},{"photo_id":"1345068758","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345068753":["hashtag1","hashtag2"]},{"1345068756":["hashtag1","hashtag2"]},{"1345068750":["hashtag1","hashtag2"]},{"1345068758":["hashtag1","hashtag2"]},{"1345068761":["hashtag1","hashtag2"]},{"1345068763":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345068753, 1345068756, 1345068750, 1345068758, 1345068761, 1345068763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.564998388290405 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:39:03.646240
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_33_4012.jpg', 2), ('/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_29_4117.jpg', 2), ('/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_25_4030.jpg', 2), ('/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_21_3700.jpg', 2), ('/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_17_4136.jpg', 2), ('/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_13_4151.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_33_4012.jpg', '/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_29_4117.jpg', '/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_25_4030.jpg', '/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_21_3700.jpg', '/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_17_4136.jpg', '/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_13_4151.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_33_4012.jpg
/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_29_4117.jpg
/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_25_4030.jpg
/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_21_3700.jpg
/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_17_4136.jpg
/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_13_4151.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345068859","1345068832","1345068805","1345068901","1345068890","1345068883"],"photo_ids_order":["1345068805","1345068832","1345068859","1345068883","1345068890","1345068901"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0addbe4d268efdf12123379e593cfed8.jpg","text":"TemporaryFile(/tmp/multipartBody3161505349052768767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287204146,"filename":"image_18032025_03_42_25_4030.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6e02a4c980c8bf3c4308e9169f86bd85.jpg","text":"TemporaryFile(/tmp/multipartBody2986911856119990852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287204146,"filename":"image_18032025_03_42_29_4117.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/28ab19437f854d4af7211776f15d67c5.jpg","text":"TemporaryFile(/tmp/multipartBody3048567454353921203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287204146,"filename":"image_18032025_03_42_33_4012.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/678753038247e215a4c9b7206108de6e.jpg","text":"TemporaryFile(/tmp/multipartBody8118779423790369665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287204146,"filename":"image_18032025_03_42_13_4151.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d7442ea92b6aee8eb7ffbcb0aecc0609.jpg","text":"TemporaryFile(/tmp/multipartBody3000626108026689356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287204146,"filename":"image_18032025_03_42_17_4136.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/70865bb3cb29b6a22253f3d42a2ec20b.jpg","text":"TemporaryFile(/tmp/multipartBody8641480206697728298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287204146,"filename":"image_18032025_03_42_21_3700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345068859","file1":"1345068832","file0":"1345068805","file4":"1345068890","file5":"1345068901","file3":"1345068883"},"map_files_photo_id_array":[{"photo_id":"1345068901","filename":"file5"},{"photo_id":"1345068859","filename":"file2"},{"photo_id":"1345068890","filename":"file4"},{"photo_id":"1345068832","filename":"file1"},{"photo_id":"1345068805","filename":"file0"},{"photo_id":"1345068883","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345068859":["hashtag1","hashtag2"]},{"1345068832":["hashtag1","hashtag2"]},{"1345068805":["hashtag1","hashtag2"]},{"1345068901":["hashtag1","hashtag2"]},{"1345068890":["hashtag1","hashtag2"]},{"1345068883":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345068859, 1345068832, 1345068805, 1345068901, 1345068890, 1345068883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.751293897628784 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:40:02.539877
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_09_4171.jpg', 2), ('/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_05_3960.jpg', 2), ('/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_01_3318.jpg', 2), ('/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_58_4337.jpg', 2), ('/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_53_3847.jpg', 2), ('/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_49_4302.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_09_4171.jpg', '/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_05_3960.jpg', '/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_01_3318.jpg', '/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_58_4337.jpg', '/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_53_3847.jpg', '/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_49_4302.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_09_4171.jpg
/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_05_3960.jpg
/home/nano/Desktop/images/18032025/03/42/image_18032025_03_42_01_3318.jpg
/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_58_4337.jpg
/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_53_3847.jpg
/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_49_4302.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345069027","1345069062","1345069044","1345069149","1345069118","1345069090"],"photo_ids_order":["1345069027","1345069044","1345069062","1345069090","1345069118","1345069149"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b82c412194f88d9a0b1d679697ed3894.jpg","text":"TemporaryFile(/tmp/multipartBody1696759992544388641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287263080,"filename":"image_18032025_03_42_09_4171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1c968004c507470a671f865d33b3f0e8.jpg","text":"TemporaryFile(/tmp/multipartBody1372162631282831819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287263080,"filename":"image_18032025_03_42_01_3318.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/43973f1a40adceaaec255b50eda9316e.jpg","text":"TemporaryFile(/tmp/multipartBody807543824270050333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287263080,"filename":"image_18032025_03_42_05_3960.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4678098273f40aa33d5ab945770b4ad9.jpg","text":"TemporaryFile(/tmp/multipartBody3701784140639161380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287263080,"filename":"image_18032025_03_41_49_4302.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/51be5a6dac6994a5d71883ea0759ac3e.jpg","text":"TemporaryFile(/tmp/multipartBody648415743542605302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287263080,"filename":"image_18032025_03_41_53_3847.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6e676c1e840e83a8eae32fa21521d1df.jpg","text":"TemporaryFile(/tmp/multipartBody1023383467753117553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287263080,"filename":"image_18032025_03_41_58_4337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345069062","file1":"1345069044","file0":"1345069027","file4":"1345069118","file5":"1345069149","file3":"1345069090"},"map_files_photo_id_array":[{"photo_id":"1345069149","filename":"file5"},{"photo_id":"1345069062","filename":"file2"},{"photo_id":"1345069118","filename":"file4"},{"photo_id":"1345069044","filename":"file1"},{"photo_id":"1345069027","filename":"file0"},{"photo_id":"1345069090","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345069027":["hashtag1","hashtag2"]},{"1345069062":["hashtag1","hashtag2"]},{"1345069044":["hashtag1","hashtag2"]},{"1345069149":["hashtag1","hashtag2"]},{"1345069118":["hashtag1","hashtag2"]},{"1345069090":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345069027, 1345069062, 1345069044, 1345069149, 1345069118, 1345069090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.708890199661255 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:41:03.001328
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_45_4286.jpg', 2), ('/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_41_4161.jpg', 2), ('/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_37_3111.jpg', 2), ('/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_34_4054.jpg', 2), ('/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_30_4011.jpg', 2), ('/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_26_4053.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_45_4286.jpg', '/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_41_4161.jpg', '/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_37_3111.jpg', '/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_34_4054.jpg', '/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_30_4011.jpg', '/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_26_4053.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_45_4286.jpg
/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_41_4161.jpg
/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_37_3111.jpg
/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_34_4054.jpg
/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_30_4011.jpg
/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_26_4053.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345069293","1345069281","1345069253","1345069310","1345069369","1345069261"],"photo_ids_order":["1345069253","1345069261","1345069281","1345069293","1345069310","1345069369"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/13815dc57383cd4413501d9e9cb9684d.jpg","text":"TemporaryFile(/tmp/multipartBody8744292694972165362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287323566,"filename":"image_18032025_03_41_34_4054.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6aa80d00ff539859ea30b0d3103c5897.jpg","text":"TemporaryFile(/tmp/multipartBody7494878496635946013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287323566,"filename":"image_18032025_03_41_37_3111.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c27c41bb8be76bd3ee6c6643391a25d1.jpg","text":"TemporaryFile(/tmp/multipartBody7239103290469593431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287323566,"filename":"image_18032025_03_41_45_4286.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/726495d7f06c07772402f6f24878d9b5.jpg","text":"TemporaryFile(/tmp/multipartBody446313739590314042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287323566,"filename":"image_18032025_03_41_30_4011.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3b94a194c6c51414288ad1cae8b726ad.jpg","text":"TemporaryFile(/tmp/multipartBody1082036575284946537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287323566,"filename":"image_18032025_03_41_26_4053.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c3241473a1298dd3677d68ed29e99ab4.jpg","text":"TemporaryFile(/tmp/multipartBody8260737180292863976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287323566,"filename":"image_18032025_03_41_41_4161.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345069281","file1":"1345069261","file0":"1345069253","file4":"1345069310","file5":"1345069369","file3":"1345069293"},"map_files_photo_id_array":[{"photo_id":"1345069369","filename":"file5"},{"photo_id":"1345069281","filename":"file2"},{"photo_id":"1345069310","filename":"file4"},{"photo_id":"1345069261","filename":"file1"},{"photo_id":"1345069253","filename":"file0"},{"photo_id":"1345069293","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345069293":["hashtag1","hashtag2"]},{"1345069281":["hashtag1","hashtag2"]},{"1345069253":["hashtag1","hashtag2"]},{"1345069310":["hashtag1","hashtag2"]},{"1345069369":["hashtag1","hashtag2"]},{"1345069261":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345069293, 1345069281, 1345069253, 1345069310, 1345069369, 1345069261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.662649631500244 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:42:02.821541
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_21_3836.jpg', 2), ('/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_18_4863.jpg', 2), ('/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_13_3137.jpg', 2), ('/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_10_4206.jpg', 2), ('/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_05_4474.jpg', 2), ('/home/nano/Desktop/images/18032025/03/40/image_18032025_03_41_01_4084.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_21_3836.jpg', '/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_18_4863.jpg', '/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_13_3137.jpg', '/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_10_4206.jpg', '/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_05_4474.jpg', '/home/nano/Desktop/images/18032025/03/40/image_18032025_03_41_01_4084.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_21_3836.jpg
/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_18_4863.jpg
/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_13_3137.jpg
/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_10_4206.jpg
/home/nano/Desktop/images/18032025/03/41/image_18032025_03_41_05_4474.jpg
/home/nano/Desktop/images/18032025/03/40/image_18032025_03_41_01_4084.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345069641","1345069666","1345069660","1345069654","1345069657","1345069651"],"photo_ids_order":["1345069641","1345069651","1345069654","1345069657","1345069660","1345069666"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4cc5a8723727a979cee638f99fa5e088.jpg","text":"TemporaryFile(/tmp/multipartBody2569596079588854124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287383341,"filename":"image_18032025_03_41_21_3836.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8c5947c60583d6264c878768adefc084.jpg","text":"TemporaryFile(/tmp/multipartBody4282210020062706688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287383341,"filename":"image_18032025_03_41_01_4084.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6084c60beaf1c294c19068b38eebb117.jpg","text":"TemporaryFile(/tmp/multipartBody5263284908062557639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287383341,"filename":"image_18032025_03_41_05_4474.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f216999973f9354af4237299a5b2fbb6.jpg","text":"TemporaryFile(/tmp/multipartBody4056081099436067192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287383341,"filename":"image_18032025_03_41_13_3137.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/481cf26d61cb39a1dab07e8a7eb31c4c.jpg","text":"TemporaryFile(/tmp/multipartBody2273812902079109867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287383341,"filename":"image_18032025_03_41_10_4206.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/60a19a7654f46ec364f1274f99b06c80.jpg","text":"TemporaryFile(/tmp/multipartBody5152979048654575417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287383341,"filename":"image_18032025_03_41_18_4863.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345069654","file1":"1345069651","file0":"1345069641","file4":"1345069660","file5":"1345069666","file3":"1345069657"},"map_files_photo_id_array":[{"photo_id":"1345069666","filename":"file5"},{"photo_id":"1345069654","filename":"file2"},{"photo_id":"1345069660","filename":"file4"},{"photo_id":"1345069651","filename":"file1"},{"photo_id":"1345069641","filename":"file0"},{"photo_id":"1345069657","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345069641":["hashtag1","hashtag2"]},{"1345069666":["hashtag1","hashtag2"]},{"1345069660":["hashtag1","hashtag2"]},{"1345069654":["hashtag1","hashtag2"]},{"1345069657":["hashtag1","hashtag2"]},{"1345069651":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345069641, 1345069666, 1345069660, 1345069654, 1345069657, 1345069651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.02810597419739 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:43:03.280288
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_57_4033.jpg', 2), ('/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_53_4106.jpg', 2), ('/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_49_3119.jpg', 2), ('/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_46_4215.jpg', 2), ('/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_41_4318.jpg', 2), ('/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_37_4089.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_57_4033.jpg', '/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_53_4106.jpg', '/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_49_3119.jpg', '/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_46_4215.jpg', '/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_41_4318.jpg', '/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_37_4089.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_57_4033.jpg
/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_53_4106.jpg
/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_49_3119.jpg
/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_46_4215.jpg
/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_41_4318.jpg
/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_37_4089.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.42937803268432617 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:43:32.530862
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_57_4033.jpg', 2), ('/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_53_4106.jpg', 2), ('/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_49_3119.jpg', 2), ('/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_46_4215.jpg', 2), ('/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_41_4318.jpg', 2), ('/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_37_4089.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_57_4033.jpg', '/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_53_4106.jpg', '/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_49_3119.jpg', '/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_46_4215.jpg', '/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_41_4318.jpg', '/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_37_4089.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_57_4033.jpg
/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_53_4106.jpg
/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_49_3119.jpg
/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_46_4215.jpg
/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_41_4318.jpg
/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_37_4089.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345069884","1345069898","1345069877","1345069904","1345069870","1345069887"],"photo_ids_order":["1345069870","1345069877","1345069884","1345069887","1345069898","1345069904"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2a9e22543a047dc1ca0a0be30678477a.jpg","text":"TemporaryFile(/tmp/multipartBody53221423368225783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287473038,"filename":"image_18032025_03_40_49_3119.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5b629d90a7f365f661d73dddccc089cb.jpg","text":"TemporaryFile(/tmp/multipartBody6350407763303559872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287473038,"filename":"image_18032025_03_40_41_4318.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3fd6ae847f2128084fa33a131c9020b1.jpg","text":"TemporaryFile(/tmp/multipartBody7308874383018276077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287473038,"filename":"image_18032025_03_40_53_4106.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1f145f61a0e40403697bf2a133649308.jpg","text":"TemporaryFile(/tmp/multipartBody5229185238782047854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287473038,"filename":"image_18032025_03_40_37_4089.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2090ae9e02e21c78813caafed65a49ec.jpg","text":"TemporaryFile(/tmp/multipartBody1354216040156845753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287473038,"filename":"image_18032025_03_40_57_4033.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/03ddf7d1512665740b2441f44904bb48.jpg","text":"TemporaryFile(/tmp/multipartBody5008690070800357251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287473038,"filename":"image_18032025_03_40_46_4215.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345069884","file1":"1345069877","file0":"1345069870","file4":"1345069898","file5":"1345069904","file3":"1345069887"},"map_files_photo_id_array":[{"photo_id":"1345069904","filename":"file5"},{"photo_id":"1345069884","filename":"file2"},{"photo_id":"1345069898","filename":"file4"},{"photo_id":"1345069877","filename":"file1"},{"photo_id":"1345069870","filename":"file0"},{"photo_id":"1345069887","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345069884":["hashtag1","hashtag2"]},{"1345069898":["hashtag1","hashtag2"]},{"1345069877":["hashtag1","hashtag2"]},{"1345069904":["hashtag1","hashtag2"]},{"1345069870":["hashtag1","hashtag2"]},{"1345069887":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345069884, 1345069898, 1345069877, 1345069904, 1345069870, 1345069887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.62303400039673 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:44:32.737143
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_33_4272.jpg', 2), ('/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_29_3229.jpg', 2), ('/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_26_4300.jpg', 2), ('/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_21_4315.jpg', 2), ('/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_17_4195.jpg', 2), ('/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_13_3258.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_33_4272.jpg', '/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_29_3229.jpg', '/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_26_4300.jpg', '/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_21_4315.jpg', '/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_17_4195.jpg', '/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_13_3258.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_33_4272.jpg
/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_29_3229.jpg
/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_26_4300.jpg
/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_21_4315.jpg
/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_17_4195.jpg
/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_13_3258.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345070280","1345070250","1345070151","1345070228","1345070201","1345070182"],"photo_ids_order":["1345070151","1345070182","1345070201","1345070228","1345070250","1345070280"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/084c4d45ee638402672d2f9c3d1d8370.jpg","text":"TemporaryFile(/tmp/multipartBody658828199039875725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287533277,"filename":"image_18032025_03_40_13_3258.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5c38bd1e234e12e3a6ff10e4a50854a9.jpg","text":"TemporaryFile(/tmp/multipartBody3788143379568553191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287533277,"filename":"image_18032025_03_40_17_4195.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ae0f9b85f625cb98ea3103711f7b42eb.jpg","text":"TemporaryFile(/tmp/multipartBody8465792199219486228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287533277,"filename":"image_18032025_03_40_33_4272.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ed82660e030a210463f066da68ae07e8.jpg","text":"TemporaryFile(/tmp/multipartBody4619307621741206028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287533277,"filename":"image_18032025_03_40_21_4315.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0f05c695f3c0b4f31142ac653f2e1422.jpg","text":"TemporaryFile(/tmp/multipartBody8483114978706342694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287533277,"filename":"image_18032025_03_40_26_4300.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9a01dfa36d0d85c579fb8b5c6ea9e4a6.jpg","text":"TemporaryFile(/tmp/multipartBody2366895833388894200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287533277,"filename":"image_18032025_03_40_29_3229.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345070201","file1":"1345070182","file0":"1345070151","file4":"1345070250","file5":"1345070280","file3":"1345070228"},"map_files_photo_id_array":[{"photo_id":"1345070280","filename":"file5"},{"photo_id":"1345070201","filename":"file2"},{"photo_id":"1345070250","filename":"file4"},{"photo_id":"1345070182","filename":"file1"},{"photo_id":"1345070151","filename":"file0"},{"photo_id":"1345070228","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345070280":["hashtag1","hashtag2"]},{"1345070250":["hashtag1","hashtag2"]},{"1345070151":["hashtag1","hashtag2"]},{"1345070228":["hashtag1","hashtag2"]},{"1345070201":["hashtag1","hashtag2"]},{"1345070182":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345070280, 1345070250, 1345070151, 1345070228, 1345070201, 1345070182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.832473278045654 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:45:31.897465
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_09_4381.jpg', 2), ('/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_05_3731.jpg', 2), ('/home/nano/Desktop/images/18032025/03/39/image_18032025_03_40_01_4283.jpg', 2), ('/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_57_4183.jpg', 2), ('/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_53_4141.jpg', 2), ('/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_49_3125.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_09_4381.jpg', '/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_05_3731.jpg', '/home/nano/Desktop/images/18032025/03/39/image_18032025_03_40_01_4283.jpg', '/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_57_4183.jpg', '/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_53_4141.jpg', '/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_49_3125.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_09_4381.jpg
/home/nano/Desktop/images/18032025/03/40/image_18032025_03_40_05_3731.jpg
/home/nano/Desktop/images/18032025/03/39/image_18032025_03_40_01_4283.jpg
/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_57_4183.jpg
/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_53_4141.jpg
/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_49_3125.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345070371","1345070352","1345070340","1345070364","1345070360","1345070368"],"photo_ids_order":["1345070340","1345070352","1345070360","1345070364","1345070368","1345070371"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/aa5611682af2a849457842d97890ea90.jpg","text":"TemporaryFile(/tmp/multipartBody1654615898195986053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287592402,"filename":"image_18032025_03_39_49_3125.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b7587897e61d8d819f2ceafa0e7df217.jpg","text":"TemporaryFile(/tmp/multipartBody1163014268363769705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287592402,"filename":"image_18032025_03_40_05_3731.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6ad62b88cbe9a0930840d370f08f8b39.jpg","text":"TemporaryFile(/tmp/multipartBody1508300811870290463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287592402,"filename":"image_18032025_03_40_09_4381.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4f84c37423c9c9bb38d6d947cb1a57dc.jpg","text":"TemporaryFile(/tmp/multipartBody9057973493191488435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287592402,"filename":"image_18032025_03_39_57_4183.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7a94243d05358f593345a1b029416a9f.jpg","text":"TemporaryFile(/tmp/multipartBody251205728493949046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287592402,"filename":"image_18032025_03_40_01_4283.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a6ea6bfe43af4d83fdeecd42f030c7bc.jpg","text":"TemporaryFile(/tmp/multipartBody5182365627203471708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287592402,"filename":"image_18032025_03_39_53_4141.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345070360","file1":"1345070352","file0":"1345070340","file4":"1345070368","file5":"1345070371","file3":"1345070364"},"map_files_photo_id_array":[{"photo_id":"1345070371","filename":"file5"},{"photo_id":"1345070360","filename":"file2"},{"photo_id":"1345070368","filename":"file4"},{"photo_id":"1345070352","filename":"file1"},{"photo_id":"1345070340","filename":"file0"},{"photo_id":"1345070364","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345070371":["hashtag1","hashtag2"]},{"1345070352":["hashtag1","hashtag2"]},{"1345070340":["hashtag1","hashtag2"]},{"1345070364":["hashtag1","hashtag2"]},{"1345070360":["hashtag1","hashtag2"]},{"1345070368":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345070371, 1345070352, 1345070340, 1345070364, 1345070360, 1345070368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.624941110610962 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:46:32.117226
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_46_4152.jpg', 2), ('/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_41_3931.jpg', 2), ('/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_37_4261.jpg', 2), ('/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_33_3917.jpg', 2), ('/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_29_4102.jpg', 2), ('/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_25_4116.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_46_4152.jpg', '/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_41_3931.jpg', '/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_37_4261.jpg', '/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_33_3917.jpg', '/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_29_4102.jpg', '/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_25_4116.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_46_4152.jpg
/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_41_3931.jpg
/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_37_4261.jpg
/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_33_3917.jpg
/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_29_4102.jpg
/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_25_4116.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345070557","1345070539","1345070550","1345070544","1345070560","1345070554"],"photo_ids_order":["1345070539","1345070544","1345070550","1345070554","1345070557","1345070560"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c17d39dacdc5f21194cbd5e9b33eeb35.jpg","text":"TemporaryFile(/tmp/multipartBody2528996906061269680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287652715,"filename":"image_18032025_03_39_29_4102.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3dcb1b6067c1036c2b2962ae748441a2.jpg","text":"TemporaryFile(/tmp/multipartBody5265882022903227648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287652715,"filename":"image_18032025_03_39_46_4152.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/692ef370c44649156e7ea11a510a16e7.jpg","text":"TemporaryFile(/tmp/multipartBody6675618854239328887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287652715,"filename":"image_18032025_03_39_37_4261.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/056b000b660a240ca817946ba58320f9.jpg","text":"TemporaryFile(/tmp/multipartBody9024791852176582661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287652715,"filename":"image_18032025_03_39_41_3931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/89d57996b155d3fb4091c3f8daf465e3.jpg","text":"TemporaryFile(/tmp/multipartBody2633297900616890198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287652715,"filename":"image_18032025_03_39_25_4116.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8644d265df454f183784d17e3d1192a3.jpg","text":"TemporaryFile(/tmp/multipartBody8318838416740140709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287652715,"filename":"image_18032025_03_39_33_3917.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345070550","file1":"1345070544","file0":"1345070539","file4":"1345070557","file5":"1345070560","file3":"1345070554"},"map_files_photo_id_array":[{"photo_id":"1345070560","filename":"file5"},{"photo_id":"1345070550","filename":"file2"},{"photo_id":"1345070557","filename":"file4"},{"photo_id":"1345070544","filename":"file1"},{"photo_id":"1345070539","filename":"file0"},{"photo_id":"1345070554","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345070557":["hashtag1","hashtag2"]},{"1345070539":["hashtag1","hashtag2"]},{"1345070550":["hashtag1","hashtag2"]},{"1345070544":["hashtag1","hashtag2"]},{"1345070560":["hashtag1","hashtag2"]},{"1345070554":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345070557, 1345070539, 1345070550, 1345070544, 1345070560, 1345070554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.42876076698303 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:47:32.274908
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_21_4162.jpg', 2), ('/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_17_4186.jpg', 2), ('/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_13_3095.jpg', 2), ('/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_10_4105.jpg', 2), ('/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_06_4441.jpg', 2), ('/home/nano/Desktop/images/18032025/03/38/image_18032025_03_39_01_4090.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_21_4162.jpg', '/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_17_4186.jpg', '/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_13_3095.jpg', '/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_10_4105.jpg', '/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_06_4441.jpg', '/home/nano/Desktop/images/18032025/03/38/image_18032025_03_39_01_4090.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_21_4162.jpg
/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_17_4186.jpg
/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_13_3095.jpg
/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_10_4105.jpg
/home/nano/Desktop/images/18032025/03/39/image_18032025_03_39_06_4441.jpg
/home/nano/Desktop/images/18032025/03/38/image_18032025_03_39_01_4090.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345070611","1345070607","1345070600","1345070590","1345070603","1345070596"],"photo_ids_order":["1345070590","1345070596","1345070600","1345070603","1345070607","1345070611"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ef6fb66be657c1644d7af5ab65a5893b.jpg","text":"TemporaryFile(/tmp/multipartBody9166078754674237391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287712935,"filename":"image_18032025_03_39_01_4090.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/904a0ab340b0606930e52483d945afb3.jpg","text":"TemporaryFile(/tmp/multipartBody1536024928037953681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287712935,"filename":"image_18032025_03_39_06_4441.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f0fc9992d9a5998eba04c1f034859665.jpg","text":"TemporaryFile(/tmp/multipartBody3493035636624521051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287712935,"filename":"image_18032025_03_39_13_3095.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/88132130a16e833fd224d1a0f3b568ea.jpg","text":"TemporaryFile(/tmp/multipartBody1373344669569843674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287712935,"filename":"image_18032025_03_39_21_4162.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/50f391d99d2e047f5b177febf62bba91.jpg","text":"TemporaryFile(/tmp/multipartBody1535819145015458279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287712935,"filename":"image_18032025_03_39_10_4105.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/56304035aa19a2cc78928ffc1f95e646.jpg","text":"TemporaryFile(/tmp/multipartBody3634602175421934251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287712935,"filename":"image_18032025_03_39_17_4186.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345070600","file1":"1345070596","file0":"1345070590","file4":"1345070607","file5":"1345070611","file3":"1345070603"},"map_files_photo_id_array":[{"photo_id":"1345070611","filename":"file5"},{"photo_id":"1345070600","filename":"file2"},{"photo_id":"1345070607","filename":"file4"},{"photo_id":"1345070596","filename":"file1"},{"photo_id":"1345070590","filename":"file0"},{"photo_id":"1345070603","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345070611":["hashtag1","hashtag2"]},{"1345070607":["hashtag1","hashtag2"]},{"1345070600":["hashtag1","hashtag2"]},{"1345070590":["hashtag1","hashtag2"]},{"1345070603":["hashtag1","hashtag2"]},{"1345070596":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345070611, 1345070607, 1345070600, 1345070590, 1345070603, 1345070596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.657058477401733 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:48:32.422858
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_57_4128.jpg', 2), ('/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_53_4194.jpg', 2), ('/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_49_3276.jpg', 2), ('/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_45_4258.jpg', 2), ('/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_41_4127.jpg', 2), ('/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_37_4302.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_57_4128.jpg', '/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_53_4194.jpg', '/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_49_3276.jpg', '/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_45_4258.jpg', '/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_41_4127.jpg', '/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_37_4302.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_57_4128.jpg
/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_53_4194.jpg
/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_49_3276.jpg
/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_45_4258.jpg
/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_41_4127.jpg
/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_37_4302.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345070743","1345070763","1345070754","1345070748","1345070759","1345070767"],"photo_ids_order":["1345070743","1345070748","1345070754","1345070759","1345070763","1345070767"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8ece2eed354521ea1378e40a05f4c1a9.jpg","text":"TemporaryFile(/tmp/multipartBody1795148633306082334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287773132,"filename":"image_18032025_03_38_57_4128.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/989a30f8b24e7f0b084ea0319034b7db.jpg","text":"TemporaryFile(/tmp/multipartBody4859013933222054335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287773132,"filename":"image_18032025_03_38_41_4127.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d7f4a20cdcdc3aa9c8e2f8d48c498f8f.jpg","text":"TemporaryFile(/tmp/multipartBody1136852569870990281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287773132,"filename":"image_18032025_03_38_49_3276.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/923d9799d59b1a016ed47b98ebb85998.jpg","text":"TemporaryFile(/tmp/multipartBody1687156294894945550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287773132,"filename":"image_18032025_03_38_53_4194.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0e8184ebcb44e1b268240c4e774661c7.jpg","text":"TemporaryFile(/tmp/multipartBody4600974207205356082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287773132,"filename":"image_18032025_03_38_45_4258.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7d20f5fe3ebff35934f28eca25df1190.jpg","text":"TemporaryFile(/tmp/multipartBody2401232282202467158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287773132,"filename":"image_18032025_03_38_37_4302.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345070754","file1":"1345070748","file0":"1345070743","file4":"1345070763","file5":"1345070767","file3":"1345070759"},"map_files_photo_id_array":[{"photo_id":"1345070767","filename":"file5"},{"photo_id":"1345070754","filename":"file2"},{"photo_id":"1345070763","filename":"file4"},{"photo_id":"1345070748","filename":"file1"},{"photo_id":"1345070743","filename":"file0"},{"photo_id":"1345070759","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345070743":["hashtag1","hashtag2"]},{"1345070763":["hashtag1","hashtag2"]},{"1345070754":["hashtag1","hashtag2"]},{"1345070748":["hashtag1","hashtag2"]},{"1345070759":["hashtag1","hashtag2"]},{"1345070767":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345070743, 1345070763, 1345070754, 1345070748, 1345070759, 1345070767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.80386304855347 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:49:32.581300
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_33_3290.jpg', 2), ('/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_29_4256.jpg', 2), ('/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_25_4260.jpg', 2), ('/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_21_3265.jpg', 2), ('/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_18_4340.jpg', 2), ('/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_13_4351.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_33_3290.jpg', '/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_29_4256.jpg', '/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_25_4260.jpg', '/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_21_3265.jpg', '/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_18_4340.jpg', '/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_13_4351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_33_3290.jpg
/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_29_4256.jpg
/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_25_4260.jpg
/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_21_3265.jpg
/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_18_4340.jpg
/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_13_4351.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345070856","1345070922","1345070919","1345070913","1345070831","1345070896"],"photo_ids_order":["1345070831","1345070856","1345070896","1345070913","1345070919","1345070922"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/55eabdee72f4f9d6c0a316b358ec7895.jpg","text":"TemporaryFile(/tmp/multipartBody7608769976189912123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287833287,"filename":"image_18032025_03_38_29_4256.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/09395efbc9e5c5702fce6f8ecfbf39df.jpg","text":"TemporaryFile(/tmp/multipartBody3105228255628851438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287833287,"filename":"image_18032025_03_38_13_4351.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c0ea1704fb21b5dbbf329d11e673a04e.jpg","text":"TemporaryFile(/tmp/multipartBody5744137542503764548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287833287,"filename":"image_18032025_03_38_18_4340.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/81d7a5e2fed69ccfbcfaec76636c9596.jpg","text":"TemporaryFile(/tmp/multipartBody3913192252029230035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287833287,"filename":"image_18032025_03_38_21_3265.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/787224f3e640ba4743257f53f31e7585.jpg","text":"TemporaryFile(/tmp/multipartBody1104784342741911181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287833287,"filename":"image_18032025_03_38_33_3290.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/453acc9992d15d71a30cb8d3982a5150.jpg","text":"TemporaryFile(/tmp/multipartBody4857883747626338871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287833287,"filename":"image_18032025_03_38_25_4260.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345070896","file1":"1345070856","file0":"1345070831","file4":"1345070919","file5":"1345070922","file3":"1345070913"},"map_files_photo_id_array":[{"photo_id":"1345070922","filename":"file5"},{"photo_id":"1345070896","filename":"file2"},{"photo_id":"1345070919","filename":"file4"},{"photo_id":"1345070856","filename":"file1"},{"photo_id":"1345070831","filename":"file0"},{"photo_id":"1345070913","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345070856":["hashtag1","hashtag2"]},{"1345070922":["hashtag1","hashtag2"]},{"1345070919":["hashtag1","hashtag2"]},{"1345070913":["hashtag1","hashtag2"]},{"1345070831":["hashtag1","hashtag2"]},{"1345070896":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345070856, 1345070922, 1345070919, 1345070913, 1345070831, 1345070896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55110692977905 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:50:32.747266
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_09_3335.jpg', 2), ('/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_06_4000.jpg', 2), ('/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_02_4316.jpg', 2), ('/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_57_4304.jpg', 2), ('/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_53_3431.jpg', 2), ('/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_50_4283.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_09_3335.jpg', '/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_06_4000.jpg', '/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_02_4316.jpg', '/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_57_4304.jpg', '/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_53_3431.jpg', '/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_50_4283.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_09_3335.jpg
/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_06_4000.jpg
/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_02_4316.jpg
/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_57_4304.jpg
/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_53_3431.jpg
/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_50_4283.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.5777208805084229 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:51:02.781983
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_09_3335.jpg', 2), ('/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_06_4000.jpg', 2), ('/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_02_4316.jpg', 2), ('/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_57_4304.jpg', 2), ('/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_53_3431.jpg', 2), ('/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_50_4283.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_09_3335.jpg', '/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_06_4000.jpg', '/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_02_4316.jpg', '/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_57_4304.jpg', '/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_53_3431.jpg', '/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_50_4283.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_09_3335.jpg
/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_06_4000.jpg
/home/nano/Desktop/images/18032025/03/38/image_18032025_03_38_02_4316.jpg
/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_57_4304.jpg
/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_53_3431.jpg
/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_50_4283.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345071001","1345070985","1345070997","1345070993","1345071002","1345071008"],"photo_ids_order":["1345070985","1345070993","1345070997","1345071001","1345071002","1345071008"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d36700187e6101ef801434d561fea42b.jpg","text":"TemporaryFile(/tmp/multipartBody6832109039424847771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287923345,"filename":"image_18032025_03_37_57_4304.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/33a16bae86a3880f0a5a976c76ee16bc.jpg","text":"TemporaryFile(/tmp/multipartBody2671791926990189362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287923345,"filename":"image_18032025_03_38_09_3335.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b18d56e015a9110e1a8d3cb5a60adab7.jpg","text":"TemporaryFile(/tmp/multipartBody6759446658693221817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287923345,"filename":"image_18032025_03_38_02_4316.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e2bb55f09c2b19b2ec93940391489223.jpg","text":"TemporaryFile(/tmp/multipartBody4062983328796817365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287923345,"filename":"image_18032025_03_38_06_4000.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/158c088df0a3e4deb98cc5d22835f549.jpg","text":"TemporaryFile(/tmp/multipartBody5879763195982019070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287923345,"filename":"image_18032025_03_37_53_3431.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/26b85e17f9dc6f03006b5e4ce3c468d2.jpg","text":"TemporaryFile(/tmp/multipartBody5826389017765066096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742287923345,"filename":"image_18032025_03_37_50_4283.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345070997","file1":"1345070993","file0":"1345070985","file4":"1345071002","file5":"1345071008","file3":"1345071001"},"map_files_photo_id_array":[{"photo_id":"1345071008","filename":"file5"},{"photo_id":"1345070997","filename":"file2"},{"photo_id":"1345071002","filename":"file4"},{"photo_id":"1345070993","filename":"file1"},{"photo_id":"1345070985","filename":"file0"},{"photo_id":"1345071001","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345071001":["hashtag1","hashtag2"]},{"1345070985":["hashtag1","hashtag2"]},{"1345070997":["hashtag1","hashtag2"]},{"1345070993":["hashtag1","hashtag2"]},{"1345071002":["hashtag1","hashtag2"]},{"1345071008":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345071001, 1345070985, 1345070997, 1345070993, 1345071002, 1345071008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.56410264968872 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:52:02.877922
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_45_4162.jpg', 2), ('/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_41_4177.jpg', 2), ('/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_37_4153.jpg', 2), ('/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_33_3128.jpg', 2), ('/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_30_4176.jpg', 2), ('/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_25_4161.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_45_4162.jpg', '/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_41_4177.jpg', '/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_37_4153.jpg', '/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_33_3128.jpg', '/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_30_4176.jpg', '/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_25_4161.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_45_4162.jpg
/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_41_4177.jpg
/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_37_4153.jpg
/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_33_3128.jpg
/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_30_4176.jpg
/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_25_4161.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.4335777759552002 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:52:32.097922
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_45_4162.jpg', 2), ('/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_41_4177.jpg', 2), ('/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_37_4153.jpg', 2), ('/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_33_3128.jpg', 2), ('/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_30_4176.jpg', 2), ('/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_25_4161.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_45_4162.jpg', '/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_41_4177.jpg', '/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_37_4153.jpg', '/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_33_3128.jpg', '/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_30_4176.jpg', '/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_25_4161.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_45_4162.jpg
/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_41_4177.jpg
/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_37_4153.jpg
/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_33_3128.jpg
/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_30_4176.jpg
/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_25_4161.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345071214","1345071204","1345071221","1345071209","1345071199","1345071217"],"photo_ids_order":["1345071199","1345071204","1345071209","1345071214","1345071217","1345071221"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/913a52e8a74ef82eec98aa95810833fb.jpg","text":"TemporaryFile(/tmp/multipartBody2745015241195834757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288012618,"filename":"image_18032025_03_37_33_3128.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5a4ed9f6c33360f3d4c8b544339801f0.jpg","text":"TemporaryFile(/tmp/multipartBody821573542236837999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288012618,"filename":"image_18032025_03_37_41_4177.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/598e93f27b0777db511005c9e935df44.jpg","text":"TemporaryFile(/tmp/multipartBody3945810791442999268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288012618,"filename":"image_18032025_03_37_25_4161.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4cc15c159b691b4ee01a21c8c53d275d.jpg","text":"TemporaryFile(/tmp/multipartBody7244425048012474060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288012618,"filename":"image_18032025_03_37_37_4153.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3493f3bac0a99e0accf4dac0f9216dfc.jpg","text":"TemporaryFile(/tmp/multipartBody2794111750011436238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288012618,"filename":"image_18032025_03_37_45_4162.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1c251caed04303b5e3c05fac48312888.jpg","text":"TemporaryFile(/tmp/multipartBody2842943734866343396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288012618,"filename":"image_18032025_03_37_30_4176.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345071209","file1":"1345071204","file0":"1345071199","file4":"1345071217","file5":"1345071221","file3":"1345071214"},"map_files_photo_id_array":[{"photo_id":"1345071221","filename":"file5"},{"photo_id":"1345071209","filename":"file2"},{"photo_id":"1345071217","filename":"file4"},{"photo_id":"1345071204","filename":"file1"},{"photo_id":"1345071199","filename":"file0"},{"photo_id":"1345071214","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345071214":["hashtag1","hashtag2"]},{"1345071204":["hashtag1","hashtag2"]},{"1345071221":["hashtag1","hashtag2"]},{"1345071209":["hashtag1","hashtag2"]},{"1345071199":["hashtag1","hashtag2"]},{"1345071217":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345071214, 1345071204, 1345071221, 1345071209, 1345071199, 1345071217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.316927194595337 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:53:32.267002
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_21_4165.jpg', 2), ('/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_17_4032.jpg', 2), ('/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_13_4169.jpg', 2), ('/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_09_4144.jpg', 2), ('/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_05_3606.jpg', 2), ('/home/nano/Desktop/images/18032025/03/36/image_18032025_03_37_01_4154.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_21_4165.jpg', '/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_17_4032.jpg', '/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_13_4169.jpg', '/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_09_4144.jpg', '/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_05_3606.jpg', '/home/nano/Desktop/images/18032025/03/36/image_18032025_03_37_01_4154.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_21_4165.jpg
/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_17_4032.jpg
/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_13_4169.jpg
/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_09_4144.jpg
/home/nano/Desktop/images/18032025/03/37/image_18032025_03_37_05_3606.jpg
/home/nano/Desktop/images/18032025/03/36/image_18032025_03_37_01_4154.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345071264","1345071252","1345071260","1345071248","1345071256","1345071244"],"photo_ids_order":["1345071244","1345071248","1345071252","1345071256","1345071260","1345071264"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/19a3cc9f2bc04a330763ed6517b5e088.jpg","text":"TemporaryFile(/tmp/multipartBody5675977751402100672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288072779,"filename":"image_18032025_03_37_01_4154.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/aacc0edac118c886bb4e769a24a0074c.jpg","text":"TemporaryFile(/tmp/multipartBody4019351069918433778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288072779,"filename":"image_18032025_03_37_13_4169.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/eb553534dea7119486b9f5e95be60fa0.jpg","text":"TemporaryFile(/tmp/multipartBody16550699910050338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288072779,"filename":"image_18032025_03_37_05_3606.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/731396b162eed12222271d523559f816.jpg","text":"TemporaryFile(/tmp/multipartBody3740905801147620579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288072779,"filename":"image_18032025_03_37_17_4032.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a4984a3df89b5df1112f18a28a5c0073.jpg","text":"TemporaryFile(/tmp/multipartBody6326417419185912604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288072779,"filename":"image_18032025_03_37_09_4144.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1a0c775db5ff5d107a7dbf230013c435.jpg","text":"TemporaryFile(/tmp/multipartBody8039394064844780676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288072779,"filename":"image_18032025_03_37_21_4165.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345071252","file1":"1345071248","file0":"1345071244","file4":"1345071260","file5":"1345071264","file3":"1345071256"},"map_files_photo_id_array":[{"photo_id":"1345071264","filename":"file5"},{"photo_id":"1345071252","filename":"file2"},{"photo_id":"1345071260","filename":"file4"},{"photo_id":"1345071248","filename":"file1"},{"photo_id":"1345071244","filename":"file0"},{"photo_id":"1345071256","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345071264":["hashtag1","hashtag2"]},{"1345071252":["hashtag1","hashtag2"]},{"1345071260":["hashtag1","hashtag2"]},{"1345071248":["hashtag1","hashtag2"]},{"1345071256":["hashtag1","hashtag2"]},{"1345071244":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345071264, 1345071252, 1345071260, 1345071248, 1345071256, 1345071244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.183058738708496 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:54:32.433892
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_57_4214.jpg', 2), ('/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_53_4066.jpg', 2), ('/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_49_3260.jpg', 2), ('/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_46_4247.jpg', 2), ('/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_41_4257.jpg', 2), ('/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_37_4271.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_57_4214.jpg', '/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_53_4066.jpg', '/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_49_3260.jpg', '/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_46_4247.jpg', '/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_41_4257.jpg', '/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_37_4271.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_57_4214.jpg
/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_53_4066.jpg
/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_49_3260.jpg
/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_46_4247.jpg
/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_41_4257.jpg
/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_37_4271.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345071291","1345071300","1345071284","1345071305","1345071295","1345071289"],"photo_ids_order":["1345071284","1345071289","1345071291","1345071295","1345071300","1345071305"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/becf5dd376a342ea3692c04aa381fafa.jpg","text":"TemporaryFile(/tmp/multipartBody8873303662066788964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288132970,"filename":"image_18032025_03_36_49_3260.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cb3a850d7b3da66627a388c04713bbeb.jpg","text":"TemporaryFile(/tmp/multipartBody2348964064903844418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288132970,"filename":"image_18032025_03_36_41_4257.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a92fdebe108c950cacbdc9893f342535.jpg","text":"TemporaryFile(/tmp/multipartBody5351186576336082862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288132970,"filename":"image_18032025_03_36_57_4214.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d3a27d98e2de7e1f6bc73b923b4aae47.jpg","text":"TemporaryFile(/tmp/multipartBody2159570157354545921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288132970,"filename":"image_18032025_03_36_37_4271.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/97a5ef3c75fb8c096004c6e7ee27e140.jpg","text":"TemporaryFile(/tmp/multipartBody31968679211257717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288132970,"filename":"image_18032025_03_36_46_4247.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f931cfe1291f00ce8085f1439a0333cf.jpg","text":"TemporaryFile(/tmp/multipartBody4597177105294665692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288132970,"filename":"image_18032025_03_36_53_4066.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345071291","file1":"1345071289","file0":"1345071284","file4":"1345071300","file5":"1345071305","file3":"1345071295"},"map_files_photo_id_array":[{"photo_id":"1345071305","filename":"file5"},{"photo_id":"1345071291","filename":"file2"},{"photo_id":"1345071300","filename":"file4"},{"photo_id":"1345071289","filename":"file1"},{"photo_id":"1345071284","filename":"file0"},{"photo_id":"1345071295","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345071291":["hashtag1","hashtag2"]},{"1345071300":["hashtag1","hashtag2"]},{"1345071284":["hashtag1","hashtag2"]},{"1345071305":["hashtag1","hashtag2"]},{"1345071295":["hashtag1","hashtag2"]},{"1345071289":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345071291, 1345071300, 1345071284, 1345071305, 1345071295, 1345071289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.03226661682129 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:55:32.603240
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_33_3169.jpg', 2), ('/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_30_4266.jpg', 2), ('/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_25_4244.jpg', 2), ('/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_21_4123.jpg', 2), ('/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_17_4100.jpg', 2), ('/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_13_3758.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_33_3169.jpg', '/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_30_4266.jpg', '/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_25_4244.jpg', '/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_21_4123.jpg', '/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_17_4100.jpg', '/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_13_3758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_33_3169.jpg
/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_30_4266.jpg
/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_25_4244.jpg
/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_21_4123.jpg
/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_17_4100.jpg
/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_13_3758.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345071651","1345071615","1345071584","1345071659","1345071478","1345071535"],"photo_ids_order":["1345071478","1345071535","1345071584","1345071615","1345071651","1345071659"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6b06ecf0e001ee314eef5da801cbf2a8.jpg","text":"TemporaryFile(/tmp/multipartBody7578595352846242237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288193180,"filename":"image_18032025_03_36_17_4100.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7cfd2d3c1217065388c706505d7070fb.jpg","text":"TemporaryFile(/tmp/multipartBody2481279339010100464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288193180,"filename":"image_18032025_03_36_21_4123.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5fb50fa6fa736973cdc36161a37c1141.jpg","text":"TemporaryFile(/tmp/multipartBody8160730795300268011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288193180,"filename":"image_18032025_03_36_25_4244.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3486911f5a8a8ffc09ed6019cb0b4a2d.jpg","text":"TemporaryFile(/tmp/multipartBody839765456599188411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288193180,"filename":"image_18032025_03_36_13_3758.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7766799cad575883eb1ad2256aa5d060.jpg","text":"TemporaryFile(/tmp/multipartBody2212609588723663893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288193180,"filename":"image_18032025_03_36_33_3169.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6dc06973353739e91afbed24dd397f72.jpg","text":"TemporaryFile(/tmp/multipartBody3565762411257723681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288193180,"filename":"image_18032025_03_36_30_4266.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345071584","file1":"1345071535","file0":"1345071478","file4":"1345071651","file5":"1345071659","file3":"1345071615"},"map_files_photo_id_array":[{"photo_id":"1345071659","filename":"file5"},{"photo_id":"1345071584","filename":"file2"},{"photo_id":"1345071651","filename":"file4"},{"photo_id":"1345071535","filename":"file1"},{"photo_id":"1345071478","filename":"file0"},{"photo_id":"1345071615","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345071651":["hashtag1","hashtag2"]},{"1345071615":["hashtag1","hashtag2"]},{"1345071584":["hashtag1","hashtag2"]},{"1345071659":["hashtag1","hashtag2"]},{"1345071478":["hashtag1","hashtag2"]},{"1345071535":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345071651, 1345071615, 1345071584, 1345071659, 1345071478, 1345071535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.09857726097107 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:56:32.764174
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_09_4121.jpg', 2), ('/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_05_4220.jpg', 2), ('/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_01_3156.jpg', 2), ('/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_58_4745.jpg', 2), ('/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_53_4117.jpg', 2), ('/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_49_3121.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_09_4121.jpg', '/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_05_4220.jpg', '/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_01_3156.jpg', '/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_58_4745.jpg', '/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_53_4117.jpg', '/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_49_3121.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_09_4121.jpg
/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_05_4220.jpg
/home/nano/Desktop/images/18032025/03/36/image_18032025_03_36_01_3156.jpg
/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_58_4745.jpg
/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_53_4117.jpg
/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_49_3121.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345071861","1345071857","1345071841","1345071865","1345071850","1345071847"],"photo_ids_order":["1345071841","1345071847","1345071850","1345071857","1345071861","1345071865"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/662d5a8e6d6792b9ef6c07a934dde61b.jpg","text":"TemporaryFile(/tmp/multipartBody1595785005514621820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288253244,"filename":"image_18032025_03_35_53_4117.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3098c557d8e341565707e6f44b32d40c.jpg","text":"TemporaryFile(/tmp/multipartBody5216240484809124720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288253244,"filename":"image_18032025_03_35_58_4745.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5578335712685ace87cb81c6919436a4.jpg","text":"TemporaryFile(/tmp/multipartBody1283364547590543085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288253244,"filename":"image_18032025_03_36_09_4121.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d789e66a936a2f14caf5ee4bee5731f9.jpg","text":"TemporaryFile(/tmp/multipartBody992035516623310372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288253244,"filename":"image_18032025_03_35_49_3121.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bdab43c717169d818a7256ff98ec14d4.jpg","text":"TemporaryFile(/tmp/multipartBody5930051355376491272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288253244,"filename":"image_18032025_03_36_01_3156.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1c71f8fb8081222029464d4ae1d37269.jpg","text":"TemporaryFile(/tmp/multipartBody5928468785472422716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288253244,"filename":"image_18032025_03_36_05_4220.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345071850","file1":"1345071847","file0":"1345071841","file4":"1345071861","file5":"1345071865","file3":"1345071857"},"map_files_photo_id_array":[{"photo_id":"1345071865","filename":"file5"},{"photo_id":"1345071850","filename":"file2"},{"photo_id":"1345071861","filename":"file4"},{"photo_id":"1345071847","filename":"file1"},{"photo_id":"1345071841","filename":"file0"},{"photo_id":"1345071857","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345071861":["hashtag1","hashtag2"]},{"1345071857":["hashtag1","hashtag2"]},{"1345071841":["hashtag1","hashtag2"]},{"1345071865":["hashtag1","hashtag2"]},{"1345071850":["hashtag1","hashtag2"]},{"1345071847":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345071861, 1345071857, 1345071841, 1345071865, 1345071850, 1345071847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.870598554611206 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:57:31.945401
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_46_4112.jpg', 2), ('/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_41_4114.jpg', 2), ('/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_37_4109.jpg', 2), ('/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_33_4109.jpg', 2), ('/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_29_4097.jpg', 2), ('/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_25_4109.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_46_4112.jpg', '/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_41_4114.jpg', '/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_37_4109.jpg', '/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_33_4109.jpg', '/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_29_4097.jpg', '/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_25_4109.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_46_4112.jpg
/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_41_4114.jpg
/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_37_4109.jpg
/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_33_4109.jpg
/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_29_4097.jpg
/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_25_4109.jpg
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:58:02.786479
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_46_4112.jpg', 2), ('/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_41_4114.jpg', 2), ('/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_37_4109.jpg', 2), ('/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_33_4109.jpg', 2), ('/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_29_4097.jpg', 2), ('/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_25_4109.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_46_4112.jpg', '/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_41_4114.jpg', '/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_37_4109.jpg', '/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_33_4109.jpg', '/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_29_4097.jpg', '/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_25_4109.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_46_4112.jpg
/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_41_4114.jpg
/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_37_4109.jpg
/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_33_4109.jpg
/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_29_4097.jpg
/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_25_4109.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345072602","1345072475","1345072477","1345072525","1345072473","1345072476"],"photo_ids_order":["1345072473","1345072475","1345072476","1345072477","1345072525","1345072602"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/55d68e159a5f46888a9a22027f358ed5.jpg","text":"TemporaryFile(/tmp/multipartBody1180482596715032468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288343310,"filename":"image_18032025_03_35_25_4109.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4502903c89574438f4ded3310650df8c.jpg","text":"TemporaryFile(/tmp/multipartBody2590221468137704849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288343310,"filename":"image_18032025_03_35_41_4114.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d4ce016e124435578bef8e47fc0f227f.jpg","text":"TemporaryFile(/tmp/multipartBody5926302758621600217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288343310,"filename":"image_18032025_03_35_33_4109.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/25a1b1bfb34a4836b1d82750b91a13dd.jpg","text":"TemporaryFile(/tmp/multipartBody6399351791304622162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288343310,"filename":"image_18032025_03_35_29_4097.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c43c3fe9e3351d60246ad7bf410298de.jpg","text":"TemporaryFile(/tmp/multipartBody3135045767690409516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288343310,"filename":"image_18032025_03_35_46_4112.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6f8c4223b9673f22bae16b0684c2f523.jpg","text":"TemporaryFile(/tmp/multipartBody3406763027054267637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288343310,"filename":"image_18032025_03_35_37_4109.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345072476","file1":"1345072475","file0":"1345072473","file4":"1345072525","file5":"1345072602","file3":"1345072477"},"map_files_photo_id_array":[{"photo_id":"1345072602","filename":"file5"},{"photo_id":"1345072476","filename":"file2"},{"photo_id":"1345072525","filename":"file4"},{"photo_id":"1345072475","filename":"file1"},{"photo_id":"1345072473","filename":"file0"},{"photo_id":"1345072477","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345072602":["hashtag1","hashtag2"]},{"1345072475":["hashtag1","hashtag2"]},{"1345072477":["hashtag1","hashtag2"]},{"1345072525":["hashtag1","hashtag2"]},{"1345072473":["hashtag1","hashtag2"]},{"1345072476":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345072602, 1345072475, 1345072477, 1345072525, 1345072473, 1345072476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.456111431121826 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 09:59:02.952176
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_21_4096.jpg', 2), ('/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_17_4115.jpg', 2), ('/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_13_3169.jpg', 2), ('/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_10_4110.jpg', 2), ('/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_05_4513.jpg', 2), ('/home/nano/Desktop/images/18032025/03/34/image_18032025_03_35_01_4094.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_21_4096.jpg', '/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_17_4115.jpg', '/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_13_3169.jpg', '/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_10_4110.jpg', '/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_05_4513.jpg', '/home/nano/Desktop/images/18032025/03/34/image_18032025_03_35_01_4094.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_21_4096.jpg
/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_17_4115.jpg
/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_13_3169.jpg
/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_10_4110.jpg
/home/nano/Desktop/images/18032025/03/35/image_18032025_03_35_05_4513.jpg
/home/nano/Desktop/images/18032025/03/34/image_18032025_03_35_01_4094.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345072719","1345072694","1345072707","1345072727","1345072712","1345072700"],"photo_ids_order":["1345072694","1345072700","1345072707","1345072712","1345072719","1345072727"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1a29bbb87910865d050498fbb2579375.jpg","text":"TemporaryFile(/tmp/multipartBody5765311550486415216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288403494,"filename":"image_18032025_03_35_05_4513.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0385b0a1fcdc706c8bee71fe64396a9b.jpg","text":"TemporaryFile(/tmp/multipartBody2438094894023484711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288403494,"filename":"image_18032025_03_35_21_4096.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9f79b68606c357eb10a7000236e0e087.jpg","text":"TemporaryFile(/tmp/multipartBody1433378170941127744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288403494,"filename":"image_18032025_03_35_13_3169.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/abd19968ce4da31128ef9b61cfecd31a.jpg","text":"TemporaryFile(/tmp/multipartBody7232332701955081104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288403494,"filename":"image_18032025_03_35_01_4094.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2079b1f37b1694d28fe3846fa0d8279a.jpg","text":"TemporaryFile(/tmp/multipartBody7742723725372370969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288403494,"filename":"image_18032025_03_35_10_4110.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b89eda45e88289b2a6b10fb8e05b1572.jpg","text":"TemporaryFile(/tmp/multipartBody3019014823945507678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288403494,"filename":"image_18032025_03_35_17_4115.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345072707","file1":"1345072700","file0":"1345072694","file4":"1345072719","file5":"1345072727","file3":"1345072712"},"map_files_photo_id_array":[{"photo_id":"1345072727","filename":"file5"},{"photo_id":"1345072707","filename":"file2"},{"photo_id":"1345072719","filename":"file4"},{"photo_id":"1345072700","filename":"file1"},{"photo_id":"1345072694","filename":"file0"},{"photo_id":"1345072712","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345072719":["hashtag1","hashtag2"]},{"1345072694":["hashtag1","hashtag2"]},{"1345072707":["hashtag1","hashtag2"]},{"1345072727":["hashtag1","hashtag2"]},{"1345072712":["hashtag1","hashtag2"]},{"1345072700":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345072719, 1345072694, 1345072707, 1345072727, 1345072712, 1345072700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.89846587181091 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:00:03.415378
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_57_4102.jpg', 2), ('/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_53_3091.jpg', 2), ('/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_50_4109.jpg', 2), ('/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_46_4098.jpg', 2), ('/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_41_4044.jpg', 2), ('/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_37_4059.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_57_4102.jpg', '/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_53_3091.jpg', '/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_50_4109.jpg', '/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_46_4098.jpg', '/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_41_4044.jpg', '/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_37_4059.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_57_4102.jpg
/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_53_3091.jpg
/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_50_4109.jpg
/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_46_4098.jpg
/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_41_4044.jpg
/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_37_4059.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345072793","1345072787","1345072784","1345072789","1345072780","1345072773"],"photo_ids_order":["1345072773","1345072780","1345072784","1345072787","1345072789","1345072793"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b6eb545e846bb2cc7f5e32ae6d6aa7b4.jpg","text":"TemporaryFile(/tmp/multipartBody911961040185449027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288464023,"filename":"image_18032025_03_34_37_4059.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c54a1e9d31c03aefe9cef6a5d364398d.jpg","text":"TemporaryFile(/tmp/multipartBody3181015843027774556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288464023,"filename":"image_18032025_03_34_46_4098.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/110d253c4205916c72771918ca69fa77.jpg","text":"TemporaryFile(/tmp/multipartBody3505010419029021344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288464023,"filename":"image_18032025_03_34_50_4109.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8a76f8c419412c597e47104b4eba23fa.jpg","text":"TemporaryFile(/tmp/multipartBody4355201031669951557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288464023,"filename":"image_18032025_03_34_41_4044.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9fe77ce349b03692b432188f5a1a7d72.jpg","text":"TemporaryFile(/tmp/multipartBody1719277205968011002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288464023,"filename":"image_18032025_03_34_53_3091.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9fe58f1de4664d5a28ac11412551c4a4.jpg","text":"TemporaryFile(/tmp/multipartBody199331521150710504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288464023,"filename":"image_18032025_03_34_57_4102.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345072784","file1":"1345072780","file0":"1345072773","file4":"1345072789","file5":"1345072793","file3":"1345072787"},"map_files_photo_id_array":[{"photo_id":"1345072793","filename":"file5"},{"photo_id":"1345072784","filename":"file2"},{"photo_id":"1345072789","filename":"file4"},{"photo_id":"1345072780","filename":"file1"},{"photo_id":"1345072773","filename":"file0"},{"photo_id":"1345072787","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345072793":["hashtag1","hashtag2"]},{"1345072787":["hashtag1","hashtag2"]},{"1345072784":["hashtag1","hashtag2"]},{"1345072789":["hashtag1","hashtag2"]},{"1345072780":["hashtag1","hashtag2"]},{"1345072773":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345072793, 1345072787, 1345072784, 1345072789, 1345072780, 1345072773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.27944302558899 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:01:03.568491
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_33_4069.jpg', 2), ('/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_29_4067.jpg', 2), ('/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_25_4039.jpg', 2), ('/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_21_4054.jpg', 2), ('/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_17_4042.jpg', 2), ('/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_13_4101.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_33_4069.jpg', '/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_29_4067.jpg', '/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_25_4039.jpg', '/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_21_4054.jpg', '/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_17_4042.jpg', '/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_13_4101.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_33_4069.jpg
/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_29_4067.jpg
/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_25_4039.jpg
/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_21_4054.jpg
/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_17_4042.jpg
/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_13_4101.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345072821","1345072823","1345072835","1345072828","1345072831","1345072839"],"photo_ids_order":["1345072821","1345072823","1345072828","1345072831","1345072835","1345072839"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ede3e190ac986982d9b7c3ba34e2cf38.jpg","text":"TemporaryFile(/tmp/multipartBody1614293423749716828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288524070,"filename":"image_18032025_03_34_33_4069.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/28339d22f240a5d9e98b57517a70120f.jpg","text":"TemporaryFile(/tmp/multipartBody6891943650386441609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288524070,"filename":"image_18032025_03_34_29_4067.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0cec31afc79f9cd50501e3bbe3547316.jpg","text":"TemporaryFile(/tmp/multipartBody3612972255964028409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288524070,"filename":"image_18032025_03_34_17_4042.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/898fa98c519eb96d93c503770e46744f.jpg","text":"TemporaryFile(/tmp/multipartBody4671117291652093898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288524070,"filename":"image_18032025_03_34_25_4039.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fc31fceeacf8c54157ca651317abef91.jpg","text":"TemporaryFile(/tmp/multipartBody1004084868098813435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288524070,"filename":"image_18032025_03_34_21_4054.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8bcc8379fc50dd658ca4d5db91a06d7e.jpg","text":"TemporaryFile(/tmp/multipartBody805559676860831190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288524070,"filename":"image_18032025_03_34_13_4101.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345072828","file1":"1345072823","file0":"1345072821","file4":"1345072835","file5":"1345072839","file3":"1345072831"},"map_files_photo_id_array":[{"photo_id":"1345072839","filename":"file5"},{"photo_id":"1345072828","filename":"file2"},{"photo_id":"1345072835","filename":"file4"},{"photo_id":"1345072823","filename":"file1"},{"photo_id":"1345072821","filename":"file0"},{"photo_id":"1345072831","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345072821":["hashtag1","hashtag2"]},{"1345072823":["hashtag1","hashtag2"]},{"1345072835":["hashtag1","hashtag2"]},{"1345072828":["hashtag1","hashtag2"]},{"1345072831":["hashtag1","hashtag2"]},{"1345072839":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345072821, 1345072823, 1345072835, 1345072828, 1345072831, 1345072839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.27176284790039 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:02:02.584245
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_09_4099.jpg', 2), ('/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_05_3305.jpg', 2), ('/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_02_4298.jpg', 2), ('/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_57_4310.jpg', 2), ('/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_53_3247.jpg', 2), ('/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_50_4209.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_09_4099.jpg', '/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_05_3305.jpg', '/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_02_4298.jpg', '/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_57_4310.jpg', '/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_53_3247.jpg', '/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_50_4209.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_09_4099.jpg
/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_05_3305.jpg
/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_02_4298.jpg
/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_57_4310.jpg
/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_53_3247.jpg
/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_50_4209.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.4542968273162842 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:02:31.853142
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_09_4099.jpg', 2), ('/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_05_3305.jpg', 2), ('/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_02_4298.jpg', 2), ('/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_57_4310.jpg', 2), ('/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_53_3247.jpg', 2), ('/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_50_4209.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_09_4099.jpg', '/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_05_3305.jpg', '/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_02_4298.jpg', '/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_57_4310.jpg', '/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_53_3247.jpg', '/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_50_4209.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_09_4099.jpg
/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_05_3305.jpg
/home/nano/Desktop/images/18032025/03/34/image_18032025_03_34_02_4298.jpg
/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_57_4310.jpg
/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_53_3247.jpg
/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_50_4209.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345072902","1345072905","1345072913","1345072897","1345072915","1345072909"],"photo_ids_order":["1345072897","1345072902","1345072905","1345072909","1345072913","1345072915"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/57e2424f644259c204af4ec24854db55.jpg","text":"TemporaryFile(/tmp/multipartBody3140452796887090244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288612356,"filename":"image_18032025_03_34_05_3305.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/981dc98504687d939f2687ca42643e92.jpg","text":"TemporaryFile(/tmp/multipartBody4310323351601282929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288612356,"filename":"image_18032025_03_34_02_4298.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1ee66ecc1b8ba47c8521a5e5017be827.jpg","text":"TemporaryFile(/tmp/multipartBody1333359769747708663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288612356,"filename":"image_18032025_03_33_53_3247.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b8c3323ae1bfb79813a2049eccb3807e.jpg","text":"TemporaryFile(/tmp/multipartBody5998049987991573016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288612356,"filename":"image_18032025_03_34_09_4099.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f9cc74421163f3bc36e403b703e0ecbf.jpg","text":"TemporaryFile(/tmp/multipartBody8773818871828384364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288612356,"filename":"image_18032025_03_33_50_4209.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1daf576404cb85ead5c79ac5b2c18484.jpg","text":"TemporaryFile(/tmp/multipartBody4946785058033676147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288612356,"filename":"image_18032025_03_33_57_4310.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345072905","file1":"1345072902","file0":"1345072897","file4":"1345072913","file5":"1345072915","file3":"1345072909"},"map_files_photo_id_array":[{"photo_id":"1345072915","filename":"file5"},{"photo_id":"1345072905","filename":"file2"},{"photo_id":"1345072913","filename":"file4"},{"photo_id":"1345072902","filename":"file1"},{"photo_id":"1345072897","filename":"file0"},{"photo_id":"1345072909","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345072902":["hashtag1","hashtag2"]},{"1345072905":["hashtag1","hashtag2"]},{"1345072913":["hashtag1","hashtag2"]},{"1345072897":["hashtag1","hashtag2"]},{"1345072915":["hashtag1","hashtag2"]},{"1345072909":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345072902, 1345072905, 1345072913, 1345072897, 1345072915, 1345072909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.734797477722168 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:03:32.014386
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_45_4266.jpg', 2), ('/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_41_4285.jpg', 2), ('/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_37_3293.jpg', 2), ('/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_34_4296.jpg', 2), ('/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_29_4387.jpg', 2), ('/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_25_3322.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_45_4266.jpg', '/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_41_4285.jpg', '/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_37_3293.jpg', '/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_34_4296.jpg', '/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_29_4387.jpg', '/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_25_3322.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_45_4266.jpg
/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_41_4285.jpg
/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_37_3293.jpg
/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_34_4296.jpg
/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_29_4387.jpg
/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_25_3322.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345072943","1345072951","1345072945","1345072954","1345072948","1345072939"],"photo_ids_order":["1345072939","1345072943","1345072945","1345072948","1345072951","1345072954"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/37569cee131efe55a1cd91741ac1bb74.jpg","text":"TemporaryFile(/tmp/multipartBody3636333759386236923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288672521,"filename":"image_18032025_03_33_41_4285.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3711668941da21aa21391c3de7b07dcb.jpg","text":"TemporaryFile(/tmp/multipartBody3426966582664744379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288672521,"filename":"image_18032025_03_33_29_4387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2f90f5d2447644e705a2f91a2faf7321.jpg","text":"TemporaryFile(/tmp/multipartBody6794096764151955657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288672521,"filename":"image_18032025_03_33_37_3293.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c9012caa531d1695b6e221da078af24d.jpg","text":"TemporaryFile(/tmp/multipartBody2834485616106090013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288672521,"filename":"image_18032025_03_33_25_3322.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/83df8234b7dbc28dc39ca2e69c9c0185.jpg","text":"TemporaryFile(/tmp/multipartBody8613654620926166280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288672521,"filename":"image_18032025_03_33_34_4296.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5a55da087d9649e3b2e02c44ae631658.jpg","text":"TemporaryFile(/tmp/multipartBody8691936016185513907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288672521,"filename":"image_18032025_03_33_45_4266.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345072945","file1":"1345072943","file0":"1345072939","file4":"1345072951","file5":"1345072954","file3":"1345072948"},"map_files_photo_id_array":[{"photo_id":"1345072954","filename":"file5"},{"photo_id":"1345072945","filename":"file2"},{"photo_id":"1345072951","filename":"file4"},{"photo_id":"1345072943","filename":"file1"},{"photo_id":"1345072939","filename":"file0"},{"photo_id":"1345072948","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345072943":["hashtag1","hashtag2"]},{"1345072951":["hashtag1","hashtag2"]},{"1345072945":["hashtag1","hashtag2"]},{"1345072954":["hashtag1","hashtag2"]},{"1345072948":["hashtag1","hashtag2"]},{"1345072939":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345072943, 1345072951, 1345072945, 1345072954, 1345072948, 1345072939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.782015800476074 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:04:32.189793
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_22_4413.jpg', 2), ('/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_17_4472.jpg', 2), ('/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_13_3271.jpg', 2), ('/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_09_4179.jpg', 2), ('/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_05_4530.jpg', 2), ('/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_01_3087.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_22_4413.jpg', '/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_17_4472.jpg', '/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_13_3271.jpg', '/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_09_4179.jpg', '/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_05_4530.jpg', '/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_01_3087.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_22_4413.jpg
/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_17_4472.jpg
/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_13_3271.jpg
/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_09_4179.jpg
/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_05_4530.jpg
/home/nano/Desktop/images/18032025/03/33/image_18032025_03_33_01_3087.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345072988","1345073000","1345072984","1345072992","1345072980","1345072998"],"photo_ids_order":["1345072980","1345072984","1345072988","1345072992","1345072998","1345073000"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/34e4706c3f803a6e6133016e5906b9dc.jpg","text":"TemporaryFile(/tmp/multipartBody3536161364566272027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288732689,"filename":"image_18032025_03_33_13_3271.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bab311980562d494625570a3a5f70e7e.jpg","text":"TemporaryFile(/tmp/multipartBody4591726560859824222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288732689,"filename":"image_18032025_03_33_01_3087.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/271a7c5d50bdcb344f69877190d0ff03.jpg","text":"TemporaryFile(/tmp/multipartBody5220390411731305452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288732689,"filename":"image_18032025_03_33_17_4472.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3506dd2cf7b71e349ffba5ee4a59ed8a.jpg","text":"TemporaryFile(/tmp/multipartBody3073999368680970281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288732689,"filename":"image_18032025_03_33_09_4179.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/85962777fbdaac6f811f2b6e5d305399.jpg","text":"TemporaryFile(/tmp/multipartBody1630797876003427688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288732689,"filename":"image_18032025_03_33_22_4413.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2f9604941b84f75eff4943b58a0027ee.jpg","text":"TemporaryFile(/tmp/multipartBody3911422672524539723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288732689,"filename":"image_18032025_03_33_05_4530.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345072988","file1":"1345072984","file0":"1345072980","file4":"1345072998","file5":"1345073000","file3":"1345072992"},"map_files_photo_id_array":[{"photo_id":"1345073000","filename":"file5"},{"photo_id":"1345072988","filename":"file2"},{"photo_id":"1345072998","filename":"file4"},{"photo_id":"1345072984","filename":"file1"},{"photo_id":"1345072980","filename":"file0"},{"photo_id":"1345072992","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345072988":["hashtag1","hashtag2"]},{"1345073000":["hashtag1","hashtag2"]},{"1345072984":["hashtag1","hashtag2"]},{"1345072992":["hashtag1","hashtag2"]},{"1345072980":["hashtag1","hashtag2"]},{"1345072998":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345072988, 1345073000, 1345072984, 1345072992, 1345072980, 1345072998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.360495805740356 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:05:32.361731
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_58_4063.jpg', 2), ('/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_54_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_50_4076.jpg', 2), ('/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_45_4085.jpg', 2), ('/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_41_4023.jpg', 2), ('/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_37_4018.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_58_4063.jpg', '/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_54_4048.jpg', '/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_50_4076.jpg', '/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_45_4085.jpg', '/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_41_4023.jpg', '/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_37_4018.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_58_4063.jpg
/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_54_4048.jpg
/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_50_4076.jpg
/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_45_4085.jpg
/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_41_4023.jpg
/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_37_4018.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345073039","1345073043","1345073037","1345073046","1345073031","1345073034"],"photo_ids_order":["1345073031","1345073034","1345073037","1345073039","1345073043","1345073046"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f94cb8989d0c77776aec522d185ac15e.jpg","text":"TemporaryFile(/tmp/multipartBody4657173660122248363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288792846,"filename":"image_18032025_03_32_45_4085.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2aaf93763394f34ac8ccf38d842672f7.jpg","text":"TemporaryFile(/tmp/multipartBody307620864507559973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288792846,"filename":"image_18032025_03_32_41_4023.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6a9843b74d2d9f8c60437e04c22f0c9b.jpg","text":"TemporaryFile(/tmp/multipartBody5551401604022459973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288792846,"filename":"image_18032025_03_32_50_4076.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f25360affdf6952db9ff6b05749eea4d.jpg","text":"TemporaryFile(/tmp/multipartBody5058906647582140056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288792846,"filename":"image_18032025_03_32_37_4018.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b9db53df59dbc1c1d151e85fd20e06a1.jpg","text":"TemporaryFile(/tmp/multipartBody2765613248398190260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288792846,"filename":"image_18032025_03_32_58_4063.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a6f9dcf02a6236fe9e05d71c8381bf33.jpg","text":"TemporaryFile(/tmp/multipartBody7791820712393060156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288792846,"filename":"image_18032025_03_32_54_4048.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345073037","file1":"1345073034","file0":"1345073031","file4":"1345073043","file5":"1345073046","file3":"1345073039"},"map_files_photo_id_array":[{"photo_id":"1345073046","filename":"file5"},{"photo_id":"1345073037","filename":"file2"},{"photo_id":"1345073043","filename":"file4"},{"photo_id":"1345073034","filename":"file1"},{"photo_id":"1345073031","filename":"file0"},{"photo_id":"1345073039","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345073039":["hashtag1","hashtag2"]},{"1345073043":["hashtag1","hashtag2"]},{"1345073037":["hashtag1","hashtag2"]},{"1345073046":["hashtag1","hashtag2"]},{"1345073031":["hashtag1","hashtag2"]},{"1345073034":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345073039, 1345073043, 1345073037, 1345073046, 1345073031, 1345073034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.91044592857361 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:06:32.562172
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_33_4144.jpg', 2), ('/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_29_4196.jpg', 2), ('/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_25_4178.jpg', 2), ('/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_21_3192.jpg', 2), ('/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_18_4197.jpg', 2), ('/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_13_4251.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_33_4144.jpg', '/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_29_4196.jpg', '/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_25_4178.jpg', '/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_21_3192.jpg', '/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_18_4197.jpg', '/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_13_4251.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_33_4144.jpg
/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_29_4196.jpg
/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_25_4178.jpg
/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_21_3192.jpg
/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_18_4197.jpg
/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_13_4251.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345073095","1345073080","1345073083","1345073077","1345073086","1345073091"],"photo_ids_order":["1345073077","1345073080","1345073083","1345073086","1345073091","1345073095"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e10b002577e19533114486b60c6e490e.jpg","text":"TemporaryFile(/tmp/multipartBody2653491332704616278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288853089,"filename":"image_18032025_03_32_13_4251.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a64d49d326a9006785b122dfa5da4887.jpg","text":"TemporaryFile(/tmp/multipartBody5597541693317422379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288853089,"filename":"image_18032025_03_32_29_4196.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9a917edb724a71cd136f3b5c4393fd13.jpg","text":"TemporaryFile(/tmp/multipartBody895964128553656783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288853089,"filename":"image_18032025_03_32_25_4178.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d86d4eaa9d5e9a7cbf27aa26eef057e4.jpg","text":"TemporaryFile(/tmp/multipartBody5653094370892514617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288853089,"filename":"image_18032025_03_32_33_4144.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c7626dc530557b0314d9413976bcd013.jpg","text":"TemporaryFile(/tmp/multipartBody3440411625576867801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288853089,"filename":"image_18032025_03_32_21_3192.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/240cc27c2f9ac3c83448e6fabae9aa81.jpg","text":"TemporaryFile(/tmp/multipartBody4591405323889418723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288853089,"filename":"image_18032025_03_32_18_4197.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345073083","file1":"1345073080","file0":"1345073077","file4":"1345073091","file5":"1345073095","file3":"1345073086"},"map_files_photo_id_array":[{"photo_id":"1345073095","filename":"file5"},{"photo_id":"1345073083","filename":"file2"},{"photo_id":"1345073091","filename":"file4"},{"photo_id":"1345073080","filename":"file1"},{"photo_id":"1345073077","filename":"file0"},{"photo_id":"1345073086","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345073095":["hashtag1","hashtag2"]},{"1345073080":["hashtag1","hashtag2"]},{"1345073083":["hashtag1","hashtag2"]},{"1345073077":["hashtag1","hashtag2"]},{"1345073086":["hashtag1","hashtag2"]},{"1345073091":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345073095, 1345073080, 1345073083, 1345073077, 1345073086, 1345073091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.910369634628296 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:07:32.875492
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_09_4160.jpg', 2), ('/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_05_3656.jpg', 2), ('/home/nano/Desktop/images/18032025/03/31/image_18032025_03_32_01_4034.jpg', 2), ('/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_57_4178.jpg', 2), ('/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_53_4130.jpg', 2), ('/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_49_4187.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_09_4160.jpg', '/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_05_3656.jpg', '/home/nano/Desktop/images/18032025/03/31/image_18032025_03_32_01_4034.jpg', '/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_57_4178.jpg', '/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_53_4130.jpg', '/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_49_4187.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_09_4160.jpg
/home/nano/Desktop/images/18032025/03/32/image_18032025_03_32_05_3656.jpg
/home/nano/Desktop/images/18032025/03/31/image_18032025_03_32_01_4034.jpg
/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_57_4178.jpg
/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_53_4130.jpg
/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_49_4187.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345073132","1345073141","1345073123","1345073137","1345073119","1345073127"],"photo_ids_order":["1345073119","1345073123","1345073127","1345073132","1345073137","1345073141"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/caa0bb8dd16078ccd5fa75d3b185e784.jpg","text":"TemporaryFile(/tmp/multipartBody8486455933464643091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288913396,"filename":"image_18032025_03_31_57_4178.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cc51728074930d067be7c6a96c7698ed.jpg","text":"TemporaryFile(/tmp/multipartBody3722769272716128319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288913396,"filename":"image_18032025_03_31_49_4187.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4d1d04a6f39abd59f204a4441f5f65fc.jpg","text":"TemporaryFile(/tmp/multipartBody8386429643866571989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288913396,"filename":"image_18032025_03_32_05_3656.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9e3d67bdfdee71907728a4502fd69206.jpg","text":"TemporaryFile(/tmp/multipartBody5158924725873473302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288913396,"filename":"image_18032025_03_31_53_4130.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/91bc49ff04c636c37fe73f491a8d3de7.jpg","text":"TemporaryFile(/tmp/multipartBody5824669967074516202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288913396,"filename":"image_18032025_03_32_09_4160.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/32d925b8e4a497ae78290d0cf0816011.jpg","text":"TemporaryFile(/tmp/multipartBody7458553973435994018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288913396,"filename":"image_18032025_03_32_01_4034.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345073127","file1":"1345073123","file0":"1345073119","file4":"1345073137","file5":"1345073141","file3":"1345073132"},"map_files_photo_id_array":[{"photo_id":"1345073141","filename":"file5"},{"photo_id":"1345073127","filename":"file2"},{"photo_id":"1345073137","filename":"file4"},{"photo_id":"1345073123","filename":"file1"},{"photo_id":"1345073119","filename":"file0"},{"photo_id":"1345073132","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345073132":["hashtag1","hashtag2"]},{"1345073141":["hashtag1","hashtag2"]},{"1345073123":["hashtag1","hashtag2"]},{"1345073137":["hashtag1","hashtag2"]},{"1345073119":["hashtag1","hashtag2"]},{"1345073127":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345073132, 1345073141, 1345073123, 1345073137, 1345073119, 1345073127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.23500967025757 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:08:32.156084
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_45_4148.jpg', 2), ('/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_41_3129.jpg', 2), ('/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_38_4299.jpg', 2), ('/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_33_4309.jpg', 2), ('/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_29_3497.jpg', 2), ('/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_25_4210.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_45_4148.jpg', '/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_41_3129.jpg', '/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_38_4299.jpg', '/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_33_4309.jpg', '/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_29_3497.jpg', '/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_25_4210.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_45_4148.jpg
/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_41_3129.jpg
/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_38_4299.jpg
/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_33_4309.jpg
/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_29_3497.jpg
/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_25_4210.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345073165","1345073180","1345073182","1345073176","1345073173","1345073169"],"photo_ids_order":["1345073165","1345073169","1345073173","1345073176","1345073180","1345073182"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c3caa52dce02f6e139d66accc46fa67f.jpg","text":"TemporaryFile(/tmp/multipartBody4441974191956395043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288972644,"filename":"image_18032025_03_31_45_4148.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/19d222f96a536bc5a90e3a04499ce8e1.jpg","text":"TemporaryFile(/tmp/multipartBody1163179152131933216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288972644,"filename":"image_18032025_03_31_29_3497.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4bb80e538b00fe44e478ef0fd4734818.jpg","text":"TemporaryFile(/tmp/multipartBody3041758631852603171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288972644,"filename":"image_18032025_03_31_25_4210.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2b85c83d9734cc05c2ae06a738e6043e.jpg","text":"TemporaryFile(/tmp/multipartBody6413298175830535482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288972644,"filename":"image_18032025_03_31_33_4309.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/38298ba763433df4e489bcc3b6bf5ef7.jpg","text":"TemporaryFile(/tmp/multipartBody6331612325672058336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288972644,"filename":"image_18032025_03_31_38_4299.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d3c23614d124ae5a39ff8be647d88425.jpg","text":"TemporaryFile(/tmp/multipartBody5245157192459361163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742288972644,"filename":"image_18032025_03_31_41_3129.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345073173","file1":"1345073169","file0":"1345073165","file4":"1345073180","file5":"1345073182","file3":"1345073176"},"map_files_photo_id_array":[{"photo_id":"1345073182","filename":"file5"},{"photo_id":"1345073173","filename":"file2"},{"photo_id":"1345073180","filename":"file4"},{"photo_id":"1345073169","filename":"file1"},{"photo_id":"1345073165","filename":"file0"},{"photo_id":"1345073176","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345073165":["hashtag1","hashtag2"]},{"1345073180":["hashtag1","hashtag2"]},{"1345073182":["hashtag1","hashtag2"]},{"1345073176":["hashtag1","hashtag2"]},{"1345073173":["hashtag1","hashtag2"]},{"1345073169":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345073165, 1345073180, 1345073182, 1345073176, 1345073173, 1345073169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.582446098327637 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:09:32.366460
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_21_3776.jpg', 2), ('/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_17_4086.jpg', 2), ('/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_13_4107.jpg', 2), ('/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_09_3826.jpg', 2), ('/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_05_4346.jpg', 2), ('/home/nano/Desktop/images/18032025/03/30/image_18032025_03_31_01_4152.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_21_3776.jpg', '/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_17_4086.jpg', '/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_13_4107.jpg', '/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_09_3826.jpg', '/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_05_4346.jpg', '/home/nano/Desktop/images/18032025/03/30/image_18032025_03_31_01_4152.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_21_3776.jpg
/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_17_4086.jpg
/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_13_4107.jpg
/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_09_3826.jpg
/home/nano/Desktop/images/18032025/03/31/image_18032025_03_31_05_4346.jpg
/home/nano/Desktop/images/18032025/03/30/image_18032025_03_31_01_4152.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345073249","1345073219","1345073251","1345073221","1345073215","1345073235"],"photo_ids_order":["1345073215","1345073219","1345073221","1345073235","1345073249","1345073251"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fce7ac191ea4915ae88b036e74413aa4.jpg","text":"TemporaryFile(/tmp/multipartBody782803331738208593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289032844,"filename":"image_18032025_03_31_05_4346.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/34ef9ab1cefcf00c09a1738dad254b7f.jpg","text":"TemporaryFile(/tmp/multipartBody6687259788821151927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289032844,"filename":"image_18032025_03_31_17_4086.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/19e99fceb90aadb996090fefb7f8efdb.jpg","text":"TemporaryFile(/tmp/multipartBody1215438005954519939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289032844,"filename":"image_18032025_03_31_01_4152.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e1561e957dc85b20cd65850b47d0830a.jpg","text":"TemporaryFile(/tmp/multipartBody7012922011728858403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289032844,"filename":"image_18032025_03_31_13_4107.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a06ce7362260b66f9669f1f59966951b.jpg","text":"TemporaryFile(/tmp/multipartBody2822158185335444968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289032844,"filename":"image_18032025_03_31_21_3776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1b93ace092f1b744c937a693bad58f02.jpg","text":"TemporaryFile(/tmp/multipartBody5529561009983607427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289032844,"filename":"image_18032025_03_31_09_3826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345073221","file1":"1345073219","file0":"1345073215","file4":"1345073249","file5":"1345073251","file3":"1345073235"},"map_files_photo_id_array":[{"photo_id":"1345073251","filename":"file5"},{"photo_id":"1345073221","filename":"file2"},{"photo_id":"1345073249","filename":"file4"},{"photo_id":"1345073219","filename":"file1"},{"photo_id":"1345073215","filename":"file0"},{"photo_id":"1345073235","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345073249":["hashtag1","hashtag2"]},{"1345073219":["hashtag1","hashtag2"]},{"1345073251":["hashtag1","hashtag2"]},{"1345073221":["hashtag1","hashtag2"]},{"1345073215":["hashtag1","hashtag2"]},{"1345073235":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345073249, 1345073219, 1345073251, 1345073221, 1345073215, 1345073235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.61381697654724 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:10:32.540667
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_57_4075.jpg', 2), ('/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_53_4128.jpg', 2), ('/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_49_4017.jpg', 2), ('/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_45_3074.jpg', 2), ('/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_42_4182.jpg', 2), ('/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_37_3895.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_57_4075.jpg', '/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_53_4128.jpg', '/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_49_4017.jpg', '/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_45_3074.jpg', '/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_42_4182.jpg', '/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_37_3895.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_57_4075.jpg
/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_53_4128.jpg
/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_49_4017.jpg
/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_45_3074.jpg
/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_42_4182.jpg
/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_37_3895.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345073282","1345073279","1345073288","1345073292","1345073286","1345073295"],"photo_ids_order":["1345073279","1345073282","1345073286","1345073288","1345073292","1345073295"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/31ea7a04fc49e8bc8836802bded35f96.jpg","text":"TemporaryFile(/tmp/multipartBody5069144227384409715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289093031,"filename":"image_18032025_03_30_53_4128.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ef4e964d908b1f70e55e2a5b6aac4272.jpg","text":"TemporaryFile(/tmp/multipartBody8746528071078901075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289093031,"filename":"image_18032025_03_30_57_4075.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cea086e9c56769d703ae103a98f82195.jpg","text":"TemporaryFile(/tmp/multipartBody8450853131397713272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289093031,"filename":"image_18032025_03_30_45_3074.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2f9fa9a78d5972de0f9e77fe3c1a2c9a.jpg","text":"TemporaryFile(/tmp/multipartBody1758179582418817012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289093031,"filename":"image_18032025_03_30_42_4182.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5633631514be03cf18f41453ddd6b412.jpg","text":"TemporaryFile(/tmp/multipartBody7337284613540359525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289093031,"filename":"image_18032025_03_30_49_4017.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/321e5d0ea1d8ca2c8aef1a424c217344.jpg","text":"TemporaryFile(/tmp/multipartBody33344676029447387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289093031,"filename":"image_18032025_03_30_37_3895.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345073286","file1":"1345073282","file0":"1345073279","file4":"1345073292","file5":"1345073295","file3":"1345073288"},"map_files_photo_id_array":[{"photo_id":"1345073295","filename":"file5"},{"photo_id":"1345073286","filename":"file2"},{"photo_id":"1345073292","filename":"file4"},{"photo_id":"1345073282","filename":"file1"},{"photo_id":"1345073279","filename":"file0"},{"photo_id":"1345073288","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345073282":["hashtag1","hashtag2"]},{"1345073279":["hashtag1","hashtag2"]},{"1345073288":["hashtag1","hashtag2"]},{"1345073292":["hashtag1","hashtag2"]},{"1345073286":["hashtag1","hashtag2"]},{"1345073295":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345073282, 1345073279, 1345073288, 1345073292, 1345073286, 1345073295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.42928194999695 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:11:32.696279
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_34_4190.jpg', 2), ('/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_29_4138.jpg', 2), ('/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_25_4097.jpg', 2), ('/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_21_4189.jpg', 2), ('/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_17_4137.jpg', 2), ('/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_13_4039.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_34_4190.jpg', '/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_29_4138.jpg', '/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_25_4097.jpg', '/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_21_4189.jpg', '/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_17_4137.jpg', '/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_13_4039.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_34_4190.jpg
/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_29_4138.jpg
/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_25_4097.jpg
/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_21_4189.jpg
/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_17_4137.jpg
/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_13_4039.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345073342","1345073340","1345073334","1345073328","1345073337","1345073331"],"photo_ids_order":["1345073328","1345073331","1345073334","1345073337","1345073340","1345073342"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2a510251403d55d70aaae6f07e771c3a.jpg","text":"TemporaryFile(/tmp/multipartBody6977784190282121464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289153211,"filename":"image_18032025_03_30_13_4039.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/335bd683f3cce2cf52a2052aad5da32d.jpg","text":"TemporaryFile(/tmp/multipartBody4936758407087296572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289153211,"filename":"image_18032025_03_30_17_4137.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5a4083484d06d9eff8bc7e442a75ac8a.jpg","text":"TemporaryFile(/tmp/multipartBody2530447930086668802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289153211,"filename":"image_18032025_03_30_25_4097.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/22ef82bb3b1d344aa05146695103a509.jpg","text":"TemporaryFile(/tmp/multipartBody7653191689097986784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289153211,"filename":"image_18032025_03_30_34_4190.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/686a5d47002bf6a0a7c13636218cea1e.jpg","text":"TemporaryFile(/tmp/multipartBody3353806834145880063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289153211,"filename":"image_18032025_03_30_21_4189.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/605230ecc9029283b12f8212389a20cb.jpg","text":"TemporaryFile(/tmp/multipartBody54637138171877683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289153211,"filename":"image_18032025_03_30_29_4138.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345073334","file1":"1345073331","file0":"1345073328","file4":"1345073340","file5":"1345073342","file3":"1345073337"},"map_files_photo_id_array":[{"photo_id":"1345073342","filename":"file5"},{"photo_id":"1345073334","filename":"file2"},{"photo_id":"1345073340","filename":"file4"},{"photo_id":"1345073331","filename":"file1"},{"photo_id":"1345073328","filename":"file0"},{"photo_id":"1345073337","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345073342":["hashtag1","hashtag2"]},{"1345073340":["hashtag1","hashtag2"]},{"1345073334":["hashtag1","hashtag2"]},{"1345073328":["hashtag1","hashtag2"]},{"1345073337":["hashtag1","hashtag2"]},{"1345073331":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345073342, 1345073340, 1345073334, 1345073328, 1345073337, 1345073331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.476421356201172 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:12:31.876014
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_09_4080.jpg', 2), ('/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_05_3531.jpg', 2), ('/home/nano/Desktop/images/18032025/03/29/image_18032025_03_30_01_4076.jpg', 2), ('/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_57_4081.jpg', 2), ('/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_53_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_49_4019.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_09_4080.jpg', '/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_05_3531.jpg', '/home/nano/Desktop/images/18032025/03/29/image_18032025_03_30_01_4076.jpg', '/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_57_4081.jpg', '/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_53_4048.jpg', '/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_49_4019.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_09_4080.jpg
/home/nano/Desktop/images/18032025/03/30/image_18032025_03_30_05_3531.jpg
/home/nano/Desktop/images/18032025/03/29/image_18032025_03_30_01_4076.jpg
/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_57_4081.jpg
/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_53_4048.jpg
/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_49_4019.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345073374","1345073368","1345073377","1345073371","1345073365","1345073379"],"photo_ids_order":["1345073365","1345073368","1345073371","1345073374","1345073377","1345073379"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/431c0c032d057731ae0187f4fb137dcc.jpg","text":"TemporaryFile(/tmp/multipartBody3835922174114955196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289212356,"filename":"image_18032025_03_29_57_4081.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7364d9c84f98f33abf31547952487c7d.jpg","text":"TemporaryFile(/tmp/multipartBody558666705643583724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289212356,"filename":"image_18032025_03_30_05_3531.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4134a0772ea94302a0e625a6b93e1fb9.jpg","text":"TemporaryFile(/tmp/multipartBody7587569250249978335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289212356,"filename":"image_18032025_03_29_53_4048.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b1bb690d36f2e1e1fc2d87e286ffb91b.jpg","text":"TemporaryFile(/tmp/multipartBody2272189002122853089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289212356,"filename":"image_18032025_03_30_01_4076.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4139dc32e2a5b7afa47abea5ba1003eb.jpg","text":"TemporaryFile(/tmp/multipartBody2323532945948213487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289212356,"filename":"image_18032025_03_30_09_4080.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bc9cd1b9de1670f7b969306777e26c2f.jpg","text":"TemporaryFile(/tmp/multipartBody6519989602579133060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289212356,"filename":"image_18032025_03_29_49_4019.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345073371","file1":"1345073368","file0":"1345073365","file4":"1345073377","file5":"1345073379","file3":"1345073374"},"map_files_photo_id_array":[{"photo_id":"1345073379","filename":"file5"},{"photo_id":"1345073371","filename":"file2"},{"photo_id":"1345073377","filename":"file4"},{"photo_id":"1345073368","filename":"file1"},{"photo_id":"1345073365","filename":"file0"},{"photo_id":"1345073374","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345073374":["hashtag1","hashtag2"]},{"1345073368":["hashtag1","hashtag2"]},{"1345073377":["hashtag1","hashtag2"]},{"1345073371":["hashtag1","hashtag2"]},{"1345073365":["hashtag1","hashtag2"]},{"1345073379":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345073374, 1345073368, 1345073377, 1345073371, 1345073365, 1345073379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.330431699752808 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:13:32.060160
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_45_4262.jpg', 2), ('/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_41_3248.jpg', 2), ('/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_37_4298.jpg', 2), ('/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_33_4384.jpg', 2), ('/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_29_3355.jpg', 2), ('/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_25_4328.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_45_4262.jpg', '/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_41_3248.jpg', '/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_37_4298.jpg', '/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_33_4384.jpg', '/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_29_3355.jpg', '/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_25_4328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_45_4262.jpg
/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_41_3248.jpg
/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_37_4298.jpg
/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_33_4384.jpg
/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_29_3355.jpg
/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_25_4328.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345073411","1345073408","1345073417","1345073404","1345073413","1345073415"],"photo_ids_order":["1345073404","1345073408","1345073411","1345073413","1345073415","1345073417"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/99c0ae993c4650b7ef5632ae7a03713a.jpg","text":"TemporaryFile(/tmp/multipartBody4060509721153976394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289272581,"filename":"image_18032025_03_29_37_4298.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bd2e85b5a9ad8a159d87763aeaf74bc4.jpg","text":"TemporaryFile(/tmp/multipartBody2043292657289667757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289272581,"filename":"image_18032025_03_29_41_3248.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/63065d562aada996189d6c9dfdc91f39.jpg","text":"TemporaryFile(/tmp/multipartBody7923868922908184797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289272581,"filename":"image_18032025_03_29_25_4328.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5a69c910559d84c08b699cf7ed8c8d7e.jpg","text":"TemporaryFile(/tmp/multipartBody3668818670550215870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289272581,"filename":"image_18032025_03_29_45_4262.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6ffefa25eeb6f9008732dc4b821815f7.jpg","text":"TemporaryFile(/tmp/multipartBody7695804662065954580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289272581,"filename":"image_18032025_03_29_33_4384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/45ac71597198aa59546f558bd930a900.jpg","text":"TemporaryFile(/tmp/multipartBody1639576602910591277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289272581,"filename":"image_18032025_03_29_29_3355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345073411","file1":"1345073408","file0":"1345073404","file4":"1345073415","file5":"1345073417","file3":"1345073413"},"map_files_photo_id_array":[{"photo_id":"1345073417","filename":"file5"},{"photo_id":"1345073411","filename":"file2"},{"photo_id":"1345073415","filename":"file4"},{"photo_id":"1345073408","filename":"file1"},{"photo_id":"1345073404","filename":"file0"},{"photo_id":"1345073413","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345073411":["hashtag1","hashtag2"]},{"1345073408":["hashtag1","hashtag2"]},{"1345073417":["hashtag1","hashtag2"]},{"1345073404":["hashtag1","hashtag2"]},{"1345073413":["hashtag1","hashtag2"]},{"1345073415":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345073411, 1345073408, 1345073417, 1345073404, 1345073413, 1345073415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.25499439239502 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:14:32.244501
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_21_4252.jpg', 2), ('/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_17_3194.jpg', 2), ('/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_14_4189.jpg', 2), ('/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_09_4199.jpg', 2), ('/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_05_4486.jpg', 2), ('/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_01_3166.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_21_4252.jpg', '/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_17_3194.jpg', '/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_14_4189.jpg', '/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_09_4199.jpg', '/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_05_4486.jpg', '/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_01_3166.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_21_4252.jpg
/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_17_3194.jpg
/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_14_4189.jpg
/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_09_4199.jpg
/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_05_4486.jpg
/home/nano/Desktop/images/18032025/03/29/image_18032025_03_29_01_3166.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345073450","1345073461","1345073464","1345073458","1345073466","1345073454"],"photo_ids_order":["1345073450","1345073454","1345073458","1345073461","1345073464","1345073466"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fc641cb15409842388e8e4e9e4474fa3.jpg","text":"TemporaryFile(/tmp/multipartBody970504744752803863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289332769,"filename":"image_18032025_03_29_21_4252.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0774e655319bae267e4ad3c09d1321ea.jpg","text":"TemporaryFile(/tmp/multipartBody3941827185099761448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289332769,"filename":"image_18032025_03_29_09_4199.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d77f0f62af5eda7c51d6df2dd06ee8de.jpg","text":"TemporaryFile(/tmp/multipartBody7184385455812311290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289332769,"filename":"image_18032025_03_29_05_4486.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6ed9330b6abbcb7e1963650e803cfbeb.jpg","text":"TemporaryFile(/tmp/multipartBody852136526653685514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289332769,"filename":"image_18032025_03_29_14_4189.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/64c663c278c32f2e5db43b73aadc97d9.jpg","text":"TemporaryFile(/tmp/multipartBody7816688664944665378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289332769,"filename":"image_18032025_03_29_01_3166.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/57cef0386f25f8cb1d4d6c98fae6939f.jpg","text":"TemporaryFile(/tmp/multipartBody3843620497624887675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289332769,"filename":"image_18032025_03_29_17_3194.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345073458","file1":"1345073454","file0":"1345073450","file4":"1345073464","file5":"1345073466","file3":"1345073461"},"map_files_photo_id_array":[{"photo_id":"1345073466","filename":"file5"},{"photo_id":"1345073458","filename":"file2"},{"photo_id":"1345073464","filename":"file4"},{"photo_id":"1345073454","filename":"file1"},{"photo_id":"1345073450","filename":"file0"},{"photo_id":"1345073461","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345073450":["hashtag1","hashtag2"]},{"1345073461":["hashtag1","hashtag2"]},{"1345073464":["hashtag1","hashtag2"]},{"1345073458":["hashtag1","hashtag2"]},{"1345073466":["hashtag1","hashtag2"]},{"1345073454":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345073450, 1345073461, 1345073464, 1345073458, 1345073466, 1345073454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.232585191726685 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:15:32.408435
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_58_4030.jpg', 2), ('/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_54_4258.jpg', 2), ('/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_49_4196.jpg', 2), ('/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_45_4187.jpg', 2), ('/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_41_4119.jpg', 2), ('/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_37_3213.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_58_4030.jpg', '/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_54_4258.jpg', '/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_49_4196.jpg', '/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_45_4187.jpg', '/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_41_4119.jpg', '/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_37_3213.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_58_4030.jpg
/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_54_4258.jpg
/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_49_4196.jpg
/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_45_4187.jpg
/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_41_4119.jpg
/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_37_3213.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345073511","1345073498","1345073506","1345073493","1345073508","1345073502"],"photo_ids_order":["1345073493","1345073498","1345073502","1345073506","1345073508","1345073511"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cadcd64f39080f5e046e400a0fb71ca4.jpg","text":"TemporaryFile(/tmp/multipartBody5221375906516663198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289392940,"filename":"image_18032025_03_28_37_3213.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/82160aecf35c8487810cd610980e3f7a.jpg","text":"TemporaryFile(/tmp/multipartBody1137587086645345237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289392940,"filename":"image_18032025_03_28_54_4258.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fd3518c082293ca2b531d81076e31e6d.jpg","text":"TemporaryFile(/tmp/multipartBody7750768080500817401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289392940,"filename":"image_18032025_03_28_45_4187.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6f8481cb4d3613e0e35dcbfef9043043.jpg","text":"TemporaryFile(/tmp/multipartBody6635111020019556099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289392940,"filename":"image_18032025_03_28_58_4030.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/26d98f3675fc93800136a0d82b6daf30.jpg","text":"TemporaryFile(/tmp/multipartBody5897770165779468458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289392940,"filename":"image_18032025_03_28_41_4119.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ab1aa145d1153f376dde4ca6f5045c1b.jpg","text":"TemporaryFile(/tmp/multipartBody7558480407824206146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289392940,"filename":"image_18032025_03_28_49_4196.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345073502","file1":"1345073498","file0":"1345073493","file4":"1345073508","file5":"1345073511","file3":"1345073506"},"map_files_photo_id_array":[{"photo_id":"1345073511","filename":"file5"},{"photo_id":"1345073502","filename":"file2"},{"photo_id":"1345073508","filename":"file4"},{"photo_id":"1345073498","filename":"file1"},{"photo_id":"1345073493","filename":"file0"},{"photo_id":"1345073506","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345073511":["hashtag1","hashtag2"]},{"1345073498":["hashtag1","hashtag2"]},{"1345073506":["hashtag1","hashtag2"]},{"1345073493":["hashtag1","hashtag2"]},{"1345073508":["hashtag1","hashtag2"]},{"1345073502":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345073511, 1345073498, 1345073506, 1345073493, 1345073508, 1345073502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.13629364967346 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:16:32.593656
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_34_4186.jpg', 2), ('/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_29_4240.jpg', 2), ('/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_25_4236.jpg', 2), ('/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_21_3238.jpg', 2), ('/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_18_4074.jpg', 2), ('/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_14_4143.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_34_4186.jpg', '/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_29_4240.jpg', '/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_25_4236.jpg', '/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_21_3238.jpg', '/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_18_4074.jpg', '/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_14_4143.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_34_4186.jpg
/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_29_4240.jpg
/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_25_4236.jpg
/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_21_3238.jpg
/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_18_4074.jpg
/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_14_4143.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345073554","1345073542","1345073536","1345073545","1345073550","1345073556"],"photo_ids_order":["1345073536","1345073542","1345073545","1345073550","1345073554","1345073556"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b678444c896c6a2d83547f60a92dc9d7.jpg","text":"TemporaryFile(/tmp/multipartBody5518369042416642630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289453093,"filename":"image_18032025_03_28_18_4074.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8df3895a152b088711671a1a663ead74.jpg","text":"TemporaryFile(/tmp/multipartBody5236530022225281502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289453093,"filename":"image_18032025_03_28_29_4240.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6475b7356fb0e3d58c1a7a8a6c20fe25.jpg","text":"TemporaryFile(/tmp/multipartBody7253396675844789491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289453093,"filename":"image_18032025_03_28_34_4186.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d5c38a986b74b674d1bfbed1ee9e4f6b.jpg","text":"TemporaryFile(/tmp/multipartBody1479626884695237826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289453093,"filename":"image_18032025_03_28_25_4236.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3e1fe4672c8d233a5753c291a4320e86.jpg","text":"TemporaryFile(/tmp/multipartBody4401554210907082350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289453093,"filename":"image_18032025_03_28_21_3238.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/13e7b72f64e44d6caa85d1595a3a9c44.jpg","text":"TemporaryFile(/tmp/multipartBody4344480645744953258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289453093,"filename":"image_18032025_03_28_14_4143.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345073545","file1":"1345073542","file0":"1345073536","file4":"1345073554","file5":"1345073556","file3":"1345073550"},"map_files_photo_id_array":[{"photo_id":"1345073556","filename":"file5"},{"photo_id":"1345073545","filename":"file2"},{"photo_id":"1345073554","filename":"file4"},{"photo_id":"1345073542","filename":"file1"},{"photo_id":"1345073536","filename":"file0"},{"photo_id":"1345073550","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345073554":["hashtag1","hashtag2"]},{"1345073542":["hashtag1","hashtag2"]},{"1345073536":["hashtag1","hashtag2"]},{"1345073545":["hashtag1","hashtag2"]},{"1345073550":["hashtag1","hashtag2"]},{"1345073556":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345073554, 1345073542, 1345073536, 1345073545, 1345073550, 1345073556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.8831102848053 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:17:32.748991
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_09_4201.jpg', 2), ('/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_05_3645.jpg', 2), ('/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_02_4214.jpg', 2), ('/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_57_4227.jpg', 2), ('/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_53_4203.jpg', 2), ('/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_49_4240.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_09_4201.jpg', '/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_05_3645.jpg', '/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_02_4214.jpg', '/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_57_4227.jpg', '/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_53_4203.jpg', '/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_49_4240.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_09_4201.jpg
/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_05_3645.jpg
/home/nano/Desktop/images/18032025/03/28/image_18032025_03_28_02_4214.jpg
/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_57_4227.jpg
/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_53_4203.jpg
/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_49_4240.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345073594","1345073606","1345073602","1345073589","1345073598","1345073583"],"photo_ids_order":["1345073583","1345073589","1345073594","1345073598","1345073602","1345073606"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0671a5ea2cb64334ba5c4434d8b4f774.jpg","text":"TemporaryFile(/tmp/multipartBody9176089621110200564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289513282,"filename":"image_18032025_03_28_02_4214.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f4e9923e156640eaf31013e6503de80e.jpg","text":"TemporaryFile(/tmp/multipartBody2277466859304758087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289513282,"filename":"image_18032025_03_27_49_4240.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/917ac5c3c62ac1cc161846647662993a.jpg","text":"TemporaryFile(/tmp/multipartBody1065789432554366069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289513282,"filename":"image_18032025_03_27_53_4203.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1b55b8ad8e1f0078d8606cc7c0b63c15.jpg","text":"TemporaryFile(/tmp/multipartBody4414545272269810996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289513282,"filename":"image_18032025_03_28_05_3645.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b748af521fa2246367bafae806e2a20a.jpg","text":"TemporaryFile(/tmp/multipartBody184537960084073492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289513282,"filename":"image_18032025_03_27_57_4227.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/25acb8043d66c83ad8682f46fb380a15.jpg","text":"TemporaryFile(/tmp/multipartBody7688234645988162551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289513282,"filename":"image_18032025_03_28_09_4201.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345073594","file1":"1345073589","file0":"1345073583","file4":"1345073602","file5":"1345073606","file3":"1345073598"},"map_files_photo_id_array":[{"photo_id":"1345073606","filename":"file5"},{"photo_id":"1345073594","filename":"file2"},{"photo_id":"1345073602","filename":"file4"},{"photo_id":"1345073589","filename":"file1"},{"photo_id":"1345073583","filename":"file0"},{"photo_id":"1345073598","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345073594":["hashtag1","hashtag2"]},{"1345073606":["hashtag1","hashtag2"]},{"1345073602":["hashtag1","hashtag2"]},{"1345073589":["hashtag1","hashtag2"]},{"1345073598":["hashtag1","hashtag2"]},{"1345073583":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345073594, 1345073606, 1345073602, 1345073589, 1345073598, 1345073583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.17744517326355 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:18:31.900282
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_45_3221.jpg', 2), ('/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_42_4047.jpg', 2), ('/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_37_4124.jpg', 2), ('/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_33_4100.jpg', 2), ('/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_29_4133.jpg', 2), ('/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_25_4062.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_45_3221.jpg', '/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_42_4047.jpg', '/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_37_4124.jpg', '/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_33_4100.jpg', '/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_29_4133.jpg', '/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_25_4062.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_45_3221.jpg
/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_42_4047.jpg
/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_37_4124.jpg
/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_33_4100.jpg
/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_29_4133.jpg
/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_25_4062.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.4354517459869385 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:19:03.234175
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_45_3221.jpg', 2), ('/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_42_4047.jpg', 2), ('/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_37_4124.jpg', 2), ('/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_33_4100.jpg', 2), ('/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_29_4133.jpg', 2), ('/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_25_4062.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_45_3221.jpg', '/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_42_4047.jpg', '/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_37_4124.jpg', '/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_33_4100.jpg', '/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_29_4133.jpg', '/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_25_4062.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_45_3221.jpg
/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_42_4047.jpg
/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_37_4124.jpg
/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_33_4100.jpg
/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_29_4133.jpg
/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_25_4062.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345073681","1345073675","1345073720","1345073665","1345073707","1345073690"],"photo_ids_order":["1345073665","1345073675","1345073681","1345073690","1345073707","1345073720"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a63e571ddda7cbfde1a98527b61aa2e0.jpg","text":"TemporaryFile(/tmp/multipartBody7162188786392291429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289603813,"filename":"image_18032025_03_27_37_4124.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ac4e28afc3f2763ae8f5f34fd8628f1b.jpg","text":"TemporaryFile(/tmp/multipartBody3770315586326651077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289603813,"filename":"image_18032025_03_27_42_4047.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/eb339b66c3a8475bbcc8a559855e340c.jpg","text":"TemporaryFile(/tmp/multipartBody359020957309674582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289603813,"filename":"image_18032025_03_27_25_4062.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1cbc68aa49fdb5d0f8a0bf210b2341e1.jpg","text":"TemporaryFile(/tmp/multipartBody760178292849910629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289603813,"filename":"image_18032025_03_27_45_3221.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7479223ecf2242418ea74bb1158ee781.jpg","text":"TemporaryFile(/tmp/multipartBody8684231192587082734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289603813,"filename":"image_18032025_03_27_29_4133.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7747deaba331029134060601dfc907da.jpg","text":"TemporaryFile(/tmp/multipartBody1240340954406240446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289603813,"filename":"image_18032025_03_27_33_4100.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345073681","file1":"1345073675","file0":"1345073665","file4":"1345073707","file5":"1345073720","file3":"1345073690"},"map_files_photo_id_array":[{"photo_id":"1345073720","filename":"file5"},{"photo_id":"1345073681","filename":"file2"},{"photo_id":"1345073707","filename":"file4"},{"photo_id":"1345073675","filename":"file1"},{"photo_id":"1345073665","filename":"file0"},{"photo_id":"1345073690","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345073681":["hashtag1","hashtag2"]},{"1345073675":["hashtag1","hashtag2"]},{"1345073720":["hashtag1","hashtag2"]},{"1345073665":["hashtag1","hashtag2"]},{"1345073707":["hashtag1","hashtag2"]},{"1345073690":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345073681, 1345073675, 1345073720, 1345073665, 1345073707, 1345073690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.33398413658142 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:20:03.010325
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_21_3978.jpg', 2), ('/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_17_4187.jpg', 2), ('/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_13_3246.jpg', 2), ('/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_10_4205.jpg', 2), ('/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_05_4346.jpg', 2), ('/home/nano/Desktop/images/18032025/03/26/image_18032025_03_27_01_4267.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_21_3978.jpg', '/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_17_4187.jpg', '/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_13_3246.jpg', '/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_10_4205.jpg', '/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_05_4346.jpg', '/home/nano/Desktop/images/18032025/03/26/image_18032025_03_27_01_4267.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_21_3978.jpg
/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_17_4187.jpg
/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_13_3246.jpg
/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_10_4205.jpg
/home/nano/Desktop/images/18032025/03/27/image_18032025_03_27_05_4346.jpg
/home/nano/Desktop/images/18032025/03/26/image_18032025_03_27_01_4267.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345073795","1345073791","1345073815","1345073799","1345073803","1345073787"],"photo_ids_order":["1345073787","1345073791","1345073795","1345073799","1345073803","1345073815"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/58f704999e9425439e7f0d7d153043a7.jpg","text":"TemporaryFile(/tmp/multipartBody1034318130103944348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289663512,"filename":"image_18032025_03_27_13_3246.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/899f93da7815f949bcd99b7f108d4ed4.jpg","text":"TemporaryFile(/tmp/multipartBody5492323213443716832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289663512,"filename":"image_18032025_03_27_17_4187.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/66b436819e0418e4d08b193c5d149bee.jpg","text":"TemporaryFile(/tmp/multipartBody6435736416457926166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289663512,"filename":"image_18032025_03_27_01_4267.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3f75cdfa001219cb522b274a648d95c6.jpg","text":"TemporaryFile(/tmp/multipartBody2481329554265340144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289663512,"filename":"image_18032025_03_27_10_4205.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c969be091953edb818495f6abf44560f.jpg","text":"TemporaryFile(/tmp/multipartBody3228809526128417322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289663512,"filename":"image_18032025_03_27_05_4346.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/476799250f300561b38e6bb2fc3d37de.jpg","text":"TemporaryFile(/tmp/multipartBody2469019359418810209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289663512,"filename":"image_18032025_03_27_21_3978.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345073795","file1":"1345073791","file0":"1345073787","file4":"1345073803","file5":"1345073815","file3":"1345073799"},"map_files_photo_id_array":[{"photo_id":"1345073815","filename":"file5"},{"photo_id":"1345073795","filename":"file2"},{"photo_id":"1345073803","filename":"file4"},{"photo_id":"1345073791","filename":"file1"},{"photo_id":"1345073787","filename":"file0"},{"photo_id":"1345073799","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345073795":["hashtag1","hashtag2"]},{"1345073791":["hashtag1","hashtag2"]},{"1345073815":["hashtag1","hashtag2"]},{"1345073799":["hashtag1","hashtag2"]},{"1345073803":["hashtag1","hashtag2"]},{"1345073787":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345073795, 1345073791, 1345073815, 1345073799, 1345073803, 1345073787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.86141848564148 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:21:03.188357
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_57_3360.jpg', 2), ('/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_53_4280.jpg', 2), ('/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_49_4388.jpg', 2), ('/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_45_3424.jpg', 2), ('/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_41_4199.jpg', 2), ('/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_37_4260.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_57_3360.jpg', '/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_53_4280.jpg', '/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_49_4388.jpg', '/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_45_3424.jpg', '/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_41_4199.jpg', '/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_37_4260.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_57_3360.jpg
/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_53_4280.jpg
/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_49_4388.jpg
/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_45_3424.jpg
/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_41_4199.jpg
/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_37_4260.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345073938","1345073932","1345073935","1345073908","1345073917","1345073925"],"photo_ids_order":["1345073908","1345073917","1345073925","1345073932","1345073935","1345073938"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c609d44b5e883ab471510f5266526b25.jpg","text":"TemporaryFile(/tmp/multipartBody6308041819426073736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289723692,"filename":"image_18032025_03_26_37_4260.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/54b97a8cd8f07f1452f8703416bfb22f.jpg","text":"TemporaryFile(/tmp/multipartBody6119779819665266566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289723692,"filename":"image_18032025_03_26_45_3424.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/265fb09786b73385a601231a76ade6c4.jpg","text":"TemporaryFile(/tmp/multipartBody2880435832035776669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289723692,"filename":"image_18032025_03_26_41_4199.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6261e9bd9b188c3f82e77922341b6e19.jpg","text":"TemporaryFile(/tmp/multipartBody3726271658801477721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289723692,"filename":"image_18032025_03_26_57_3360.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f72a9a41db8460b4fe581fa59509035c.jpg","text":"TemporaryFile(/tmp/multipartBody3587899038620082091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289723692,"filename":"image_18032025_03_26_53_4280.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/897c3de633c29e979a65c4e5e26eb672.jpg","text":"TemporaryFile(/tmp/multipartBody8593427537659392660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289723692,"filename":"image_18032025_03_26_49_4388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345073925","file1":"1345073917","file0":"1345073908","file4":"1345073935","file5":"1345073938","file3":"1345073932"},"map_files_photo_id_array":[{"photo_id":"1345073938","filename":"file5"},{"photo_id":"1345073925","filename":"file2"},{"photo_id":"1345073935","filename":"file4"},{"photo_id":"1345073917","filename":"file1"},{"photo_id":"1345073908","filename":"file0"},{"photo_id":"1345073932","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345073938":["hashtag1","hashtag2"]},{"1345073932":["hashtag1","hashtag2"]},{"1345073935":["hashtag1","hashtag2"]},{"1345073908":["hashtag1","hashtag2"]},{"1345073917":["hashtag1","hashtag2"]},{"1345073925":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345073938, 1345073932, 1345073935, 1345073908, 1345073917, 1345073925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.738725662231445 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:22:03.330442
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_33_4064.jpg', 2), ('/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_29_4072.jpg', 2), ('/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_25_3115.jpg', 2), ('/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_22_4015.jpg', 2), ('/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_18_4111.jpg', 2), ('/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_14_4107.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_33_4064.jpg', '/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_29_4072.jpg', '/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_25_3115.jpg', '/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_22_4015.jpg', '/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_18_4111.jpg', '/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_14_4107.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_33_4064.jpg
/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_29_4072.jpg
/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_25_3115.jpg
/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_22_4015.jpg
/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_18_4111.jpg
/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_14_4107.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345073963","1345073966","1345073969","1345073977","1345073971","1345073981"],"photo_ids_order":["1345073963","1345073966","1345073969","1345073971","1345073977","1345073981"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/44b162e814a9a087efe8ba32420cc6d9.jpg","text":"TemporaryFile(/tmp/multipartBody8216651678081699396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289783876,"filename":"image_18032025_03_26_33_4064.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8a535e9c58dbbb4b4e5a96752959ddc6.jpg","text":"TemporaryFile(/tmp/multipartBody1774969307775808969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289783876,"filename":"image_18032025_03_26_29_4072.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bdc87aa1b309e21efd10022232125466.jpg","text":"TemporaryFile(/tmp/multipartBody425724798420851484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289783876,"filename":"image_18032025_03_26_25_3115.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8a95121445b4a7c30df8bd69b37394b0.jpg","text":"TemporaryFile(/tmp/multipartBody1620909703828340661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289783876,"filename":"image_18032025_03_26_18_4111.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6741728956cbf9b3b885d19d610ebee3.jpg","text":"TemporaryFile(/tmp/multipartBody3090787760685065877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289783876,"filename":"image_18032025_03_26_22_4015.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a273279a7082997b9fe5a019bab44bf5.jpg","text":"TemporaryFile(/tmp/multipartBody2642237247950435574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289783876,"filename":"image_18032025_03_26_14_4107.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345073969","file1":"1345073966","file0":"1345073963","file4":"1345073977","file5":"1345073981","file3":"1345073971"},"map_files_photo_id_array":[{"photo_id":"1345073981","filename":"file5"},{"photo_id":"1345073969","filename":"file2"},{"photo_id":"1345073977","filename":"file4"},{"photo_id":"1345073966","filename":"file1"},{"photo_id":"1345073963","filename":"file0"},{"photo_id":"1345073971","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345073963":["hashtag1","hashtag2"]},{"1345073966":["hashtag1","hashtag2"]},{"1345073969":["hashtag1","hashtag2"]},{"1345073977":["hashtag1","hashtag2"]},{"1345073971":["hashtag1","hashtag2"]},{"1345073981":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345073963, 1345073966, 1345073969, 1345073977, 1345073971, 1345073981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61964416503906 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:23:03.680277
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_09_4197.jpg', 2), ('/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_05_4405.jpg', 2), ('/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_01_3171.jpg', 2), ('/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_58_4173.jpg', 2), ('/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_53_4143.jpg', 2), ('/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_49_4152.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_09_4197.jpg', '/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_05_4405.jpg', '/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_01_3171.jpg', '/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_58_4173.jpg', '/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_53_4143.jpg', '/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_49_4152.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_09_4197.jpg
/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_05_4405.jpg
/home/nano/Desktop/images/18032025/03/26/image_18032025_03_26_01_3171.jpg
/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_58_4173.jpg
/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_53_4143.jpg
/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_49_4152.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345074014","1345074008","1345074010","1345074016","1345074021","1345074012"],"photo_ids_order":["1345074008","1345074010","1345074012","1345074014","1345074016","1345074021"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3d468910eb2e57672e23c1cf62ea6855.jpg","text":"TemporaryFile(/tmp/multipartBody6577229421033961870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289844214,"filename":"image_18032025_03_25_58_4173.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1ae3bf492de2c2cec26b592ba3757723.jpg","text":"TemporaryFile(/tmp/multipartBody9118358694262899532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289844214,"filename":"image_18032025_03_26_09_4197.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/17447d21c23b254e6dcbe717e6c389d7.jpg","text":"TemporaryFile(/tmp/multipartBody4170720234644183685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289844214,"filename":"image_18032025_03_26_05_4405.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/69a7d515ecad9a8132621ac2f7ed4f0b.jpg","text":"TemporaryFile(/tmp/multipartBody39383781784046988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289844214,"filename":"image_18032025_03_25_53_4143.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0be567bffc01929f50ca28617fb28c26.jpg","text":"TemporaryFile(/tmp/multipartBody1505602697750538703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289844214,"filename":"image_18032025_03_25_49_4152.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e3571c963b61f526cb20c0c8f808df7a.jpg","text":"TemporaryFile(/tmp/multipartBody2347513877602196641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289844214,"filename":"image_18032025_03_26_01_3171.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345074012","file1":"1345074010","file0":"1345074008","file4":"1345074016","file5":"1345074021","file3":"1345074014"},"map_files_photo_id_array":[{"photo_id":"1345074021","filename":"file5"},{"photo_id":"1345074012","filename":"file2"},{"photo_id":"1345074016","filename":"file4"},{"photo_id":"1345074010","filename":"file1"},{"photo_id":"1345074008","filename":"file0"},{"photo_id":"1345074014","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345074014":["hashtag1","hashtag2"]},{"1345074008":["hashtag1","hashtag2"]},{"1345074010":["hashtag1","hashtag2"]},{"1345074016":["hashtag1","hashtag2"]},{"1345074021":["hashtag1","hashtag2"]},{"1345074012":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345074014, 1345074008, 1345074010, 1345074016, 1345074021, 1345074012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.73332381248474 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:24:03.205102
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_45_4185.jpg', 2), ('/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_41_4123.jpg', 2), ('/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_37_4107.jpg', 2), ('/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_33_3139.jpg', 2), ('/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_30_4013.jpg', 2), ('/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_26_4053.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_45_4185.jpg', '/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_41_4123.jpg', '/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_37_4107.jpg', '/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_33_3139.jpg', '/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_30_4013.jpg', '/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_26_4053.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_45_4185.jpg
/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_41_4123.jpg
/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_37_4107.jpg
/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_33_3139.jpg
/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_30_4013.jpg
/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_26_4053.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345074056","1345074079","1345074064","1345074051","1345074083","1345074071"],"photo_ids_order":["1345074051","1345074056","1345074064","1345074071","1345074079","1345074083"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/026ba0774879d77647e561bca94a3fab.jpg","text":"TemporaryFile(/tmp/multipartBody2295718287276555295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289903840,"filename":"image_18032025_03_25_41_4123.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7f079e69b90c61621ed6ef9f244d58fe.jpg","text":"TemporaryFile(/tmp/multipartBody8343329748969257960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289903840,"filename":"image_18032025_03_25_30_4013.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/60e750eaad281f9845eaba6479dec130.jpg","text":"TemporaryFile(/tmp/multipartBody7462348337294323764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289903840,"filename":"image_18032025_03_25_37_4107.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fa1cf628546bc763168033385ff91d9c.jpg","text":"TemporaryFile(/tmp/multipartBody670441620913289919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289903840,"filename":"image_18032025_03_25_45_4185.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8ee96b976a1fcc043af539ff577e516b.jpg","text":"TemporaryFile(/tmp/multipartBody4663549041541891325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289903840,"filename":"image_18032025_03_25_26_4053.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/289961a673389a278054f4922c0a7937.jpg","text":"TemporaryFile(/tmp/multipartBody4712444868925034961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289903840,"filename":"image_18032025_03_25_33_3139.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345074064","file1":"1345074056","file0":"1345074051","file4":"1345074079","file5":"1345074083","file3":"1345074071"},"map_files_photo_id_array":[{"photo_id":"1345074083","filename":"file5"},{"photo_id":"1345074064","filename":"file2"},{"photo_id":"1345074079","filename":"file4"},{"photo_id":"1345074056","filename":"file1"},{"photo_id":"1345074051","filename":"file0"},{"photo_id":"1345074071","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345074056":["hashtag1","hashtag2"]},{"1345074079":["hashtag1","hashtag2"]},{"1345074064":["hashtag1","hashtag2"]},{"1345074051":["hashtag1","hashtag2"]},{"1345074083":["hashtag1","hashtag2"]},{"1345074071":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345074056, 1345074079, 1345074064, 1345074051, 1345074083, 1345074071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.434223890304565 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:25:02.938269
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_22_4188.jpg', 2), ('/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_17_4225.jpg', 2), ('/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_13_4225.jpg', 2), ('/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_09_4180.jpg', 2), ('/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_05_3992.jpg', 2), ('/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_01_3264.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_22_4188.jpg', '/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_17_4225.jpg', '/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_13_4225.jpg', '/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_09_4180.jpg', '/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_05_3992.jpg', '/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_01_3264.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_22_4188.jpg
/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_17_4225.jpg
/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_13_4225.jpg
/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_09_4180.jpg
/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_05_3992.jpg
/home/nano/Desktop/images/18032025/03/25/image_18032025_03_25_01_3264.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345074212","1345074203","1345074241","1345074211","1345074210","1345074194"],"photo_ids_order":["1345074194","1345074203","1345074210","1345074211","1345074212","1345074241"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8423ee41a895edeaf8210325fd196b40.jpg","text":"TemporaryFile(/tmp/multipartBody3345322251052173445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289963449,"filename":"image_18032025_03_25_05_3992.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/af062aaa2176ae3279f75c555370ddaa.jpg","text":"TemporaryFile(/tmp/multipartBody2322112896566200899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289963449,"filename":"image_18032025_03_25_17_4225.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1559213d2edb1dd60f03c3c01cf0ed90.jpg","text":"TemporaryFile(/tmp/multipartBody2541132326158725962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289963449,"filename":"image_18032025_03_25_01_3264.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/efd83abff5841c70a4623b8450bed699.jpg","text":"TemporaryFile(/tmp/multipartBody8067860284248076566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289963449,"filename":"image_18032025_03_25_09_4180.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6f61ec7387eb05d11e7c63cc53252d87.jpg","text":"TemporaryFile(/tmp/multipartBody9187912736268187784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289963449,"filename":"image_18032025_03_25_13_4225.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4832a00ade2e0ec5c4be53a3b6bc0129.jpg","text":"TemporaryFile(/tmp/multipartBody7581574692679071443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742289963449,"filename":"image_18032025_03_25_22_4188.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345074210","file1":"1345074203","file0":"1345074194","file4":"1345074212","file5":"1345074241","file3":"1345074211"},"map_files_photo_id_array":[{"photo_id":"1345074241","filename":"file5"},{"photo_id":"1345074210","filename":"file2"},{"photo_id":"1345074212","filename":"file4"},{"photo_id":"1345074203","filename":"file1"},{"photo_id":"1345074194","filename":"file0"},{"photo_id":"1345074211","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345074212":["hashtag1","hashtag2"]},{"1345074203":["hashtag1","hashtag2"]},{"1345074241":["hashtag1","hashtag2"]},{"1345074211":["hashtag1","hashtag2"]},{"1345074210":["hashtag1","hashtag2"]},{"1345074194":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345074212, 1345074203, 1345074241, 1345074211, 1345074210, 1345074194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.353267431259155 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:26:03.087811
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_57_4222.jpg', 2), ('/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_53_4185.jpg', 2), ('/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_49_4318.jpg', 2), ('/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_45_3254.jpg', 2), ('/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_41_3824.jpg', 2), ('/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_38_4373.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_57_4222.jpg', '/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_53_4185.jpg', '/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_49_4318.jpg', '/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_45_3254.jpg', '/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_41_3824.jpg', '/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_38_4373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_57_4222.jpg
/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_53_4185.jpg
/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_49_4318.jpg
/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_45_3254.jpg
/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_41_3824.jpg
/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_38_4373.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345074326","1345074320","1345074322","1345074319","1345074321","1345074318"],"photo_ids_order":["1345074318","1345074319","1345074320","1345074321","1345074322","1345074326"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f307449e3ac1ebdf8889f2997891e03f.jpg","text":"TemporaryFile(/tmp/multipartBody4705150990202973975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290023645,"filename":"image_18032025_03_24_38_4373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f23786163fe66382dc8709dd529a3f49.jpg","text":"TemporaryFile(/tmp/multipartBody312490644211996339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290023645,"filename":"image_18032025_03_24_49_4318.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/aab607bb047e515dfc142a9d59436a2a.jpg","text":"TemporaryFile(/tmp/multipartBody8773104517241651121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290023645,"filename":"image_18032025_03_24_41_3824.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0aa6388ce6da7327a8651405bf7336b8.jpg","text":"TemporaryFile(/tmp/multipartBody114412142943016826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290023645,"filename":"image_18032025_03_24_53_4185.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/429b19ab76a453ee86d112e958b15f95.jpg","text":"TemporaryFile(/tmp/multipartBody739534573316725687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290023645,"filename":"image_18032025_03_24_45_3254.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/94fee5f1b70eb8a883e47de219139fcd.jpg","text":"TemporaryFile(/tmp/multipartBody6199324805620663545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290023645,"filename":"image_18032025_03_24_57_4222.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345074320","file1":"1345074319","file0":"1345074318","file4":"1345074322","file5":"1345074326","file3":"1345074321"},"map_files_photo_id_array":[{"photo_id":"1345074326","filename":"file5"},{"photo_id":"1345074320","filename":"file2"},{"photo_id":"1345074322","filename":"file4"},{"photo_id":"1345074319","filename":"file1"},{"photo_id":"1345074318","filename":"file0"},{"photo_id":"1345074321","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345074326":["hashtag1","hashtag2"]},{"1345074320":["hashtag1","hashtag2"]},{"1345074322":["hashtag1","hashtag2"]},{"1345074319":["hashtag1","hashtag2"]},{"1345074321":["hashtag1","hashtag2"]},{"1345074318":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345074326, 1345074320, 1345074322, 1345074319, 1345074321, 1345074318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.353076219558716 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:27:03.451245
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_33_4222.jpg', 2), ('/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_29_4238.jpg', 2), ('/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_25_4110.jpg', 2), ('/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_21_3049.jpg', 2), ('/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_18_4087.jpg', 2), ('/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_14_3895.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_33_4222.jpg', '/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_29_4238.jpg', '/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_25_4110.jpg', '/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_21_3049.jpg', '/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_18_4087.jpg', '/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_14_3895.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_33_4222.jpg
/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_29_4238.jpg
/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_25_4110.jpg
/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_21_3049.jpg
/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_18_4087.jpg
/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_14_3895.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345074856","1345074859","1345074858","1345074860","1345074863","1345074857"],"photo_ids_order":["1345074856","1345074857","1345074858","1345074859","1345074860","1345074863"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/069e2dd2124e5d1687787c604825dc85.jpg","text":"TemporaryFile(/tmp/multipartBody1755633002554878807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290083982,"filename":"image_18032025_03_24_33_4222.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e49419bca5a3e43785c6b25917921771.jpg","text":"TemporaryFile(/tmp/multipartBody6936249280723163678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290083982,"filename":"image_18032025_03_24_21_3049.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c86aacb59d2ddd62986025fa1183d625.jpg","text":"TemporaryFile(/tmp/multipartBody7845689117537445377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290083982,"filename":"image_18032025_03_24_25_4110.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/708ac3e51f0ae1325ddd000c53f5f143.jpg","text":"TemporaryFile(/tmp/multipartBody574020125476680129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290083982,"filename":"image_18032025_03_24_18_4087.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d74b163251973b32fefb59e76ad9b50e.jpg","text":"TemporaryFile(/tmp/multipartBody3747737429709392523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290083982,"filename":"image_18032025_03_24_14_3895.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1b376c419983ed567e97bdc9d48ca186.jpg","text":"TemporaryFile(/tmp/multipartBody8181087024278051494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290083982,"filename":"image_18032025_03_24_29_4238.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345074858","file1":"1345074857","file0":"1345074856","file4":"1345074860","file5":"1345074863","file3":"1345074859"},"map_files_photo_id_array":[{"photo_id":"1345074863","filename":"file5"},{"photo_id":"1345074858","filename":"file2"},{"photo_id":"1345074860","filename":"file4"},{"photo_id":"1345074857","filename":"file1"},{"photo_id":"1345074856","filename":"file0"},{"photo_id":"1345074859","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345074856":["hashtag1","hashtag2"]},{"1345074859":["hashtag1","hashtag2"]},{"1345074858":["hashtag1","hashtag2"]},{"1345074860":["hashtag1","hashtag2"]},{"1345074863":["hashtag1","hashtag2"]},{"1345074857":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345074856, 1345074859, 1345074858, 1345074860, 1345074863, 1345074857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.41557788848877 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:28:03.375317
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_10_4037.jpg', 2), ('/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_06_4409.jpg', 2), ('/home/nano/Desktop/images/18032025/03/23/image_18032025_03_24_01_4043.jpg', 2), ('/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_57_4187.jpg', 2), ('/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_53_4049.jpg', 2), ('/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_49_4035.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_10_4037.jpg', '/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_06_4409.jpg', '/home/nano/Desktop/images/18032025/03/23/image_18032025_03_24_01_4043.jpg', '/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_57_4187.jpg', '/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_53_4049.jpg', '/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_49_4035.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_10_4037.jpg
/home/nano/Desktop/images/18032025/03/24/image_18032025_03_24_06_4409.jpg
/home/nano/Desktop/images/18032025/03/23/image_18032025_03_24_01_4043.jpg
/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_57_4187.jpg
/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_53_4049.jpg
/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_49_4035.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345075054","1345075039","1345075038","1345075049","1345075022","1345075031"],"photo_ids_order":["1345075022","1345075031","1345075038","1345075039","1345075049","1345075054"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/439d54bc8e91efd4c359af6d8196f5af.jpg","text":"TemporaryFile(/tmp/multipartBody644631457759179784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290143898,"filename":"image_18032025_03_23_49_4035.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7fe06a12a03ccc221753cb680b4bf375.jpg","text":"TemporaryFile(/tmp/multipartBody7561311935377720576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290143898,"filename":"image_18032025_03_23_57_4187.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/01478efb755b02226d90b7b7638ecf49.jpg","text":"TemporaryFile(/tmp/multipartBody1929981132144020259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290143898,"filename":"image_18032025_03_24_01_4043.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/824c66e8bb79930878031f1094d0f3e8.jpg","text":"TemporaryFile(/tmp/multipartBody3248775403012811232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290143898,"filename":"image_18032025_03_23_53_4049.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6bf651bee107cfa26e545bdb8074b752.jpg","text":"TemporaryFile(/tmp/multipartBody9048324099337730021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290143898,"filename":"image_18032025_03_24_10_4037.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/544d1f11e0184c27f8e9a25a6d67a976.jpg","text":"TemporaryFile(/tmp/multipartBody4591515394146435001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290143898,"filename":"image_18032025_03_24_06_4409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345075038","file1":"1345075031","file0":"1345075022","file4":"1345075049","file5":"1345075054","file3":"1345075039"},"map_files_photo_id_array":[{"photo_id":"1345075054","filename":"file5"},{"photo_id":"1345075038","filename":"file2"},{"photo_id":"1345075049","filename":"file4"},{"photo_id":"1345075031","filename":"file1"},{"photo_id":"1345075022","filename":"file0"},{"photo_id":"1345075039","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345075054":["hashtag1","hashtag2"]},{"1345075039":["hashtag1","hashtag2"]},{"1345075038":["hashtag1","hashtag2"]},{"1345075049":["hashtag1","hashtag2"]},{"1345075022":["hashtag1","hashtag2"]},{"1345075031":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345075054, 1345075039, 1345075038, 1345075049, 1345075022, 1345075031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.433272123336792 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:29:03.841061
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_45_4145.jpg', 2), ('/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_41_3172.jpg', 2), ('/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_38_4124.jpg', 2), ('/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_33_4158.jpg', 2), ('/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_29_4170.jpg', 2), ('/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_25_4136.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_45_4145.jpg', '/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_41_3172.jpg', '/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_38_4124.jpg', '/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_33_4158.jpg', '/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_29_4170.jpg', '/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_25_4136.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_45_4145.jpg
/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_41_3172.jpg
/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_38_4124.jpg
/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_33_4158.jpg
/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_29_4170.jpg
/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_25_4136.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345075150","1345075155","1345075152","1345075146","1345075149","1345075148"],"photo_ids_order":["1345075146","1345075148","1345075149","1345075150","1345075152","1345075155"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3ced6f0ee6a3a0db08bcb3b42b612d3d.jpg","text":"TemporaryFile(/tmp/multipartBody1340459174978415448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290204436,"filename":"image_18032025_03_23_33_4158.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/13a41098611e0ea478226a887ece6f61.jpg","text":"TemporaryFile(/tmp/multipartBody4417531353518100204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290204436,"filename":"image_18032025_03_23_25_4136.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b4d67c53d077a40b9f243ed328597a50.jpg","text":"TemporaryFile(/tmp/multipartBody1531553964443837495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290204436,"filename":"image_18032025_03_23_29_4170.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bea65b4c1b36fd0b9e394f8216185384.jpg","text":"TemporaryFile(/tmp/multipartBody8366505958503589550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290204436,"filename":"image_18032025_03_23_45_4145.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c931de01f62d8721691ff3965d579caa.jpg","text":"TemporaryFile(/tmp/multipartBody8719449926282267059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290204436,"filename":"image_18032025_03_23_38_4124.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ebae51c395a756d530700b7d468c548f.jpg","text":"TemporaryFile(/tmp/multipartBody5028417732437507241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290204436,"filename":"image_18032025_03_23_41_3172.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345075149","file1":"1345075148","file0":"1345075146","file4":"1345075152","file5":"1345075155","file3":"1345075150"},"map_files_photo_id_array":[{"photo_id":"1345075155","filename":"file5"},{"photo_id":"1345075149","filename":"file2"},{"photo_id":"1345075152","filename":"file4"},{"photo_id":"1345075148","filename":"file1"},{"photo_id":"1345075146","filename":"file0"},{"photo_id":"1345075150","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345075150":["hashtag1","hashtag2"]},{"1345075155":["hashtag1","hashtag2"]},{"1345075152":["hashtag1","hashtag2"]},{"1345075146":["hashtag1","hashtag2"]},{"1345075149":["hashtag1","hashtag2"]},{"1345075148":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345075150, 1345075155, 1345075152, 1345075146, 1345075149, 1345075148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.422564029693604 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:30:02.680758
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_21_4126.jpg', 2), ('/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_17_4169.jpg', 2), ('/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_13_3863.jpg', 2), ('/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_09_3164.jpg', 2), ('/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_06_4683.jpg', 2), ('/home/nano/Desktop/images/18032025/03/22/image_18032025_03_23_01_4148.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_21_4126.jpg', '/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_17_4169.jpg', '/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_13_3863.jpg', '/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_09_3164.jpg', '/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_06_4683.jpg', '/home/nano/Desktop/images/18032025/03/22/image_18032025_03_23_01_4148.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_21_4126.jpg
/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_17_4169.jpg
/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_13_3863.jpg
/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_09_3164.jpg
/home/nano/Desktop/images/18032025/03/23/image_18032025_03_23_06_4683.jpg
/home/nano/Desktop/images/18032025/03/22/image_18032025_03_23_01_4148.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345075231","1345075228","1345075236","1345075230","1345075233","1345075226"],"photo_ids_order":["1345075226","1345075228","1345075230","1345075231","1345075233","1345075236"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9f1fb79657c914f2c990a3881dd3f1ad.jpg","text":"TemporaryFile(/tmp/multipartBody1082382116030092113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290263205,"filename":"image_18032025_03_23_09_3164.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5a6f96720e5f692fe79efccdeb93fcf6.jpg","text":"TemporaryFile(/tmp/multipartBody5170388610780058609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290263205,"filename":"image_18032025_03_23_17_4169.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/27dcceaff3f8c5dfc48eadc6b9f88398.jpg","text":"TemporaryFile(/tmp/multipartBody8039690859265505264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290263205,"filename":"image_18032025_03_23_01_4148.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/aca48b57e687b1ac26ba3baa7bb78758.jpg","text":"TemporaryFile(/tmp/multipartBody457727794993615691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290263205,"filename":"image_18032025_03_23_13_3863.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/25029f1d2fc2e555c51866c9a37bd447.jpg","text":"TemporaryFile(/tmp/multipartBody3330607466560730059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290263205,"filename":"image_18032025_03_23_06_4683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/82524e91ad13901d8e85a557cdc5a613.jpg","text":"TemporaryFile(/tmp/multipartBody4487035153946181330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290263205,"filename":"image_18032025_03_23_21_4126.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345075230","file1":"1345075228","file0":"1345075226","file4":"1345075233","file5":"1345075236","file3":"1345075231"},"map_files_photo_id_array":[{"photo_id":"1345075236","filename":"file5"},{"photo_id":"1345075230","filename":"file2"},{"photo_id":"1345075233","filename":"file4"},{"photo_id":"1345075228","filename":"file1"},{"photo_id":"1345075226","filename":"file0"},{"photo_id":"1345075231","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345075231":["hashtag1","hashtag2"]},{"1345075228":["hashtag1","hashtag2"]},{"1345075236":["hashtag1","hashtag2"]},{"1345075230":["hashtag1","hashtag2"]},{"1345075233":["hashtag1","hashtag2"]},{"1345075226":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345075231, 1345075228, 1345075236, 1345075230, 1345075233, 1345075226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.37223482131958 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:31:02.792397
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_57_3179.jpg', 2), ('/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_54_4244.jpg', 2), ('/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_49_4254.jpg', 2), ('/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_45_4266.jpg', 2), ('/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_41_3340.jpg', 2), ('/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_38_4437.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_57_3179.jpg', '/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_54_4244.jpg', '/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_49_4254.jpg', '/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_45_4266.jpg', '/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_41_3340.jpg', '/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_38_4437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_57_3179.jpg
/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_54_4244.jpg
/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_49_4254.jpg
/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_45_4266.jpg
/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_41_3340.jpg
/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_38_4437.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345075582","1345075470","1345075443","1345075496","1345075553","1345075526"],"photo_ids_order":["1345075443","1345075470","1345075496","1345075526","1345075553","1345075582"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ef40f239f148c10ff94617134033cd5f.jpg","text":"TemporaryFile(/tmp/multipartBody4751650777801853928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290323305,"filename":"image_18032025_03_22_38_4437.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cf7f6a5a309007d09d2e42807023f6b7.jpg","text":"TemporaryFile(/tmp/multipartBody2304797998901423886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290323305,"filename":"image_18032025_03_22_54_4244.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1cba51c877041143ec84510968d0bb92.jpg","text":"TemporaryFile(/tmp/multipartBody2934017909152723614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290323305,"filename":"image_18032025_03_22_57_3179.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/430aadbbecf399b5ba8c93c667f9a1cb.jpg","text":"TemporaryFile(/tmp/multipartBody8034883667448685267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290323305,"filename":"image_18032025_03_22_49_4254.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dea76053e446228929088114f31464e8.jpg","text":"TemporaryFile(/tmp/multipartBody2422889719194282099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290323305,"filename":"image_18032025_03_22_41_3340.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bcc03f04927e6f97622f8788d529e4d1.jpg","text":"TemporaryFile(/tmp/multipartBody7400659663618491057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290323305,"filename":"image_18032025_03_22_45_4266.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345075496","file1":"1345075470","file0":"1345075443","file4":"1345075553","file5":"1345075582","file3":"1345075526"},"map_files_photo_id_array":[{"photo_id":"1345075582","filename":"file5"},{"photo_id":"1345075496","filename":"file2"},{"photo_id":"1345075553","filename":"file4"},{"photo_id":"1345075470","filename":"file1"},{"photo_id":"1345075443","filename":"file0"},{"photo_id":"1345075526","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345075582":["hashtag1","hashtag2"]},{"1345075470":["hashtag1","hashtag2"]},{"1345075443":["hashtag1","hashtag2"]},{"1345075496":["hashtag1","hashtag2"]},{"1345075553":["hashtag1","hashtag2"]},{"1345075526":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345075582, 1345075470, 1345075443, 1345075496, 1345075553, 1345075526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.96163058280945 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:32:03.082759
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_33_3453.jpg', 2), ('/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_30_4869.jpg', 2), ('/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_25_3221.jpg', 2), ('/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_22_4269.jpg', 2), ('/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_17_4248.jpg', 2), ('/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_13_4045.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_33_3453.jpg', '/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_30_4869.jpg', '/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_25_3221.jpg', '/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_22_4269.jpg', '/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_17_4248.jpg', '/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_13_4045.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_33_3453.jpg
/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_30_4869.jpg
/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_25_3221.jpg
/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_22_4269.jpg
/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_17_4248.jpg
/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_13_4045.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345075891","1345075969","1345075918","1345075944","1345075997","1345075865"],"photo_ids_order":["1345075865","1345075891","1345075918","1345075944","1345075969","1345075997"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/81a5ff0ea6e8fe1245aad33dc28bf25f.jpg","text":"TemporaryFile(/tmp/multipartBody9142700097385833703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290383566,"filename":"image_18032025_03_22_30_4869.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/34576b36af879ef8ec4232655af402d6.jpg","text":"TemporaryFile(/tmp/multipartBody8811968352216119701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290383566,"filename":"image_18032025_03_22_17_4248.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b77664bcd83234a3846915efab0b62dc.jpg","text":"TemporaryFile(/tmp/multipartBody8272127881593009331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290383566,"filename":"image_18032025_03_22_25_3221.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c290ee72f6b2b69707250544b668efa7.jpg","text":"TemporaryFile(/tmp/multipartBody8878931267944252605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290383566,"filename":"image_18032025_03_22_22_4269.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/710a8b1191ef1aa27a589b28960fe72d.jpg","text":"TemporaryFile(/tmp/multipartBody5236949841621633058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290383566,"filename":"image_18032025_03_22_13_4045.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/54a490902a8ddf70de522086cade3cc6.jpg","text":"TemporaryFile(/tmp/multipartBody5954178650436030713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290383566,"filename":"image_18032025_03_22_33_3453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345075918","file1":"1345075891","file0":"1345075865","file4":"1345075969","file5":"1345075997","file3":"1345075944"},"map_files_photo_id_array":[{"photo_id":"1345075997","filename":"file5"},{"photo_id":"1345075918","filename":"file2"},{"photo_id":"1345075969","filename":"file4"},{"photo_id":"1345075891","filename":"file1"},{"photo_id":"1345075865","filename":"file0"},{"photo_id":"1345075944","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345075891":["hashtag1","hashtag2"]},{"1345075969":["hashtag1","hashtag2"]},{"1345075918":["hashtag1","hashtag2"]},{"1345075944":["hashtag1","hashtag2"]},{"1345075997":["hashtag1","hashtag2"]},{"1345075865":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345075891, 1345075969, 1345075918, 1345075944, 1345075997, 1345075865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.732097864151 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:33:03.320051
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_09_4177.jpg', 2), ('/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_05_3392.jpg', 2), ('/home/nano/Desktop/images/18032025/03/21/image_18032025_03_22_02_4015.jpg', 2), ('/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_57_3976.jpg', 2), ('/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_53_3977.jpg', 2), ('/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_49_4121.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_09_4177.jpg', '/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_05_3392.jpg', '/home/nano/Desktop/images/18032025/03/21/image_18032025_03_22_02_4015.jpg', '/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_57_3976.jpg', '/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_53_3977.jpg', '/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_49_4121.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_09_4177.jpg
/home/nano/Desktop/images/18032025/03/22/image_18032025_03_22_05_3392.jpg
/home/nano/Desktop/images/18032025/03/21/image_18032025_03_22_02_4015.jpg
/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_57_3976.jpg
/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_53_3977.jpg
/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_49_4121.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345076365","1345076294","1345076366","1345076321","1345076368","1345076353"],"photo_ids_order":["1345076294","1345076321","1345076353","1345076365","1345076366","1345076368"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4d716bc648f5b854c6bce71c31668102.jpg","text":"TemporaryFile(/tmp/multipartBody1207791984964128233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290443844,"filename":"image_18032025_03_21_57_3976.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f479d04239318fd3b1054a4c94aafe66.jpg","text":"TemporaryFile(/tmp/multipartBody4095147916142899100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290443844,"filename":"image_18032025_03_22_09_4177.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4c9bf3e10ef873e03a8d68588efa04d0.jpg","text":"TemporaryFile(/tmp/multipartBody8127935850468134345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290443844,"filename":"image_18032025_03_21_53_3977.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0b829e73d540311c51a251b523ddbd52.jpg","text":"TemporaryFile(/tmp/multipartBody8997593206978647129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290443844,"filename":"image_18032025_03_22_05_3392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/afd76bf791f1872d257f1c5f1ed1a8ca.jpg","text":"TemporaryFile(/tmp/multipartBody7350872413571904952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290443844,"filename":"image_18032025_03_21_49_4121.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/27b810c1cd165923bfa5e6827712a64e.jpg","text":"TemporaryFile(/tmp/multipartBody7931461217032331616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290443844,"filename":"image_18032025_03_22_02_4015.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345076353","file1":"1345076321","file0":"1345076294","file4":"1345076366","file5":"1345076368","file3":"1345076365"},"map_files_photo_id_array":[{"photo_id":"1345076368","filename":"file5"},{"photo_id":"1345076353","filename":"file2"},{"photo_id":"1345076366","filename":"file4"},{"photo_id":"1345076321","filename":"file1"},{"photo_id":"1345076294","filename":"file0"},{"photo_id":"1345076365","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345076365":["hashtag1","hashtag2"]},{"1345076294":["hashtag1","hashtag2"]},{"1345076366":["hashtag1","hashtag2"]},{"1345076321":["hashtag1","hashtag2"]},{"1345076368":["hashtag1","hashtag2"]},{"1345076353":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345076365, 1345076294, 1345076366, 1345076321, 1345076368, 1345076353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.14144778251648 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:34:03.594571
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_45_3954.jpg', 2), ('/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_41_4119.jpg', 2), ('/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_37_4054.jpg', 2), ('/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_33_4015.jpg', 2), ('/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_29_4248.jpg', 2), ('/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_25_4224.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_45_3954.jpg', '/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_41_4119.jpg', '/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_37_4054.jpg', '/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_33_4015.jpg', '/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_29_4248.jpg', '/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_25_4224.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_45_3954.jpg
/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_41_4119.jpg
/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_37_4054.jpg
/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_33_4015.jpg
/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_29_4248.jpg
/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_25_4224.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345076422","1345076430","1345076441","1345076488","1345076452","1345076449"],"photo_ids_order":["1345076422","1345076430","1345076441","1345076449","1345076452","1345076488"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/340861378c6535383137135ce2019005.jpg","text":"TemporaryFile(/tmp/multipartBody2138704444803866603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290504157,"filename":"image_18032025_03_21_45_3954.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c4f716aa733b3582a75fc3fc0d688ac2.jpg","text":"TemporaryFile(/tmp/multipartBody6979154132628904400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290504157,"filename":"image_18032025_03_21_41_4119.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ee879d9761ee851572933cf6d3e92562.jpg","text":"TemporaryFile(/tmp/multipartBody5171103650023837732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290504157,"filename":"image_18032025_03_21_37_4054.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c8e8613cb6bb202263a60a46d1b4f7f2.jpg","text":"TemporaryFile(/tmp/multipartBody1864842123299969045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290504157,"filename":"image_18032025_03_21_25_4224.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/37138727688e3e0dd6de90c8f343fb55.jpg","text":"TemporaryFile(/tmp/multipartBody6261340594032995228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290504157,"filename":"image_18032025_03_21_29_4248.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/62c5620d90d1962a60f061bf1bbe0649.jpg","text":"TemporaryFile(/tmp/multipartBody4212793785560032243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290504157,"filename":"image_18032025_03_21_33_4015.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345076441","file1":"1345076430","file0":"1345076422","file4":"1345076452","file5":"1345076488","file3":"1345076449"},"map_files_photo_id_array":[{"photo_id":"1345076488","filename":"file5"},{"photo_id":"1345076441","filename":"file2"},{"photo_id":"1345076452","filename":"file4"},{"photo_id":"1345076430","filename":"file1"},{"photo_id":"1345076422","filename":"file0"},{"photo_id":"1345076449","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345076422":["hashtag1","hashtag2"]},{"1345076430":["hashtag1","hashtag2"]},{"1345076441":["hashtag1","hashtag2"]},{"1345076488":["hashtag1","hashtag2"]},{"1345076452":["hashtag1","hashtag2"]},{"1345076449":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345076422, 1345076430, 1345076441, 1345076488, 1345076452, 1345076449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.459691524505615 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:35:03.598074
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_21_3138.jpg', 2), ('/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_18_4190.jpg', 2), ('/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_13_4085.jpg', 2), ('/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_09_4034.jpg', 2), ('/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_05_4330.jpg', 2), ('/home/nano/Desktop/images/18032025/03/20/image_18032025_03_21_01_4213.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_21_3138.jpg', '/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_18_4190.jpg', '/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_13_4085.jpg', '/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_09_4034.jpg', '/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_05_4330.jpg', '/home/nano/Desktop/images/18032025/03/20/image_18032025_03_21_01_4213.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_21_3138.jpg
/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_18_4190.jpg
/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_13_4085.jpg
/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_09_4034.jpg
/home/nano/Desktop/images/18032025/03/21/image_18032025_03_21_05_4330.jpg
/home/nano/Desktop/images/18032025/03/20/image_18032025_03_21_01_4213.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345076638","1345076586","1345076634","1345076600","1345076584","1345076626"],"photo_ids_order":["1345076584","1345076586","1345076600","1345076626","1345076634","1345076638"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f47356d393b1768c5e156c15558ba81a.jpg","text":"TemporaryFile(/tmp/multipartBody1731766228490780136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290564149,"filename":"image_18032025_03_21_01_4213.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6b1baa7d7f6e27a59b1a795f8f9b4e32.jpg","text":"TemporaryFile(/tmp/multipartBody3400233671311347967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290564149,"filename":"image_18032025_03_21_18_4190.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8526d6919ca6c34b3de31957f08d2455.jpg","text":"TemporaryFile(/tmp/multipartBody2563532493519464257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290564149,"filename":"image_18032025_03_21_05_4330.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/78d25bea55a09f81bcbb48410c3f0a42.jpg","text":"TemporaryFile(/tmp/multipartBody6596388867527798217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290564149,"filename":"image_18032025_03_21_13_4085.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a2ad5438a6aaf2ce18aab690f65d1982.jpg","text":"TemporaryFile(/tmp/multipartBody9123262457983676815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290564149,"filename":"image_18032025_03_21_21_3138.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/999c72cfd4a74df7237b226818d9cbc7.jpg","text":"TemporaryFile(/tmp/multipartBody1748964179020629348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290564149,"filename":"image_18032025_03_21_09_4034.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345076600","file1":"1345076586","file0":"1345076584","file4":"1345076634","file5":"1345076638","file3":"1345076626"},"map_files_photo_id_array":[{"photo_id":"1345076638","filename":"file5"},{"photo_id":"1345076600","filename":"file2"},{"photo_id":"1345076634","filename":"file4"},{"photo_id":"1345076586","filename":"file1"},{"photo_id":"1345076584","filename":"file0"},{"photo_id":"1345076626","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345076638":["hashtag1","hashtag2"]},{"1345076586":["hashtag1","hashtag2"]},{"1345076634":["hashtag1","hashtag2"]},{"1345076600":["hashtag1","hashtag2"]},{"1345076584":["hashtag1","hashtag2"]},{"1345076626":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345076638, 1345076586, 1345076634, 1345076600, 1345076584, 1345076626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.74773621559143 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:36:02.694914
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_57_3124.jpg', 2), ('/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_54_4085.jpg', 2), ('/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_50_4140.jpg', 2), ('/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_45_4028.jpg', 2), ('/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_41_4200.jpg', 2), ('/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_37_4221.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_57_3124.jpg', '/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_54_4085.jpg', '/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_50_4140.jpg', '/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_45_4028.jpg', '/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_41_4200.jpg', '/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_37_4221.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_57_3124.jpg
/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_54_4085.jpg
/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_50_4140.jpg
/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_45_4028.jpg
/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_41_4200.jpg
/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_37_4221.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345076808","1345076786","1345076813","1345076801","1345076788","1345076791"],"photo_ids_order":["1345076786","1345076788","1345076791","1345076801","1345076808","1345076813"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/188821f0dc784e8721148c68dc33904f.jpg","text":"TemporaryFile(/tmp/multipartBody1160871896695956589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290623193,"filename":"image_18032025_03_20_41_4200.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2a0ac229f99c3092a47f83ec8720c5f4.jpg","text":"TemporaryFile(/tmp/multipartBody3520576293402736214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290623193,"filename":"image_18032025_03_20_57_3124.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/92ea3dc2550d07ff78936317d2f82bc1.jpg","text":"TemporaryFile(/tmp/multipartBody6652327189543336954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290623193,"filename":"image_18032025_03_20_37_4221.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0b4cb0da64ca1d7460f7fc87b5281d38.jpg","text":"TemporaryFile(/tmp/multipartBody5095517049557701608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290623193,"filename":"image_18032025_03_20_45_4028.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2c96dd712bbd97ebdf351e898c9ffdbb.jpg","text":"TemporaryFile(/tmp/multipartBody1050104580245405428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290623193,"filename":"image_18032025_03_20_54_4085.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b6330f6ecbceca1ba976089a01f8a746.jpg","text":"TemporaryFile(/tmp/multipartBody6990506727042856633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290623193,"filename":"image_18032025_03_20_50_4140.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345076791","file1":"1345076788","file0":"1345076786","file4":"1345076808","file5":"1345076813","file3":"1345076801"},"map_files_photo_id_array":[{"photo_id":"1345076813","filename":"file5"},{"photo_id":"1345076791","filename":"file2"},{"photo_id":"1345076808","filename":"file4"},{"photo_id":"1345076788","filename":"file1"},{"photo_id":"1345076786","filename":"file0"},{"photo_id":"1345076801","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345076808":["hashtag1","hashtag2"]},{"1345076786":["hashtag1","hashtag2"]},{"1345076813":["hashtag1","hashtag2"]},{"1345076801":["hashtag1","hashtag2"]},{"1345076788":["hashtag1","hashtag2"]},{"1345076791":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345076808, 1345076786, 1345076813, 1345076801, 1345076788, 1345076791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.348798274993896 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:37:02.932245
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_33_3304.jpg', 2), ('/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_30_4251.jpg', 2), ('/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_25_4231.jpg', 2), ('/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_21_4159.jpg', 2), ('/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_17_4147.jpg', 2), ('/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_13_3192.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_33_3304.jpg', '/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_30_4251.jpg', '/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_25_4231.jpg', '/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_21_4159.jpg', '/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_17_4147.jpg', '/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_13_3192.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_33_3304.jpg
/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_30_4251.jpg
/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_25_4231.jpg
/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_21_4159.jpg
/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_17_4147.jpg
/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_13_3192.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345076883","1345076871","1345076880","1345076874","1345076877","1345076867"],"photo_ids_order":["1345076867","1345076871","1345076874","1345076877","1345076880","1345076883"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0493fd59ed405771613a406c09a322ff.jpg","text":"TemporaryFile(/tmp/multipartBody472112647812479693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290683447,"filename":"image_18032025_03_20_13_3192.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/76d9a911a85a8db9fc492e034e1f805c.jpg","text":"TemporaryFile(/tmp/multipartBody7160060256867580153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290683447,"filename":"image_18032025_03_20_30_4251.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b7a46acea26bb73e3eb1442ee1545fbe.jpg","text":"TemporaryFile(/tmp/multipartBody8619735931140829492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290683447,"filename":"image_18032025_03_20_17_4147.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a8cb028fcf4c3a8b7efc170ebc58508d.jpg","text":"TemporaryFile(/tmp/multipartBody436793418735460670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290683447,"filename":"image_18032025_03_20_25_4231.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b08c15adaec9ca78d07923120e89e41e.jpg","text":"TemporaryFile(/tmp/multipartBody3813526775878262929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290683447,"filename":"image_18032025_03_20_21_4159.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0c85c851887b69b63dda366845ba9ba1.jpg","text":"TemporaryFile(/tmp/multipartBody8861898299472774623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290683447,"filename":"image_18032025_03_20_33_3304.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345076874","file1":"1345076871","file0":"1345076867","file4":"1345076880","file5":"1345076883","file3":"1345076877"},"map_files_photo_id_array":[{"photo_id":"1345076883","filename":"file5"},{"photo_id":"1345076874","filename":"file2"},{"photo_id":"1345076880","filename":"file4"},{"photo_id":"1345076871","filename":"file1"},{"photo_id":"1345076867","filename":"file0"},{"photo_id":"1345076877","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345076883":["hashtag1","hashtag2"]},{"1345076871":["hashtag1","hashtag2"]},{"1345076880":["hashtag1","hashtag2"]},{"1345076874":["hashtag1","hashtag2"]},{"1345076877":["hashtag1","hashtag2"]},{"1345076867":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345076883, 1345076871, 1345076880, 1345076874, 1345076877, 1345076867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.332267999649048 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:38:03.095205
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_10_4122.jpg', 2), ('/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_06_4128.jpg', 2), ('/home/nano/Desktop/images/18032025/03/19/image_18032025_03_20_02_4222.jpg', 2), ('/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_57_4158.jpg', 2), ('/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_53_4131.jpg', 2), ('/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_49_3964.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_10_4122.jpg', '/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_06_4128.jpg', '/home/nano/Desktop/images/18032025/03/19/image_18032025_03_20_02_4222.jpg', '/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_57_4158.jpg', '/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_53_4131.jpg', '/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_49_3964.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_10_4122.jpg
/home/nano/Desktop/images/18032025/03/20/image_18032025_03_20_06_4128.jpg
/home/nano/Desktop/images/18032025/03/19/image_18032025_03_20_02_4222.jpg
/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_57_4158.jpg
/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_53_4131.jpg
/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_49_3964.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345077093","1345077045","1345077015","1345077095","1345077091","1345077073"],"photo_ids_order":["1345077015","1345077045","1345077073","1345077091","1345077093","1345077095"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1672aa27d99f5b3df1155258b7a46d8a.jpg","text":"TemporaryFile(/tmp/multipartBody758645913870822521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290743648,"filename":"image_18032025_03_19_53_4131.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/508d8fe41df2f68166ed5c4b0de2fd22.jpg","text":"TemporaryFile(/tmp/multipartBody3964789556292401290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290743648,"filename":"image_18032025_03_20_06_4128.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7ba8ba75985d8625e129b4aa53d44be1.jpg","text":"TemporaryFile(/tmp/multipartBody6179834693190246266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290743648,"filename":"image_18032025_03_20_10_4122.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/85638296d152564be94a49fc2046fc22.jpg","text":"TemporaryFile(/tmp/multipartBody2245344890153497450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290743648,"filename":"image_18032025_03_19_49_3964.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/275cdf06e83e25ff1602f6fc0d185b0e.jpg","text":"TemporaryFile(/tmp/multipartBody2584980172648097297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290743648,"filename":"image_18032025_03_19_57_4158.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fbf5139fc6b2d1b6b23c2ced95f2053f.jpg","text":"TemporaryFile(/tmp/multipartBody3357082500468219190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290743648,"filename":"image_18032025_03_20_02_4222.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345077073","file1":"1345077045","file0":"1345077015","file4":"1345077093","file5":"1345077095","file3":"1345077091"},"map_files_photo_id_array":[{"photo_id":"1345077095","filename":"file5"},{"photo_id":"1345077073","filename":"file2"},{"photo_id":"1345077093","filename":"file4"},{"photo_id":"1345077045","filename":"file1"},{"photo_id":"1345077015","filename":"file0"},{"photo_id":"1345077091","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345077093":["hashtag1","hashtag2"]},{"1345077045":["hashtag1","hashtag2"]},{"1345077015":["hashtag1","hashtag2"]},{"1345077095":["hashtag1","hashtag2"]},{"1345077091":["hashtag1","hashtag2"]},{"1345077073":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345077093, 1345077045, 1345077015, 1345077095, 1345077091, 1345077073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.217093229293823 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:39:03.713216
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_45_3251.jpg', 2), ('/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_42_4216.jpg', 2), ('/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_37_4181.jpg', 2), ('/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_33_4322.jpg', 2), ('/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_29_4059.jpg', 2), ('/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_25_4178.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_45_3251.jpg', '/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_42_4216.jpg', '/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_37_4181.jpg', '/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_33_4322.jpg', '/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_29_4059.jpg', '/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_25_4178.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_45_3251.jpg
/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_42_4216.jpg
/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_37_4181.jpg
/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_33_4322.jpg
/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_29_4059.jpg
/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_25_4178.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345077120","1345077137","1345077131","1345077128","1345077124","1345077118"],"photo_ids_order":["1345077118","1345077120","1345077124","1345077128","1345077131","1345077137"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f9e3acd147e17c58e72c6ccc2f72abeb.jpg","text":"TemporaryFile(/tmp/multipartBody8534504174190655407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290804244,"filename":"image_18032025_03_19_42_4216.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/59a2fd8ab64f8bc95c390a641bea2879.jpg","text":"TemporaryFile(/tmp/multipartBody7612883353675403114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290804244,"filename":"image_18032025_03_19_25_4178.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/edff5ebac321563cf1d9818556afeb13.jpg","text":"TemporaryFile(/tmp/multipartBody3262271578646865136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290804244,"filename":"image_18032025_03_19_29_4059.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/84b7e1ebc5f2490b5092ad91dfadbf88.jpg","text":"TemporaryFile(/tmp/multipartBody4300065712943288034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290804244,"filename":"image_18032025_03_19_33_4322.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4aa48b64a1130ee503827fbbc91d330d.jpg","text":"TemporaryFile(/tmp/multipartBody389885885970325551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290804244,"filename":"image_18032025_03_19_37_4181.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5cb401e0f1fd5f296c0f21f14db9ecb8.jpg","text":"TemporaryFile(/tmp/multipartBody8334747854800890498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290804244,"filename":"image_18032025_03_19_45_3251.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345077124","file1":"1345077120","file0":"1345077118","file4":"1345077131","file5":"1345077137","file3":"1345077128"},"map_files_photo_id_array":[{"photo_id":"1345077137","filename":"file5"},{"photo_id":"1345077124","filename":"file2"},{"photo_id":"1345077131","filename":"file4"},{"photo_id":"1345077120","filename":"file1"},{"photo_id":"1345077118","filename":"file0"},{"photo_id":"1345077128","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345077120":["hashtag1","hashtag2"]},{"1345077137":["hashtag1","hashtag2"]},{"1345077131":["hashtag1","hashtag2"]},{"1345077128":["hashtag1","hashtag2"]},{"1345077124":["hashtag1","hashtag2"]},{"1345077118":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345077120, 1345077137, 1345077131, 1345077128, 1345077124, 1345077118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.138293981552124 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:40:03.602465
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_21_3213.jpg', 2), ('/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_18_4207.jpg', 2), ('/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_13_4199.jpg', 2), ('/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_09_4255.jpg', 2), ('/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_05_3769.jpg', 2), ('/home/nano/Desktop/images/18032025/03/18/image_18032025_03_19_01_4307.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_21_3213.jpg', '/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_18_4207.jpg', '/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_13_4199.jpg', '/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_09_4255.jpg', '/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_05_3769.jpg', '/home/nano/Desktop/images/18032025/03/18/image_18032025_03_19_01_4307.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_21_3213.jpg
/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_18_4207.jpg
/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_13_4199.jpg
/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_09_4255.jpg
/home/nano/Desktop/images/18032025/03/19/image_18032025_03_19_05_3769.jpg
/home/nano/Desktop/images/18032025/03/18/image_18032025_03_19_01_4307.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345077243","1345077246","1345077251","1345077241","1345077235","1345077238"],"photo_ids_order":["1345077235","1345077238","1345077241","1345077243","1345077246","1345077251"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8b6fff7ce88e54a7ad49494b5e9d470b.jpg","text":"TemporaryFile(/tmp/multipartBody5482426187521083715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290864134,"filename":"image_18032025_03_19_09_4255.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a572b3f00d37b63bbcbeec123c6acc0a.jpg","text":"TemporaryFile(/tmp/multipartBody3902563812784197360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290864134,"filename":"image_18032025_03_19_05_3769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7024385b80e912f6e2ff020eefaa6855.jpg","text":"TemporaryFile(/tmp/multipartBody6763602712795351478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290864134,"filename":"image_18032025_03_19_01_4307.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/12670d29e0c768798df091796b2256ad.jpg","text":"TemporaryFile(/tmp/multipartBody8923476671231660061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290864134,"filename":"image_18032025_03_19_13_4199.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bfb3c9b32fa43a36cdfa663b271a3902.jpg","text":"TemporaryFile(/tmp/multipartBody826348810359855521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290864134,"filename":"image_18032025_03_19_21_3213.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bbbdf6e5be23805309f741e73fcf11b8.jpg","text":"TemporaryFile(/tmp/multipartBody937999489808478724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290864134,"filename":"image_18032025_03_19_18_4207.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345077241","file1":"1345077238","file0":"1345077235","file4":"1345077246","file5":"1345077251","file3":"1345077243"},"map_files_photo_id_array":[{"photo_id":"1345077251","filename":"file5"},{"photo_id":"1345077241","filename":"file2"},{"photo_id":"1345077246","filename":"file4"},{"photo_id":"1345077238","filename":"file1"},{"photo_id":"1345077235","filename":"file0"},{"photo_id":"1345077243","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345077243":["hashtag1","hashtag2"]},{"1345077246":["hashtag1","hashtag2"]},{"1345077251":["hashtag1","hashtag2"]},{"1345077241":["hashtag1","hashtag2"]},{"1345077235":["hashtag1","hashtag2"]},{"1345077238":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345077243, 1345077246, 1345077251, 1345077241, 1345077235, 1345077238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.05427670478821 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:41:02.690148
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_57_3311.jpg', 2), ('/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_53_4382.jpg', 2), ('/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_49_4247.jpg', 2), ('/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_45_3233.jpg', 2), ('/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_42_4197.jpg', 2), ('/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_37_3972.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_57_3311.jpg', '/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_53_4382.jpg', '/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_49_4247.jpg', '/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_45_3233.jpg', '/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_42_4197.jpg', '/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_37_3972.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_57_3311.jpg
/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_53_4382.jpg
/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_49_4247.jpg
/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_45_3233.jpg
/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_42_4197.jpg
/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_37_3972.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345077315","1345077309","1345077284","1345077302","1345077286","1345077280"],"photo_ids_order":["1345077280","1345077284","1345077286","1345077302","1345077309","1345077315"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3c504ab8cb5ec0c32201a0667f88ebcd.jpg","text":"TemporaryFile(/tmp/multipartBody5908012253411134633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290923214,"filename":"image_18032025_03_18_37_3972.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e032857cfd797a98362c52b2db744bcd.jpg","text":"TemporaryFile(/tmp/multipartBody1802777631260593560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290923214,"filename":"image_18032025_03_18_42_4197.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c1e2751113ffc0ade2512c9e889ad5ac.jpg","text":"TemporaryFile(/tmp/multipartBody1169420000995156294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290923214,"filename":"image_18032025_03_18_53_4382.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/aa58857474da56e60fb3b0d8e57860f9.jpg","text":"TemporaryFile(/tmp/multipartBody6141988306007060289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290923214,"filename":"image_18032025_03_18_45_3233.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f97d42d65d82f2b3ef5ef4781312b989.jpg","text":"TemporaryFile(/tmp/multipartBody6871101020090743932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290923214,"filename":"image_18032025_03_18_49_4247.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3a13b6bfb8e83d8874613b912d51571c.jpg","text":"TemporaryFile(/tmp/multipartBody3983093237640932198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290923214,"filename":"image_18032025_03_18_57_3311.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345077286","file1":"1345077284","file0":"1345077280","file4":"1345077309","file5":"1345077315","file3":"1345077302"},"map_files_photo_id_array":[{"photo_id":"1345077315","filename":"file5"},{"photo_id":"1345077286","filename":"file2"},{"photo_id":"1345077309","filename":"file4"},{"photo_id":"1345077284","filename":"file1"},{"photo_id":"1345077280","filename":"file0"},{"photo_id":"1345077302","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345077315":["hashtag1","hashtag2"]},{"1345077309":["hashtag1","hashtag2"]},{"1345077284":["hashtag1","hashtag2"]},{"1345077302":["hashtag1","hashtag2"]},{"1345077286":["hashtag1","hashtag2"]},{"1345077280":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345077315, 1345077309, 1345077284, 1345077302, 1345077286, 1345077280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.42752456665039 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:42:02.796387
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_33_4055.jpg', 2), ('/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_29_4131.jpg', 2), ('/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_25_4016.jpg', 2), ('/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_21_4010.jpg', 2), ('/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_17_4044.jpg', 2), ('/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_13_4028.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_33_4055.jpg', '/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_29_4131.jpg', '/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_25_4016.jpg', '/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_21_4010.jpg', '/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_17_4044.jpg', '/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_13_4028.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_33_4055.jpg
/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_29_4131.jpg
/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_25_4016.jpg
/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_21_4010.jpg
/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_17_4044.jpg
/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_13_4028.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345077339","1345077344","1345077331","1345077334","1345077328","1345077337"],"photo_ids_order":["1345077328","1345077331","1345077334","1345077337","1345077339","1345077344"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/19b63374104f1ee5640acc264f212d85.jpg","text":"TemporaryFile(/tmp/multipartBody2943468039314309531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290983287,"filename":"image_18032025_03_18_17_4044.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/927225a0e287aac19d96d4df35217547.jpg","text":"TemporaryFile(/tmp/multipartBody8855980816479164497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290983287,"filename":"image_18032025_03_18_13_4028.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9166ef67ecc07bda2369d18a86fc4d2e.jpg","text":"TemporaryFile(/tmp/multipartBody6972548582833902499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290983287,"filename":"image_18032025_03_18_29_4131.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6b04128c677f2fce25763b88b7497415.jpg","text":"TemporaryFile(/tmp/multipartBody4500643901409414324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290983287,"filename":"image_18032025_03_18_25_4016.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/da59a2696b6f6532d54477edc4e4fd76.jpg","text":"TemporaryFile(/tmp/multipartBody420666703973412561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290983287,"filename":"image_18032025_03_18_33_4055.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f2d8f7fb3c40ffbe4f09cff78aa5370d.jpg","text":"TemporaryFile(/tmp/multipartBody4814068005930507114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742290983287,"filename":"image_18032025_03_18_21_4010.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345077334","file1":"1345077331","file0":"1345077328","file4":"1345077339","file5":"1345077344","file3":"1345077337"},"map_files_photo_id_array":[{"photo_id":"1345077344","filename":"file5"},{"photo_id":"1345077334","filename":"file2"},{"photo_id":"1345077339","filename":"file4"},{"photo_id":"1345077331","filename":"file1"},{"photo_id":"1345077328","filename":"file0"},{"photo_id":"1345077337","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345077339":["hashtag1","hashtag2"]},{"1345077344":["hashtag1","hashtag2"]},{"1345077331":["hashtag1","hashtag2"]},{"1345077334":["hashtag1","hashtag2"]},{"1345077328":["hashtag1","hashtag2"]},{"1345077337":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345077339, 1345077344, 1345077331, 1345077334, 1345077328, 1345077337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.034998178482056 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:43:02.851248
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_09_4107.jpg', 2), ('/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_05_3550.jpg', 2), ('/home/nano/Desktop/images/18032025/03/17/image_18032025_03_18_02_4173.jpg', 2), ('/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_57_4054.jpg', 2), ('/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_53_4114.jpg', 2), ('/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_49_4092.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_09_4107.jpg', '/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_05_3550.jpg', '/home/nano/Desktop/images/18032025/03/17/image_18032025_03_18_02_4173.jpg', '/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_57_4054.jpg', '/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_53_4114.jpg', '/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_49_4092.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_09_4107.jpg
/home/nano/Desktop/images/18032025/03/18/image_18032025_03_18_05_3550.jpg
/home/nano/Desktop/images/18032025/03/17/image_18032025_03_18_02_4173.jpg
/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_57_4054.jpg
/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_53_4114.jpg
/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_49_4092.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345077369","1345077378","1345077366","1345077380","1345077376","1345077373"],"photo_ids_order":["1345077366","1345077369","1345077373","1345077376","1345077378","1345077380"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/84e05fa6cb45cbe298bff6dd52fedd96.jpg","text":"TemporaryFile(/tmp/multipartBody5881980598436207161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291043357,"filename":"image_18032025_03_18_05_3550.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/29ebb01725987e9e787de9e073f506e2.jpg","text":"TemporaryFile(/tmp/multipartBody2391109635156136744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291043357,"filename":"image_18032025_03_17_53_4114.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d4396f0b55e2ebaad99802b831398e76.jpg","text":"TemporaryFile(/tmp/multipartBody2135111613593016334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291043357,"filename":"image_18032025_03_18_09_4107.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4f879979f93d2c4c604bfd87fb3f11e0.jpg","text":"TemporaryFile(/tmp/multipartBody8022972391590513230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291043357,"filename":"image_18032025_03_17_49_4092.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dddbe828f288ee24da8c74897bb79b8e.jpg","text":"TemporaryFile(/tmp/multipartBody3720000347114479253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291043357,"filename":"image_18032025_03_17_57_4054.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/daab89d963a6e933641d198516dc9876.jpg","text":"TemporaryFile(/tmp/multipartBody5658666783107161567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291043357,"filename":"image_18032025_03_18_02_4173.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345077373","file1":"1345077369","file0":"1345077366","file4":"1345077378","file5":"1345077380","file3":"1345077376"},"map_files_photo_id_array":[{"photo_id":"1345077380","filename":"file5"},{"photo_id":"1345077373","filename":"file2"},{"photo_id":"1345077378","filename":"file4"},{"photo_id":"1345077369","filename":"file1"},{"photo_id":"1345077366","filename":"file0"},{"photo_id":"1345077376","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345077369":["hashtag1","hashtag2"]},{"1345077378":["hashtag1","hashtag2"]},{"1345077366":["hashtag1","hashtag2"]},{"1345077380":["hashtag1","hashtag2"]},{"1345077376":["hashtag1","hashtag2"]},{"1345077373":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345077369, 1345077378, 1345077366, 1345077380, 1345077376, 1345077373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.96671414375305 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:44:03.703032
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_45_4069.jpg', 2), ('/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_41_4135.jpg', 2), ('/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_37_4026.jpg', 2), ('/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_33_3142.jpg', 2), ('/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_30_4152.jpg', 2), ('/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_26_4064.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_45_4069.jpg', '/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_41_4135.jpg', '/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_37_4026.jpg', '/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_33_3142.jpg', '/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_30_4152.jpg', '/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_26_4064.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_45_4069.jpg
/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_41_4135.jpg
/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_37_4026.jpg
/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_33_3142.jpg
/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_30_4152.jpg
/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_26_4064.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345077406","1345077441","1345077402","1345077416","1345077412","1345077409"],"photo_ids_order":["1345077402","1345077406","1345077409","1345077412","1345077416","1345077441"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0cc95253c32297bd6f56172dc0079690.jpg","text":"TemporaryFile(/tmp/multipartBody3395662827680759419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291104257,"filename":"image_18032025_03_17_41_4135.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bf0b3dfc3397889f73b12e6dd3e0c971.jpg","text":"TemporaryFile(/tmp/multipartBody5492515906173397693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291104257,"filename":"image_18032025_03_17_26_4064.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/569a02121ceb0cbbae348721e7f2016d.jpg","text":"TemporaryFile(/tmp/multipartBody301720558120713738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291104257,"filename":"image_18032025_03_17_45_4069.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/389bcf8068ca7beb571b853b2368952e.jpg","text":"TemporaryFile(/tmp/multipartBody2736077422861897879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291104257,"filename":"image_18032025_03_17_30_4152.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1f29a326ec8ca3bd3dfedaff9143ffb2.jpg","text":"TemporaryFile(/tmp/multipartBody6790497172917503051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291104257,"filename":"image_18032025_03_17_33_3142.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b65dce0f7103830aae57936035218d6c.jpg","text":"TemporaryFile(/tmp/multipartBody6729187784603969560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291104257,"filename":"image_18032025_03_17_37_4026.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345077409","file1":"1345077406","file0":"1345077402","file4":"1345077416","file5":"1345077441","file3":"1345077412"},"map_files_photo_id_array":[{"photo_id":"1345077441","filename":"file5"},{"photo_id":"1345077409","filename":"file2"},{"photo_id":"1345077416","filename":"file4"},{"photo_id":"1345077406","filename":"file1"},{"photo_id":"1345077402","filename":"file0"},{"photo_id":"1345077412","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345077406":["hashtag1","hashtag2"]},{"1345077441":["hashtag1","hashtag2"]},{"1345077402":["hashtag1","hashtag2"]},{"1345077416":["hashtag1","hashtag2"]},{"1345077412":["hashtag1","hashtag2"]},{"1345077409":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345077406, 1345077441, 1345077402, 1345077416, 1345077412, 1345077409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.09668684005737 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:45:03.222296
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_21_4098.jpg', 2), ('/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_17_4086.jpg', 2), ('/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_13_4217.jpg', 2), ('/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_09_4195.jpg', 2), ('/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_05_3569.jpg', 2), ('/home/nano/Desktop/images/18032025/03/16/image_18032025_03_17_01_4290.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_21_4098.jpg', '/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_17_4086.jpg', '/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_13_4217.jpg', '/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_09_4195.jpg', '/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_05_3569.jpg', '/home/nano/Desktop/images/18032025/03/16/image_18032025_03_17_01_4290.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_21_4098.jpg
/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_17_4086.jpg
/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_13_4217.jpg
/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_09_4195.jpg
/home/nano/Desktop/images/18032025/03/17/image_18032025_03_17_05_3569.jpg
/home/nano/Desktop/images/18032025/03/16/image_18032025_03_17_01_4290.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345077567","1345077549","1345077552","1345077519","1345077562","1345077523"],"photo_ids_order":["1345077519","1345077523","1345077549","1345077552","1345077562","1345077567"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/64be46996cf65aa48a158a9e931486e2.jpg","text":"TemporaryFile(/tmp/multipartBody5255865782155785783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291163719,"filename":"image_18032025_03_17_01_4290.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4bfa4e199c92771cad5c0c11a6a19cf4.jpg","text":"TemporaryFile(/tmp/multipartBody6917895593931862206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291163719,"filename":"image_18032025_03_17_13_4217.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d1b4b0564e34bc2a13b936508c14e409.jpg","text":"TemporaryFile(/tmp/multipartBody4118351830519614245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291163719,"filename":"image_18032025_03_17_09_4195.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e167a697a2564241d9055f6987824993.jpg","text":"TemporaryFile(/tmp/multipartBody6957587978537586545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291163719,"filename":"image_18032025_03_17_21_4098.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7b6ba270ff702d7261ca51428ff3a06c.jpg","text":"TemporaryFile(/tmp/multipartBody8105864497437648126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291163719,"filename":"image_18032025_03_17_05_3569.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a0d8d9c068ca1c52e2f628ad18fa1b5d.jpg","text":"TemporaryFile(/tmp/multipartBody2640399410273702544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291163719,"filename":"image_18032025_03_17_17_4086.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345077549","file1":"1345077523","file0":"1345077519","file4":"1345077562","file5":"1345077567","file3":"1345077552"},"map_files_photo_id_array":[{"photo_id":"1345077567","filename":"file5"},{"photo_id":"1345077549","filename":"file2"},{"photo_id":"1345077562","filename":"file4"},{"photo_id":"1345077523","filename":"file1"},{"photo_id":"1345077519","filename":"file0"},{"photo_id":"1345077552","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345077567":["hashtag1","hashtag2"]},{"1345077549":["hashtag1","hashtag2"]},{"1345077552":["hashtag1","hashtag2"]},{"1345077519":["hashtag1","hashtag2"]},{"1345077562":["hashtag1","hashtag2"]},{"1345077523":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345077567, 1345077549, 1345077552, 1345077519, 1345077562, 1345077523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.56000828742981 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:46:03.383681
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_57_3311.jpg', 2), ('/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_54_4357.jpg', 2), ('/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_49_4335.jpg', 2), ('/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_45_4219.jpg', 2), ('/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_41_3272.jpg', 2), ('/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_38_4286.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_57_3311.jpg', '/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_54_4357.jpg', '/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_49_4335.jpg', '/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_45_4219.jpg', '/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_41_3272.jpg', '/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_38_4286.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_57_3311.jpg
/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_54_4357.jpg
/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_49_4335.jpg
/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_45_4219.jpg
/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_41_3272.jpg
/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_38_4286.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345077669","1345077662","1345077673","1345077661","1345077658","1345077667"],"photo_ids_order":["1345077658","1345077661","1345077662","1345077667","1345077669","1345077673"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e5d8f25c59d030d21c51d4cc59735be7.jpg","text":"TemporaryFile(/tmp/multipartBody1007854874070585462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291223882,"filename":"image_18032025_03_16_41_3272.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bc91fc13e1d735294b25f4feee6bf209.jpg","text":"TemporaryFile(/tmp/multipartBody646470168704845095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291223882,"filename":"image_18032025_03_16_49_4335.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/42d25f44a6ebd8d329d0b1d10fb46048.jpg","text":"TemporaryFile(/tmp/multipartBody1614898935020833363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291223882,"filename":"image_18032025_03_16_38_4286.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e28eeda601012be713a91e4d063a5b4d.jpg","text":"TemporaryFile(/tmp/multipartBody7734528763288978618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291223882,"filename":"image_18032025_03_16_54_4357.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9a88f1ea610a1c48cc28eb5f3dbd3371.jpg","text":"TemporaryFile(/tmp/multipartBody994501823823006464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291223882,"filename":"image_18032025_03_16_57_3311.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bacf99030e8ced8cf09c9d36cce7c1bf.jpg","text":"TemporaryFile(/tmp/multipartBody2642816403240736820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291223882,"filename":"image_18032025_03_16_45_4219.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345077662","file1":"1345077661","file0":"1345077658","file4":"1345077669","file5":"1345077673","file3":"1345077667"},"map_files_photo_id_array":[{"photo_id":"1345077673","filename":"file5"},{"photo_id":"1345077662","filename":"file2"},{"photo_id":"1345077669","filename":"file4"},{"photo_id":"1345077661","filename":"file1"},{"photo_id":"1345077658","filename":"file0"},{"photo_id":"1345077667","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345077669":["hashtag1","hashtag2"]},{"1345077662":["hashtag1","hashtag2"]},{"1345077673":["hashtag1","hashtag2"]},{"1345077661":["hashtag1","hashtag2"]},{"1345077658":["hashtag1","hashtag2"]},{"1345077667":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345077669, 1345077662, 1345077673, 1345077661, 1345077658, 1345077667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.728859186172485 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:47:02.847457
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_33_4262.jpg', 2), ('/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_29_4231.jpg', 2), ('/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_25_3221.jpg', 2), ('/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_22_4184.jpg', 2), ('/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_17_4132.jpg', 2), ('/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_13_4090.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_33_4262.jpg', '/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_29_4231.jpg', '/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_25_3221.jpg', '/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_22_4184.jpg', '/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_17_4132.jpg', '/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_13_4090.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_33_4262.jpg
/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_29_4231.jpg
/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_25_3221.jpg
/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_22_4184.jpg
/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_17_4132.jpg
/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_13_4090.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345077786","1345077788","1345077790","1345077784","1345077781","1345077777"],"photo_ids_order":["1345077777","1345077781","1345077784","1345077786","1345077788","1345077790"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2f3881b0d0ab6aaa9ba4011c5b0c76fb.jpg","text":"TemporaryFile(/tmp/multipartBody8336619546379176731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291283334,"filename":"image_18032025_03_16_22_4184.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f1c238cc523124a7faec15213b467604.jpg","text":"TemporaryFile(/tmp/multipartBody1763928013335467327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291283334,"filename":"image_18032025_03_16_17_4132.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ce0cc4305b1d4c15de7d44cf5aa0ab5c.jpg","text":"TemporaryFile(/tmp/multipartBody5451081381478948011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291283334,"filename":"image_18032025_03_16_13_4090.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8c2e0cd993bb2d58d5a453ac33ee80a8.jpg","text":"TemporaryFile(/tmp/multipartBody2197245102736435158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291283334,"filename":"image_18032025_03_16_25_3221.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7751625a53b7462b06d973a5b57bcc2e.jpg","text":"TemporaryFile(/tmp/multipartBody506092426410679991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291283334,"filename":"image_18032025_03_16_29_4231.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ba1a8047d38a057190201b5945eb8c10.jpg","text":"TemporaryFile(/tmp/multipartBody4854449563008579123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291283334,"filename":"image_18032025_03_16_33_4262.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345077784","file1":"1345077781","file0":"1345077777","file4":"1345077788","file5":"1345077790","file3":"1345077786"},"map_files_photo_id_array":[{"photo_id":"1345077790","filename":"file5"},{"photo_id":"1345077784","filename":"file2"},{"photo_id":"1345077788","filename":"file4"},{"photo_id":"1345077781","filename":"file1"},{"photo_id":"1345077777","filename":"file0"},{"photo_id":"1345077786","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345077786":["hashtag1","hashtag2"]},{"1345077788":["hashtag1","hashtag2"]},{"1345077790":["hashtag1","hashtag2"]},{"1345077784":["hashtag1","hashtag2"]},{"1345077781":["hashtag1","hashtag2"]},{"1345077777":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345077786, 1345077788, 1345077790, 1345077784, 1345077781, 1345077777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.75032639503479 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:48:02.878672
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_09_4098.jpg', 2), ('/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_05_3430.jpg', 2), ('/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_02_4184.jpg', 2), ('/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_57_3763.jpg', 2), ('/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_54_4124.jpg', 2), ('/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_49_4120.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_09_4098.jpg', '/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_05_3430.jpg', '/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_02_4184.jpg', '/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_57_3763.jpg', '/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_54_4124.jpg', '/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_49_4120.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_09_4098.jpg
/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_05_3430.jpg
/home/nano/Desktop/images/18032025/03/16/image_18032025_03_16_02_4184.jpg
/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_57_3763.jpg
/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_54_4124.jpg
/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_49_4120.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345077822","1345077824","1345077817","1345077826","1345077820","1345077814"],"photo_ids_order":["1345077814","1345077817","1345077820","1345077822","1345077824","1345077826"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/25fa0c6f12fcee7288571ab352beb5e3.jpg","text":"TemporaryFile(/tmp/multipartBody7564270529836788610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291343369,"filename":"image_18032025_03_15_57_3763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4f5d57cf31db42ff895f8b6aab622cd3.jpg","text":"TemporaryFile(/tmp/multipartBody790301011495044060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291343369,"filename":"image_18032025_03_15_54_4124.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/122827553b82e91f82cfdd4141869c39.jpg","text":"TemporaryFile(/tmp/multipartBody4858838007144098922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291343369,"filename":"image_18032025_03_16_05_3430.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a7d0c00f0b114036a552860526f92fb7.jpg","text":"TemporaryFile(/tmp/multipartBody456531825086334297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291343369,"filename":"image_18032025_03_15_49_4120.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5181ab95d50bd9359b1728ca9594cd93.jpg","text":"TemporaryFile(/tmp/multipartBody182096279562340744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291343369,"filename":"image_18032025_03_16_02_4184.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/210dde4e65530d542e95cf0ee8c9a249.jpg","text":"TemporaryFile(/tmp/multipartBody956486360705521918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291343369,"filename":"image_18032025_03_16_09_4098.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345077820","file1":"1345077817","file0":"1345077814","file4":"1345077824","file5":"1345077826","file3":"1345077822"},"map_files_photo_id_array":[{"photo_id":"1345077826","filename":"file5"},{"photo_id":"1345077820","filename":"file2"},{"photo_id":"1345077824","filename":"file4"},{"photo_id":"1345077817","filename":"file1"},{"photo_id":"1345077814","filename":"file0"},{"photo_id":"1345077822","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345077822":["hashtag1","hashtag2"]},{"1345077824":["hashtag1","hashtag2"]},{"1345077817":["hashtag1","hashtag2"]},{"1345077826":["hashtag1","hashtag2"]},{"1345077820":["hashtag1","hashtag2"]},{"1345077814":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345077822, 1345077824, 1345077817, 1345077826, 1345077820, 1345077814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.295536279678345 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:49:03.002674
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_45_4140.jpg', 2), ('/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_41_4095.jpg', 2), ('/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_37_4262.jpg', 2), ('/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_33_3252.jpg', 2), ('/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_30_4214.jpg', 2), ('/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_25_4160.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_45_4140.jpg', '/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_41_4095.jpg', '/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_37_4262.jpg', '/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_33_3252.jpg', '/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_30_4214.jpg', '/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_25_4160.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_45_4140.jpg
/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_41_4095.jpg
/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_37_4262.jpg
/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_33_3252.jpg
/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_30_4214.jpg
/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_25_4160.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345077861","1345077866","1345077854","1345077871","1345077856","1345077876"],"photo_ids_order":["1345077854","1345077856","1345077861","1345077866","1345077871","1345077876"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cbdd19fb61dcdff73a8a7e6f55c28319.jpg","text":"TemporaryFile(/tmp/multipartBody1360018762330308815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291403554,"filename":"image_18032025_03_15_37_4262.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/24fa4cb1460949d16b972e50d6df203a.jpg","text":"TemporaryFile(/tmp/multipartBody1762858728726437030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291403554,"filename":"image_18032025_03_15_33_3252.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f9f66c25cff19737c6c5ffc6ded6e8da.jpg","text":"TemporaryFile(/tmp/multipartBody7224965005947565707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291403554,"filename":"image_18032025_03_15_45_4140.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/30ba813a715c8122fdce49ed1e05d4c1.jpg","text":"TemporaryFile(/tmp/multipartBody1121655409192272264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291403554,"filename":"image_18032025_03_15_30_4214.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/973dcc4d2e36176aeb4ad13dd5e2dadb.jpg","text":"TemporaryFile(/tmp/multipartBody5877882842779201966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291403554,"filename":"image_18032025_03_15_41_4095.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d9c80324f8829b9d716d27dcbffbdfff.jpg","text":"TemporaryFile(/tmp/multipartBody7570972837181305065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291403554,"filename":"image_18032025_03_15_25_4160.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345077861","file1":"1345077856","file0":"1345077854","file4":"1345077871","file5":"1345077876","file3":"1345077866"},"map_files_photo_id_array":[{"photo_id":"1345077876","filename":"file5"},{"photo_id":"1345077861","filename":"file2"},{"photo_id":"1345077871","filename":"file4"},{"photo_id":"1345077856","filename":"file1"},{"photo_id":"1345077854","filename":"file0"},{"photo_id":"1345077866","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345077861":["hashtag1","hashtag2"]},{"1345077866":["hashtag1","hashtag2"]},{"1345077854":["hashtag1","hashtag2"]},{"1345077871":["hashtag1","hashtag2"]},{"1345077856":["hashtag1","hashtag2"]},{"1345077876":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345077861, 1345077866, 1345077854, 1345077871, 1345077856, 1345077876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.63517665863037 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:50:03.095891
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_21_4152.jpg', 2), ('/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_17_4122.jpg', 2), ('/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_13_4141.jpg', 2), ('/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_09_3132.jpg', 2), ('/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_06_4873.jpg', 2), ('/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_01_3167.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_21_4152.jpg', '/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_17_4122.jpg', '/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_13_4141.jpg', '/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_09_3132.jpg', '/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_06_4873.jpg', '/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_01_3167.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_21_4152.jpg
/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_17_4122.jpg
/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_13_4141.jpg
/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_09_3132.jpg
/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_06_4873.jpg
/home/nano/Desktop/images/18032025/03/15/image_18032025_03_15_01_3167.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345078011","1345078128","1345078067","1345077983","1345078098","1345078038"],"photo_ids_order":["1345077983","1345078011","1345078038","1345078067","1345078098","1345078128"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/77bbfea177365fcc4453937dc6a1175f.jpg","text":"TemporaryFile(/tmp/multipartBody242557753638615052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291463601,"filename":"image_18032025_03_15_17_4122.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f38a34202f7c0f9ff5f28ce186e2f9bf.jpg","text":"TemporaryFile(/tmp/multipartBody5602264923473550481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291463601,"filename":"image_18032025_03_15_01_3167.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bde8ac9b53dd5d00b6fda2c04dcbe5bb.jpg","text":"TemporaryFile(/tmp/multipartBody443826651036604845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291463601,"filename":"image_18032025_03_15_09_3132.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/353873f4b06f82b09f9ecf956eb4a400.jpg","text":"TemporaryFile(/tmp/multipartBody1129990137525274991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291463601,"filename":"image_18032025_03_15_21_4152.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/658a0c06cd60daf7cd3fb45e4a7c3c05.jpg","text":"TemporaryFile(/tmp/multipartBody2910753846083217391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291463601,"filename":"image_18032025_03_15_06_4873.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a762379ff617eb588cf7e526592a29e4.jpg","text":"TemporaryFile(/tmp/multipartBody1347755858281859924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291463601,"filename":"image_18032025_03_15_13_4141.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345078038","file1":"1345078011","file0":"1345077983","file4":"1345078098","file5":"1345078128","file3":"1345078067"},"map_files_photo_id_array":[{"photo_id":"1345078128","filename":"file5"},{"photo_id":"1345078038","filename":"file2"},{"photo_id":"1345078098","filename":"file4"},{"photo_id":"1345078011","filename":"file1"},{"photo_id":"1345077983","filename":"file0"},{"photo_id":"1345078067","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345078011":["hashtag1","hashtag2"]},{"1345078128":["hashtag1","hashtag2"]},{"1345078067":["hashtag1","hashtag2"]},{"1345077983":["hashtag1","hashtag2"]},{"1345078098":["hashtag1","hashtag2"]},{"1345078038":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345078011, 1345078128, 1345078067, 1345077983, 1345078098, 1345078038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.20497226715088 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:51:03.329519
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_58_4225.jpg', 2), ('/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_53_4208.jpg', 2), ('/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_49_4231.jpg', 2), ('/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_45_4157.jpg', 2), ('/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_41_4113.jpg', 2), ('/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_37_3206.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_58_4225.jpg', '/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_53_4208.jpg', '/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_49_4231.jpg', '/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_45_4157.jpg', '/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_41_4113.jpg', '/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_37_3206.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_58_4225.jpg
/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_53_4208.jpg
/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_49_4231.jpg
/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_45_4157.jpg
/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_41_4113.jpg
/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_37_3206.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345078305","1345078298","1345078301","1345078310","1345078307","1345078303"],"photo_ids_order":["1345078298","1345078301","1345078303","1345078305","1345078307","1345078310"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/35dc084b1cdcee39e32a9a1c2e4854c2.jpg","text":"TemporaryFile(/tmp/multipartBody3794598198539566883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291523842,"filename":"image_18032025_03_14_45_4157.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e125c5c654c82fbaf131144ad081c668.jpg","text":"TemporaryFile(/tmp/multipartBody2904877756850046606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291523842,"filename":"image_18032025_03_14_58_4225.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/97ce01a3ed241558b5daf323cba0c5db.jpg","text":"TemporaryFile(/tmp/multipartBody579488767845322018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291523842,"filename":"image_18032025_03_14_53_4208.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c0993c68cbb7f769ab0d3610e6bdfc93.jpg","text":"TemporaryFile(/tmp/multipartBody272573763562898228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291523842,"filename":"image_18032025_03_14_37_3206.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/003b18b4708d0618cd1e065bcd8f460f.jpg","text":"TemporaryFile(/tmp/multipartBody2683411160186195753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291523842,"filename":"image_18032025_03_14_41_4113.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ecceb94385ee254ed4f955bf35556cdb.jpg","text":"TemporaryFile(/tmp/multipartBody1917066912572736293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291523842,"filename":"image_18032025_03_14_49_4231.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345078303","file1":"1345078301","file0":"1345078298","file4":"1345078307","file5":"1345078310","file3":"1345078305"},"map_files_photo_id_array":[{"photo_id":"1345078310","filename":"file5"},{"photo_id":"1345078303","filename":"file2"},{"photo_id":"1345078307","filename":"file4"},{"photo_id":"1345078301","filename":"file1"},{"photo_id":"1345078298","filename":"file0"},{"photo_id":"1345078305","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345078305":["hashtag1","hashtag2"]},{"1345078298":["hashtag1","hashtag2"]},{"1345078301":["hashtag1","hashtag2"]},{"1345078310":["hashtag1","hashtag2"]},{"1345078307":["hashtag1","hashtag2"]},{"1345078303":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345078305, 1345078298, 1345078301, 1345078310, 1345078307, 1345078303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.791001319885254 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:52:03.541979
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_34_4162.jpg', 2), ('/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_29_4174.jpg', 2), ('/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_25_4124.jpg', 2), ('/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_21_4292.jpg', 2), ('/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_17_3224.jpg', 2), ('/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_14_4264.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_34_4162.jpg', '/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_29_4174.jpg', '/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_25_4124.jpg', '/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_21_4292.jpg', '/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_17_3224.jpg', '/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_14_4264.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_34_4162.jpg
/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_29_4174.jpg
/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_25_4124.jpg
/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_21_4292.jpg
/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_17_3224.jpg
/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_14_4264.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345078331","1345078342","1345078339","1345078348","1345078333","1345078336"],"photo_ids_order":["1345078331","1345078333","1345078336","1345078339","1345078342","1345078348"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a5cf6a368c8420dcf4acb1672b2a5966.jpg","text":"TemporaryFile(/tmp/multipartBody5599248294938033378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291584062,"filename":"image_18032025_03_14_34_4162.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0eedba3dfe727a44b9e1f3e409e1eeec.jpg","text":"TemporaryFile(/tmp/multipartBody7245572874827638742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291584062,"filename":"image_18032025_03_14_17_3224.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/537fe4f0a3413bfc769501f25e1fb787.jpg","text":"TemporaryFile(/tmp/multipartBody1018578521143525919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291584062,"filename":"image_18032025_03_14_21_4292.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e0e23fc716ce1bd830c25ebf3ef8691b.jpg","text":"TemporaryFile(/tmp/multipartBody1786321917792182097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291584062,"filename":"image_18032025_03_14_14_4264.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3813a630443f80e66252deb0e7751e21.jpg","text":"TemporaryFile(/tmp/multipartBody680925961419226670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291584062,"filename":"image_18032025_03_14_29_4174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ec49e914ed013a89f26694c96fc5fbc7.jpg","text":"TemporaryFile(/tmp/multipartBody1943868098071603929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291584062,"filename":"image_18032025_03_14_25_4124.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345078336","file1":"1345078333","file0":"1345078331","file4":"1345078342","file5":"1345078348","file3":"1345078339"},"map_files_photo_id_array":[{"photo_id":"1345078348","filename":"file5"},{"photo_id":"1345078336","filename":"file2"},{"photo_id":"1345078342","filename":"file4"},{"photo_id":"1345078333","filename":"file1"},{"photo_id":"1345078331","filename":"file0"},{"photo_id":"1345078339","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345078331":["hashtag1","hashtag2"]},{"1345078342":["hashtag1","hashtag2"]},{"1345078339":["hashtag1","hashtag2"]},{"1345078348":["hashtag1","hashtag2"]},{"1345078333":["hashtag1","hashtag2"]},{"1345078336":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345078331, 1345078342, 1345078339, 1345078348, 1345078333, 1345078336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.901435375213623 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:53:02.595881
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_09_4432.jpg', 2), ('/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_05_3747.jpg', 2), ('/home/nano/Desktop/images/18032025/03/13/image_18032025_03_14_01_3911.jpg', 2), ('/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_57_4288.jpg', 2), ('/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_53_3788.jpg', 2), ('/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_49_4245.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_09_4432.jpg', '/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_05_3747.jpg', '/home/nano/Desktop/images/18032025/03/13/image_18032025_03_14_01_3911.jpg', '/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_57_4288.jpg', '/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_53_3788.jpg', '/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_49_4245.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_09_4432.jpg
/home/nano/Desktop/images/18032025/03/14/image_18032025_03_14_05_3747.jpg
/home/nano/Desktop/images/18032025/03/13/image_18032025_03_14_01_3911.jpg
/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_57_4288.jpg
/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_53_3788.jpg
/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_49_4245.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345078382","1345078376","1345078384","1345078378","1345078383","1345078380"],"photo_ids_order":["1345078376","1345078378","1345078380","1345078382","1345078383","1345078384"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a63f7e6eba6b05a0f154282a5e3bd622.jpg","text":"TemporaryFile(/tmp/multipartBody5562406067170478380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291643074,"filename":"image_18032025_03_13_57_4288.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bdbcfbaf972a451b1157be83d41a29c2.jpg","text":"TemporaryFile(/tmp/multipartBody7536409517097310033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291643074,"filename":"image_18032025_03_14_09_4432.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/73031382ce2d079e399e6c13a4faaa8f.jpg","text":"TemporaryFile(/tmp/multipartBody8029163458592870981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291643074,"filename":"image_18032025_03_13_49_4245.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bcbe995f40ae0931795e1cc57bd2c808.jpg","text":"TemporaryFile(/tmp/multipartBody6827620340571016217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291643074,"filename":"image_18032025_03_14_05_3747.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ec0837253fa7191a30871023f28f7438.jpg","text":"TemporaryFile(/tmp/multipartBody615728596230541286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291643074,"filename":"image_18032025_03_13_53_3788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0f1e0aa77acd2df53ba912348d27f799.jpg","text":"TemporaryFile(/tmp/multipartBody5694420336381390028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291643074,"filename":"image_18032025_03_14_01_3911.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345078380","file1":"1345078378","file0":"1345078376","file4":"1345078383","file5":"1345078384","file3":"1345078382"},"map_files_photo_id_array":[{"photo_id":"1345078384","filename":"file5"},{"photo_id":"1345078380","filename":"file2"},{"photo_id":"1345078383","filename":"file4"},{"photo_id":"1345078378","filename":"file1"},{"photo_id":"1345078376","filename":"file0"},{"photo_id":"1345078382","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345078382":["hashtag1","hashtag2"]},{"1345078376":["hashtag1","hashtag2"]},{"1345078384":["hashtag1","hashtag2"]},{"1345078378":["hashtag1","hashtag2"]},{"1345078383":["hashtag1","hashtag2"]},{"1345078380":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345078382, 1345078376, 1345078384, 1345078378, 1345078383, 1345078380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.545599699020386 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:54:03.256234
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_45_3172.jpg', 2), ('/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_42_4091.jpg', 2), ('/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_38_4035.jpg', 2), ('/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_34_4255.jpg', 2), ('/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_29_4217.jpg', 2), ('/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_25_4216.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_45_3172.jpg', '/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_42_4091.jpg', '/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_38_4035.jpg', '/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_34_4255.jpg', '/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_29_4217.jpg', '/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_25_4216.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_45_3172.jpg
/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_42_4091.jpg
/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_38_4035.jpg
/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_34_4255.jpg
/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_29_4217.jpg
/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_25_4216.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345078416","1345078419","1345078412","1345078418","1345078417","1345078414"],"photo_ids_order":["1345078412","1345078414","1345078416","1345078417","1345078418","1345078419"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/be90dc267e32a3c1a6dabbe2f3cd933a.jpg","text":"TemporaryFile(/tmp/multipartBody3609905107748234411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291703787,"filename":"image_18032025_03_13_38_4035.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8bf266bc0aa97abd16ad5a1c513c0f79.jpg","text":"TemporaryFile(/tmp/multipartBody314538558881593178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291703787,"filename":"image_18032025_03_13_25_4216.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/47a74545a6a6acb48fff76d33ce76cda.jpg","text":"TemporaryFile(/tmp/multipartBody3390743471603276926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291703787,"filename":"image_18032025_03_13_45_3172.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/00ec775fef93d0ccde103aed9a8ca530.jpg","text":"TemporaryFile(/tmp/multipartBody1134660235295199129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291703787,"filename":"image_18032025_03_13_29_4217.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1a271a65a0eba571d081644a05da33d9.jpg","text":"TemporaryFile(/tmp/multipartBody1100853501331842732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291703787,"filename":"image_18032025_03_13_34_4255.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d87206c8c7772f5ac6ab361e6fc94a91.jpg","text":"TemporaryFile(/tmp/multipartBody7756701812558022290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291703787,"filename":"image_18032025_03_13_42_4091.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345078416","file1":"1345078414","file0":"1345078412","file4":"1345078418","file5":"1345078419","file3":"1345078417"},"map_files_photo_id_array":[{"photo_id":"1345078419","filename":"file5"},{"photo_id":"1345078416","filename":"file2"},{"photo_id":"1345078418","filename":"file4"},{"photo_id":"1345078414","filename":"file1"},{"photo_id":"1345078412","filename":"file0"},{"photo_id":"1345078417","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345078416":["hashtag1","hashtag2"]},{"1345078419":["hashtag1","hashtag2"]},{"1345078412":["hashtag1","hashtag2"]},{"1345078418":["hashtag1","hashtag2"]},{"1345078417":["hashtag1","hashtag2"]},{"1345078414":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345078416, 1345078419, 1345078412, 1345078418, 1345078417, 1345078414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.73005175590515 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:55:03.091297
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_21_3220.jpg', 2), ('/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_18_4153.jpg', 2), ('/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_13_4016.jpg', 2), ('/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_09_4008.jpg', 2), ('/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_05_4322.jpg', 2), ('/home/nano/Desktop/images/18032025/03/12/image_18032025_03_13_01_4074.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_21_3220.jpg', '/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_18_4153.jpg', '/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_13_4016.jpg', '/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_09_4008.jpg', '/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_05_4322.jpg', '/home/nano/Desktop/images/18032025/03/12/image_18032025_03_13_01_4074.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_21_3220.jpg
/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_18_4153.jpg
/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_13_4016.jpg
/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_09_4008.jpg
/home/nano/Desktop/images/18032025/03/13/image_18032025_03_13_05_4322.jpg
/home/nano/Desktop/images/18032025/03/12/image_18032025_03_13_01_4074.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345078445","1345078448","1345078450","1345078447","1345078446","1345078449"],"photo_ids_order":["1345078445","1345078446","1345078447","1345078448","1345078449","1345078450"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8e4963f26814acb747bed45998ac6a8f.jpg","text":"TemporaryFile(/tmp/multipartBody2479786907531601977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291763609,"filename":"image_18032025_03_13_21_3220.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c427a36d7f26b5e5fcd115df595c01e3.jpg","text":"TemporaryFile(/tmp/multipartBody5498218494477258078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291763609,"filename":"image_18032025_03_13_09_4008.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/23808c7f376b13034abfe8b4f7ae3fc0.jpg","text":"TemporaryFile(/tmp/multipartBody7699408360179803589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291763609,"filename":"image_18032025_03_13_01_4074.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/92188c14fa8ca78a8ac7cea914ecd848.jpg","text":"TemporaryFile(/tmp/multipartBody6333414920012437188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291763609,"filename":"image_18032025_03_13_13_4016.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6413e81b7a083011d9a8927cb8c3b5f3.jpg","text":"TemporaryFile(/tmp/multipartBody6288340421781965553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291763609,"filename":"image_18032025_03_13_18_4153.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/44ed9f5856909ed7def34031c2fe246b.jpg","text":"TemporaryFile(/tmp/multipartBody7033165101337571081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291763609,"filename":"image_18032025_03_13_05_4322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345078447","file1":"1345078446","file0":"1345078445","file4":"1345078449","file5":"1345078450","file3":"1345078448"},"map_files_photo_id_array":[{"photo_id":"1345078450","filename":"file5"},{"photo_id":"1345078447","filename":"file2"},{"photo_id":"1345078449","filename":"file4"},{"photo_id":"1345078446","filename":"file1"},{"photo_id":"1345078445","filename":"file0"},{"photo_id":"1345078448","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345078445":["hashtag1","hashtag2"]},{"1345078448":["hashtag1","hashtag2"]},{"1345078450":["hashtag1","hashtag2"]},{"1345078447":["hashtag1","hashtag2"]},{"1345078446":["hashtag1","hashtag2"]},{"1345078449":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345078445, 1345078448, 1345078450, 1345078447, 1345078446, 1345078449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.108131647109985 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:56:03.300598
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_57_4246.jpg', 2), ('/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_53_4116.jpg', 2), ('/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_49_3129.jpg', 2), ('/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_46_4143.jpg', 2), ('/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_41_4062.jpg', 2), ('/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_37_4147.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_57_4246.jpg', '/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_53_4116.jpg', '/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_49_3129.jpg', '/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_46_4143.jpg', '/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_41_4062.jpg', '/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_37_4147.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_57_4246.jpg
/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_53_4116.jpg
/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_49_3129.jpg
/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_46_4143.jpg
/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_41_4062.jpg
/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_37_4147.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345078490","1345078484","1345078487","1345078486","1345078483","1345078485"],"photo_ids_order":["1345078483","1345078484","1345078485","1345078486","1345078487","1345078490"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6c0f0fcd560c2db1c80931baed707876.jpg","text":"TemporaryFile(/tmp/multipartBody7895951077109962734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291823843,"filename":"image_18032025_03_12_37_4147.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5db41f8add2e2f1cc392e9bd356a54a2.jpg","text":"TemporaryFile(/tmp/multipartBody2240541721166560070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291823843,"filename":"image_18032025_03_12_53_4116.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4bfacac69753327a0f62ce05ca71a715.jpg","text":"TemporaryFile(/tmp/multipartBody4642474797096206764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291823843,"filename":"image_18032025_03_12_41_4062.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0235f61582729839932a660b185ca4ff.jpg","text":"TemporaryFile(/tmp/multipartBody7730092413486263178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291823843,"filename":"image_18032025_03_12_46_4143.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/eaae0f0e46e5a645687940c0167a5907.jpg","text":"TemporaryFile(/tmp/multipartBody7418960875703169696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291823843,"filename":"image_18032025_03_12_57_4246.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b618e77304e8b4956622442e9f5c8c87.jpg","text":"TemporaryFile(/tmp/multipartBody3195131288376846801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291823843,"filename":"image_18032025_03_12_49_3129.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345078485","file1":"1345078484","file0":"1345078483","file4":"1345078487","file5":"1345078490","file3":"1345078486"},"map_files_photo_id_array":[{"photo_id":"1345078490","filename":"file5"},{"photo_id":"1345078485","filename":"file2"},{"photo_id":"1345078487","filename":"file4"},{"photo_id":"1345078484","filename":"file1"},{"photo_id":"1345078483","filename":"file0"},{"photo_id":"1345078486","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345078490":["hashtag1","hashtag2"]},{"1345078484":["hashtag1","hashtag2"]},{"1345078487":["hashtag1","hashtag2"]},{"1345078486":["hashtag1","hashtag2"]},{"1345078483":["hashtag1","hashtag2"]},{"1345078485":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345078490, 1345078484, 1345078487, 1345078486, 1345078483, 1345078485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.828773975372314 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:57:03.426338
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_33_4208.jpg', 2), ('/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_29_4142.jpg', 2), ('/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_25_4182.jpg', 2), ('/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_21_3171.jpg', 2), ('/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_18_4156.jpg', 2), ('/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_13_4005.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_33_4208.jpg', '/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_29_4142.jpg', '/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_25_4182.jpg', '/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_21_3171.jpg', '/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_18_4156.jpg', '/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_13_4005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_33_4208.jpg
/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_29_4142.jpg
/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_25_4182.jpg
/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_21_3171.jpg
/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_18_4156.jpg
/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_13_4005.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345078733","1345078628","1345078601","1345078789","1345078654","1345078680"],"photo_ids_order":["1345078601","1345078628","1345078654","1345078680","1345078733","1345078789"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/96ba4b44ec097c0c7bfae5fccbc0fbbb.jpg","text":"TemporaryFile(/tmp/multipartBody5334630540028080990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291883948,"filename":"image_18032025_03_12_18_4156.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bd0c4e6759fa0265e1e79d8aff1cdfcb.jpg","text":"TemporaryFile(/tmp/multipartBody6663063632721197112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291883948,"filename":"image_18032025_03_12_29_4142.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2bc96de6c2aaaec4500fbdb98f480887.jpg","text":"TemporaryFile(/tmp/multipartBody3101254054520456730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291883948,"filename":"image_18032025_03_12_33_4208.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/edade14cafb6dd6d9691af18f2b5cc72.jpg","text":"TemporaryFile(/tmp/multipartBody71191795717772870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291883948,"filename":"image_18032025_03_12_13_4005.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bb36cfd9344a0513480273535e14c07d.jpg","text":"TemporaryFile(/tmp/multipartBody6071188879697441870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291883948,"filename":"image_18032025_03_12_25_4182.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b1643acaf0451b8833e4df49697ac8cc.jpg","text":"TemporaryFile(/tmp/multipartBody8960541046037325444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742291883948,"filename":"image_18032025_03_12_21_3171.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345078654","file1":"1345078628","file0":"1345078601","file4":"1345078733","file5":"1345078789","file3":"1345078680"},"map_files_photo_id_array":[{"photo_id":"1345078789","filename":"file5"},{"photo_id":"1345078654","filename":"file2"},{"photo_id":"1345078733","filename":"file4"},{"photo_id":"1345078628","filename":"file1"},{"photo_id":"1345078601","filename":"file0"},{"photo_id":"1345078680","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345078733":["hashtag1","hashtag2"]},{"1345078628":["hashtag1","hashtag2"]},{"1345078601":["hashtag1","hashtag2"]},{"1345078789":["hashtag1","hashtag2"]},{"1345078654":["hashtag1","hashtag2"]},{"1345078680":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345078733, 1345078628, 1345078601, 1345078789, 1345078654, 1345078680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.996989727020264 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 10:59:03.653137
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_09_4176.jpg', 2), ('/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_05_3684.jpg', 2), ('/home/nano/Desktop/images/18032025/03/11/image_18032025_03_12_02_4140.jpg', 2), ('/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_57_4136.jpg', 2), ('/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_53_4144.jpg', 2), ('/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_49_3982.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_09_4176.jpg', '/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_05_3684.jpg', '/home/nano/Desktop/images/18032025/03/11/image_18032025_03_12_02_4140.jpg', '/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_57_4136.jpg', '/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_53_4144.jpg', '/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_49_3982.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_09_4176.jpg
/home/nano/Desktop/images/18032025/03/12/image_18032025_03_12_05_3684.jpg
/home/nano/Desktop/images/18032025/03/11/image_18032025_03_12_02_4140.jpg
/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_57_4136.jpg
/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_53_4144.jpg
/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_49_3982.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345080015","1345080024","1345080111","1345079956","1345079898","1345079987"],"photo_ids_order":["1345079898","1345079956","1345079987","1345080015","1345080024","1345080111"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c20e52c900fcab3143bfd9aced4b6a5e.jpg","text":"TemporaryFile(/tmp/multipartBody3401932456160515640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292004188,"filename":"image_18032025_03_11_57_4136.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bbb6167164b9dc8c072cc840dcbbda70.jpg","text":"TemporaryFile(/tmp/multipartBody1226424857419492312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292004188,"filename":"image_18032025_03_11_53_4144.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/927f8de98f4cda0f0cb418103d48c7e4.jpg","text":"TemporaryFile(/tmp/multipartBody6142408920084840280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292004188,"filename":"image_18032025_03_11_49_3982.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/eec5f46082dd888e5069110e1a455c79.jpg","text":"TemporaryFile(/tmp/multipartBody3598097550333171077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292004188,"filename":"image_18032025_03_12_05_3684.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/60d47dbcc7ff316604b36b10f44d1680.jpg","text":"TemporaryFile(/tmp/multipartBody6811669507658833609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292004188,"filename":"image_18032025_03_12_09_4176.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b8f959471d0f9c67d2eca06c336c7651.jpg","text":"TemporaryFile(/tmp/multipartBody7159280971358563528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292004188,"filename":"image_18032025_03_12_02_4140.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345079987","file1":"1345079956","file0":"1345079898","file4":"1345080024","file5":"1345080111","file3":"1345080015"},"map_files_photo_id_array":[{"photo_id":"1345080111","filename":"file5"},{"photo_id":"1345079987","filename":"file2"},{"photo_id":"1345080024","filename":"file4"},{"photo_id":"1345079956","filename":"file1"},{"photo_id":"1345079898","filename":"file0"},{"photo_id":"1345080015","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345080015":["hashtag1","hashtag2"]},{"1345080024":["hashtag1","hashtag2"]},{"1345080111":["hashtag1","hashtag2"]},{"1345079956":["hashtag1","hashtag2"]},{"1345079898":["hashtag1","hashtag2"]},{"1345079987":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345080015, 1345080024, 1345080111, 1345079956, 1345079898, 1345079987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.45333433151245 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:00:02.542345
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_45_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_41_4172.jpg', 2), ('/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_37_3269.jpg', 2), ('/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_34_4302.jpg', 2), ('/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_29_4279.jpg', 2), ('/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_25_3275.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_45_4146.jpg', '/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_41_4172.jpg', '/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_37_3269.jpg', '/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_34_4302.jpg', '/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_29_4279.jpg', '/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_25_3275.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_45_4146.jpg
/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_41_4172.jpg
/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_37_3269.jpg
/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_34_4302.jpg
/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_29_4279.jpg
/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_25_3275.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.43298816680908203 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:00:31.856962
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_45_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_41_4172.jpg', 2), ('/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_37_3269.jpg', 2), ('/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_34_4302.jpg', 2), ('/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_29_4279.jpg', 2), ('/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_25_3275.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_45_4146.jpg', '/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_41_4172.jpg', '/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_37_3269.jpg', '/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_34_4302.jpg', '/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_29_4279.jpg', '/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_25_3275.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_45_4146.jpg
/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_41_4172.jpg
/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_37_3269.jpg
/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_34_4302.jpg
/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_29_4279.jpg
/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_25_3275.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345080303","1345080254","1345080257","1345080251","1345080248","1345080277"],"photo_ids_order":["1345080248","1345080251","1345080254","1345080257","1345080277","1345080303"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3b790d125cc6de220a0698c50b5837e6.jpg","text":"TemporaryFile(/tmp/multipartBody2935555729555259862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292092334,"filename":"image_18032025_03_11_25_3275.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b191675ad3a7ed8701dcbfa080cd356a.jpg","text":"TemporaryFile(/tmp/multipartBody2699562008162928686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292092334,"filename":"image_18032025_03_11_37_3269.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c0bbbd3d7c7b554508d28f2b3cf337a8.jpg","text":"TemporaryFile(/tmp/multipartBody5319299705679897088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292092334,"filename":"image_18032025_03_11_34_4302.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1994b33b9c7fdad65520fc0d45d07aab.jpg","text":"TemporaryFile(/tmp/multipartBody1609220152858840876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292092334,"filename":"image_18032025_03_11_41_4172.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/32ab1a9e6e94f47c66274ffe732b2be1.jpg","text":"TemporaryFile(/tmp/multipartBody587865233519878144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292092334,"filename":"image_18032025_03_11_45_4146.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cee76a0a5f473eaeada6997991510d78.jpg","text":"TemporaryFile(/tmp/multipartBody518951570853181952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292092334,"filename":"image_18032025_03_11_29_4279.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345080254","file1":"1345080251","file0":"1345080248","file4":"1345080277","file5":"1345080303","file3":"1345080257"},"map_files_photo_id_array":[{"photo_id":"1345080303","filename":"file5"},{"photo_id":"1345080254","filename":"file2"},{"photo_id":"1345080277","filename":"file4"},{"photo_id":"1345080251","filename":"file1"},{"photo_id":"1345080248","filename":"file0"},{"photo_id":"1345080257","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345080303":["hashtag1","hashtag2"]},{"1345080254":["hashtag1","hashtag2"]},{"1345080257":["hashtag1","hashtag2"]},{"1345080251":["hashtag1","hashtag2"]},{"1345080248":["hashtag1","hashtag2"]},{"1345080277":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345080303, 1345080254, 1345080257, 1345080251, 1345080248, 1345080277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.322091341018677 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:01:32.028454
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_22_4318.jpg', 2), ('/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_17_4433.jpg', 2), ('/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_13_3415.jpg', 2), ('/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_09_4316.jpg', 2), ('/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_05_3642.jpg', 2), ('/home/nano/Desktop/images/18032025/03/10/image_18032025_03_11_02_4223.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_22_4318.jpg', '/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_17_4433.jpg', '/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_13_3415.jpg', '/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_09_4316.jpg', '/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_05_3642.jpg', '/home/nano/Desktop/images/18032025/03/10/image_18032025_03_11_02_4223.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_22_4318.jpg
/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_17_4433.jpg
/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_13_3415.jpg
/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_09_4316.jpg
/home/nano/Desktop/images/18032025/03/11/image_18032025_03_11_05_3642.jpg
/home/nano/Desktop/images/18032025/03/10/image_18032025_03_11_02_4223.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345080552","1345080546","1345080544","1345080549","1345080540","1345080537"],"photo_ids_order":["1345080537","1345080540","1345080544","1345080546","1345080549","1345080552"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a116a57a251121a5c7f281aa998d4e6d.jpg","text":"TemporaryFile(/tmp/multipartBody724627401030140388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292152528,"filename":"image_18032025_03_11_02_4223.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/03b7ef02309179fa5cc6bee6ec75be49.jpg","text":"TemporaryFile(/tmp/multipartBody8350613498199487341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292152528,"filename":"image_18032025_03_11_09_4316.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9393a75a6c981b707d7c962b68ec1d4c.jpg","text":"TemporaryFile(/tmp/multipartBody3545054071510007478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292152528,"filename":"image_18032025_03_11_13_3415.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b3329e81f219daf7998e2e6e6490e90d.jpg","text":"TemporaryFile(/tmp/multipartBody3571943591996129346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292152528,"filename":"image_18032025_03_11_05_3642.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/68bd38e41e339ca8ac2e2050f162873c.jpg","text":"TemporaryFile(/tmp/multipartBody4578598243280678210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292152528,"filename":"image_18032025_03_11_17_4433.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f085c32df3527d4783063da8a3e8d175.jpg","text":"TemporaryFile(/tmp/multipartBody4843433791189270623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292152528,"filename":"image_18032025_03_11_22_4318.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345080544","file1":"1345080540","file0":"1345080537","file4":"1345080549","file5":"1345080552","file3":"1345080546"},"map_files_photo_id_array":[{"photo_id":"1345080552","filename":"file5"},{"photo_id":"1345080544","filename":"file2"},{"photo_id":"1345080549","filename":"file4"},{"photo_id":"1345080540","filename":"file1"},{"photo_id":"1345080537","filename":"file0"},{"photo_id":"1345080546","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345080552":["hashtag1","hashtag2"]},{"1345080546":["hashtag1","hashtag2"]},{"1345080544":["hashtag1","hashtag2"]},{"1345080549":["hashtag1","hashtag2"]},{"1345080540":["hashtag1","hashtag2"]},{"1345080537":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345080552, 1345080546, 1345080544, 1345080549, 1345080540, 1345080537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.18725609779358 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:02:32.219541
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_57_4149.jpg', 2), ('/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_53_4028.jpg', 2), ('/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_49_4222.jpg', 2), ('/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_45_3934.jpg', 2), ('/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_41_4189.jpg', 2), ('/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_37_3238.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_57_4149.jpg', '/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_53_4028.jpg', '/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_49_4222.jpg', '/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_45_3934.jpg', '/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_41_4189.jpg', '/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_37_3238.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_57_4149.jpg
/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_53_4028.jpg
/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_49_4222.jpg
/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_45_3934.jpg
/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_41_4189.jpg
/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_37_3238.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345080659","1345080575","1345080602","1345080583","1345080631","1345080579"],"photo_ids_order":["1345080575","1345080579","1345080583","1345080602","1345080631","1345080659"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/eb8e5d1ec1cfb3d2f84da02f5907a678.jpg","text":"TemporaryFile(/tmp/multipartBody2941714725645909713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292212707,"filename":"image_18032025_03_10_37_3238.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f2ab34273bdff652551dc456a9bf4639.jpg","text":"TemporaryFile(/tmp/multipartBody8629786564527191556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292212707,"filename":"image_18032025_03_10_57_4149.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2f8b319f0fcf86603e329aa45166c8d2.jpg","text":"TemporaryFile(/tmp/multipartBody8059801491899694617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292212707,"filename":"image_18032025_03_10_45_3934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/55e0d5abc3b6285e12bd63fc7bc7968a.jpg","text":"TemporaryFile(/tmp/multipartBody2156623564045175350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292212707,"filename":"image_18032025_03_10_49_4222.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2c91159065a2a1a243ddbf2f1930ed80.jpg","text":"TemporaryFile(/tmp/multipartBody7327324482292280512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292212707,"filename":"image_18032025_03_10_41_4189.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/815d1ac5b4a0c309dea1e37374943cf6.jpg","text":"TemporaryFile(/tmp/multipartBody4089788124823687490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292212707,"filename":"image_18032025_03_10_53_4028.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345080583","file1":"1345080579","file0":"1345080575","file4":"1345080631","file5":"1345080659","file3":"1345080602"},"map_files_photo_id_array":[{"photo_id":"1345080659","filename":"file5"},{"photo_id":"1345080583","filename":"file2"},{"photo_id":"1345080631","filename":"file4"},{"photo_id":"1345080579","filename":"file1"},{"photo_id":"1345080575","filename":"file0"},{"photo_id":"1345080602","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345080659":["hashtag1","hashtag2"]},{"1345080575":["hashtag1","hashtag2"]},{"1345080602":["hashtag1","hashtag2"]},{"1345080583":["hashtag1","hashtag2"]},{"1345080631":["hashtag1","hashtag2"]},{"1345080579":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345080659, 1345080575, 1345080602, 1345080583, 1345080631, 1345080579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.239962100982666 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:03:32.415262
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_34_4272.jpg', 2), ('/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_29_4199.jpg', 2), ('/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_25_4202.jpg', 2), ('/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_21_3187.jpg', 2), ('/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_18_4872.jpg', 2), ('/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_13_3197.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_34_4272.jpg', '/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_29_4199.jpg', '/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_25_4202.jpg', '/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_21_3187.jpg', '/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_18_4872.jpg', '/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_13_3197.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_34_4272.jpg
/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_29_4199.jpg
/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_25_4202.jpg
/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_21_3187.jpg
/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_18_4872.jpg
/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_13_3197.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345081043","1345081046","1345080973","1345080946","1345081030","1345081002"],"photo_ids_order":["1345080946","1345080973","1345081002","1345081030","1345081043","1345081046"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f5e79568f70aaaf194819166b078143b.jpg","text":"TemporaryFile(/tmp/multipartBody5134168047530300666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292272961,"filename":"image_18032025_03_10_18_4872.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/95a52a3c18b97f82eba395e0c661088a.jpg","text":"TemporaryFile(/tmp/multipartBody5126583819420906289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292272961,"filename":"image_18032025_03_10_13_3197.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/681e60a96b28b9b608ba923f79867c27.jpg","text":"TemporaryFile(/tmp/multipartBody7440043297507341149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292272961,"filename":"image_18032025_03_10_29_4199.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/58662da9b35dff49ffd55a6aca14b826.jpg","text":"TemporaryFile(/tmp/multipartBody924529933689886414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292272961,"filename":"image_18032025_03_10_34_4272.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0664d17ed551f3151dc52c399960a892.jpg","text":"TemporaryFile(/tmp/multipartBody3219031031901563326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292272961,"filename":"image_18032025_03_10_21_3187.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/25bbe0340c559c16af47cc5694eb35af.jpg","text":"TemporaryFile(/tmp/multipartBody1816617897404693815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292272961,"filename":"image_18032025_03_10_25_4202.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345081002","file1":"1345080973","file0":"1345080946","file4":"1345081043","file5":"1345081046","file3":"1345081030"},"map_files_photo_id_array":[{"photo_id":"1345081046","filename":"file5"},{"photo_id":"1345081002","filename":"file2"},{"photo_id":"1345081043","filename":"file4"},{"photo_id":"1345080973","filename":"file1"},{"photo_id":"1345080946","filename":"file0"},{"photo_id":"1345081030","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345081043":["hashtag1","hashtag2"]},{"1345081046":["hashtag1","hashtag2"]},{"1345080973":["hashtag1","hashtag2"]},{"1345080946":["hashtag1","hashtag2"]},{"1345081030":["hashtag1","hashtag2"]},{"1345081002":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345081043, 1345081046, 1345080973, 1345080946, 1345081030, 1345081002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.779671669006348 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:04:32.599611
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_10_4217.jpg', 2), ('/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_05_3859.jpg', 2), ('/home/nano/Desktop/images/18032025/03/09/image_18032025_03_10_02_4100.jpg', 2), ('/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_57_4039.jpg', 2), ('/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_53_4101.jpg', 2), ('/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_49_3911.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_10_4217.jpg', '/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_05_3859.jpg', '/home/nano/Desktop/images/18032025/03/09/image_18032025_03_10_02_4100.jpg', '/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_57_4039.jpg', '/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_53_4101.jpg', '/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_49_3911.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_10_4217.jpg
/home/nano/Desktop/images/18032025/03/10/image_18032025_03_10_05_3859.jpg
/home/nano/Desktop/images/18032025/03/09/image_18032025_03_10_02_4100.jpg
/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_57_4039.jpg
/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_53_4101.jpg
/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_49_3911.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345081379","1345081349","1345081576","1345081321","1345081494","1345081428"],"photo_ids_order":["1345081321","1345081349","1345081379","1345081428","1345081494","1345081576"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7f70969412189de61cf90a4499b25188.jpg","text":"TemporaryFile(/tmp/multipartBody345261100654077842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292333108,"filename":"image_18032025_03_10_02_4100.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c4b4d55f262f54dea7c239286381ede1.jpg","text":"TemporaryFile(/tmp/multipartBody36346080454225118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292333108,"filename":"image_18032025_03_10_05_3859.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/edcbec11859fb4c26e613e61b5e71e16.jpg","text":"TemporaryFile(/tmp/multipartBody8968347329104245247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292333108,"filename":"image_18032025_03_09_49_3911.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/221584510e7d57e05b106c21bda6cd22.jpg","text":"TemporaryFile(/tmp/multipartBody3454412546780080540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292333108,"filename":"image_18032025_03_10_10_4217.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4ef2bc6a45b45730ee5a26f45c90d217.jpg","text":"TemporaryFile(/tmp/multipartBody8308024986855417441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292333108,"filename":"image_18032025_03_09_53_4101.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1e9bccdeb11739e7d9a75e76edc2fd53.jpg","text":"TemporaryFile(/tmp/multipartBody8282127664880383895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292333108,"filename":"image_18032025_03_09_57_4039.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345081379","file1":"1345081349","file0":"1345081321","file4":"1345081494","file5":"1345081576","file3":"1345081428"},"map_files_photo_id_array":[{"photo_id":"1345081576","filename":"file5"},{"photo_id":"1345081379","filename":"file2"},{"photo_id":"1345081494","filename":"file4"},{"photo_id":"1345081349","filename":"file1"},{"photo_id":"1345081321","filename":"file0"},{"photo_id":"1345081428","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345081379":["hashtag1","hashtag2"]},{"1345081349":["hashtag1","hashtag2"]},{"1345081576":["hashtag1","hashtag2"]},{"1345081321":["hashtag1","hashtag2"]},{"1345081494":["hashtag1","hashtag2"]},{"1345081428":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345081379, 1345081349, 1345081576, 1345081321, 1345081494, 1345081428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.652212858200073 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:05:32.771811
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_45_4031.jpg', 2), ('/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_41_3987.jpg', 2), ('/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_37_3997.jpg', 2), ('/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_33_4134.jpg', 2), ('/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_29_4121.jpg', 2), ('/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_25_4172.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_45_4031.jpg', '/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_41_3987.jpg', '/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_37_3997.jpg', '/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_33_4134.jpg', '/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_29_4121.jpg', '/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_25_4172.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_45_4031.jpg
/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_41_3987.jpg
/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_37_3997.jpg
/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_33_4134.jpg
/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_29_4121.jpg
/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_25_4172.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345082240","1345082092","1345082056","1345082175","1345082115","1345082112"],"photo_ids_order":["1345082056","1345082092","1345082112","1345082115","1345082175","1345082240"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4974776c026cc01665b15bed2c0672b4.jpg","text":"TemporaryFile(/tmp/multipartBody7776529649889015874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292393259,"filename":"image_18032025_03_09_25_4172.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/771ee00471c7cd2154d3bd4c3be3a1a9.jpg","text":"TemporaryFile(/tmp/multipartBody7138661008123830617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292393259,"filename":"image_18032025_03_09_41_3987.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/209e412bdfe48d0cfbe86a8dfef6f775.jpg","text":"TemporaryFile(/tmp/multipartBody8947697355311504129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292393259,"filename":"image_18032025_03_09_45_4031.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4e2c8bc43f44755ca6ff75f1b44c9c6f.jpg","text":"TemporaryFile(/tmp/multipartBody5617391922491085683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292393259,"filename":"image_18032025_03_09_29_4121.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4dd5397f5c9758b6b4eb02ab62e8b024.jpg","text":"TemporaryFile(/tmp/multipartBody3208301975937531855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292393259,"filename":"image_18032025_03_09_33_4134.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e6c5cee4879e229a1d97b5d1f7dcc0e8.jpg","text":"TemporaryFile(/tmp/multipartBody6740684500382635206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292393259,"filename":"image_18032025_03_09_37_3997.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345082112","file1":"1345082092","file0":"1345082056","file4":"1345082175","file5":"1345082240","file3":"1345082115"},"map_files_photo_id_array":[{"photo_id":"1345082240","filename":"file5"},{"photo_id":"1345082112","filename":"file2"},{"photo_id":"1345082175","filename":"file4"},{"photo_id":"1345082092","filename":"file1"},{"photo_id":"1345082056","filename":"file0"},{"photo_id":"1345082115","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345082240":["hashtag1","hashtag2"]},{"1345082092":["hashtag1","hashtag2"]},{"1345082056":["hashtag1","hashtag2"]},{"1345082175":["hashtag1","hashtag2"]},{"1345082115":["hashtag1","hashtag2"]},{"1345082112":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345082240, 1345082092, 1345082056, 1345082175, 1345082115, 1345082112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.120410680770874 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:06:31.928301
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_21_4063.jpg', 2), ('/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_17_4096.jpg', 2), ('/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_13_3140.jpg', 2), ('/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_10_4151.jpg', 2), ('/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_05_4652.jpg', 2), ('/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_01_3202.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_21_4063.jpg', '/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_17_4096.jpg', '/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_13_3140.jpg', '/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_10_4151.jpg', '/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_05_4652.jpg', '/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_01_3202.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_21_4063.jpg
/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_17_4096.jpg
/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_13_3140.jpg
/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_10_4151.jpg
/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_05_4652.jpg
/home/nano/Desktop/images/18032025/03/09/image_18032025_03_09_01_3202.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345082801","1345082854","1345082752","1345082716","1345082907","1345082681"],"photo_ids_order":["1345082681","1345082716","1345082752","1345082801","1345082854","1345082907"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/41ae1f575374c45bf712891ff08bad50.jpg","text":"TemporaryFile(/tmp/multipartBody108823258330698170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292452405,"filename":"image_18032025_03_09_10_4151.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1bc98023a1a03f950d556a102adf56ce.jpg","text":"TemporaryFile(/tmp/multipartBody737277529884129813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292452405,"filename":"image_18032025_03_09_05_4652.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bcc1d726458b05949af5633474f81a28.jpg","text":"TemporaryFile(/tmp/multipartBody1648417133448031656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292452405,"filename":"image_18032025_03_09_13_3140.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7b10ea16062dd971eeb81a9a2b94207d.jpg","text":"TemporaryFile(/tmp/multipartBody5931964945405073541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292452405,"filename":"image_18032025_03_09_17_4096.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/02b459082471ded5f2b2eb39eea5d3fb.jpg","text":"TemporaryFile(/tmp/multipartBody5905163773552579075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292452405,"filename":"image_18032025_03_09_01_3202.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/42125cff528acd5b007172923c92dd14.jpg","text":"TemporaryFile(/tmp/multipartBody2928755476057765111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292452405,"filename":"image_18032025_03_09_21_4063.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345082752","file1":"1345082716","file0":"1345082681","file4":"1345082854","file5":"1345082907","file3":"1345082801"},"map_files_photo_id_array":[{"photo_id":"1345082907","filename":"file5"},{"photo_id":"1345082752","filename":"file2"},{"photo_id":"1345082854","filename":"file4"},{"photo_id":"1345082716","filename":"file1"},{"photo_id":"1345082681","filename":"file0"},{"photo_id":"1345082801","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345082801":["hashtag1","hashtag2"]},{"1345082854":["hashtag1","hashtag2"]},{"1345082752":["hashtag1","hashtag2"]},{"1345082716":["hashtag1","hashtag2"]},{"1345082907":["hashtag1","hashtag2"]},{"1345082681":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345082801, 1345082854, 1345082752, 1345082716, 1345082907, 1345082681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.09577965736389 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:07:32.083485
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_58_4797.jpg', 2), ('/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_53_3305.jpg', 2), ('/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_50_4014.jpg', 2), ('/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_46_4264.jpg', 2), ('/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_41_4253.jpg', 2), ('/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_37_4210.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_58_4797.jpg', '/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_53_3305.jpg', '/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_50_4014.jpg', '/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_46_4264.jpg', '/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_41_4253.jpg', '/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_37_4210.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_58_4797.jpg
/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_53_3305.jpg
/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_50_4014.jpg
/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_46_4264.jpg
/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_41_4253.jpg
/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_37_4210.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345083187","1345083268","1345083211","1345083297","1345083290","1345083245"],"photo_ids_order":["1345083187","1345083211","1345083245","1345083268","1345083290","1345083297"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3a0eff3d5f8cf6a697ff57daee5da92c.jpg","text":"TemporaryFile(/tmp/multipartBody1354046478779277315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292512547,"filename":"image_18032025_03_08_58_4797.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c28cad17af44f25429d1abc9a18634b6.jpg","text":"TemporaryFile(/tmp/multipartBody722069947892852574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292512547,"filename":"image_18032025_03_08_46_4264.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5d8bd6c18ef5398e1075338be2cf6c60.jpg","text":"TemporaryFile(/tmp/multipartBody8693087597915457161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292512547,"filename":"image_18032025_03_08_53_3305.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/41a42836daca58d866b44b1dc22e832c.jpg","text":"TemporaryFile(/tmp/multipartBody7053260534888313783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292512547,"filename":"image_18032025_03_08_37_4210.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/127af7df83ba49e04a3df9e4e54d9985.jpg","text":"TemporaryFile(/tmp/multipartBody7585655731156562781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292512547,"filename":"image_18032025_03_08_41_4253.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5ee33599d7340de7686ce962480f9435.jpg","text":"TemporaryFile(/tmp/multipartBody5372025340664590882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292512547,"filename":"image_18032025_03_08_50_4014.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345083245","file1":"1345083211","file0":"1345083187","file4":"1345083290","file5":"1345083297","file3":"1345083268"},"map_files_photo_id_array":[{"photo_id":"1345083297","filename":"file5"},{"photo_id":"1345083245","filename":"file2"},{"photo_id":"1345083290","filename":"file4"},{"photo_id":"1345083211","filename":"file1"},{"photo_id":"1345083187","filename":"file0"},{"photo_id":"1345083268","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345083187":["hashtag1","hashtag2"]},{"1345083268":["hashtag1","hashtag2"]},{"1345083211":["hashtag1","hashtag2"]},{"1345083297":["hashtag1","hashtag2"]},{"1345083290":["hashtag1","hashtag2"]},{"1345083245":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345083187, 1345083268, 1345083211, 1345083297, 1345083290, 1345083245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.25647521018982 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:08:32.278880
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_33_3138.jpg', 2), ('/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_30_4147.jpg', 2), ('/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_25_4086.jpg', 2), ('/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_21_4059.jpg', 2), ('/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_17_4063.jpg', 2), ('/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_13_4162.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_33_3138.jpg', '/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_30_4147.jpg', '/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_25_4086.jpg', '/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_21_4059.jpg', '/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_17_4063.jpg', '/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_13_4162.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_33_3138.jpg
/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_30_4147.jpg
/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_25_4086.jpg
/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_21_4059.jpg
/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_17_4063.jpg
/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_13_4162.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345083511","1345083418","1345083438","1345083546","1345083589","1345083496"],"photo_ids_order":["1345083418","1345083438","1345083496","1345083511","1345083546","1345083589"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/511260bd7799aed798ff45fc48965583.jpg","text":"TemporaryFile(/tmp/multipartBody756650024160450682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292572764,"filename":"image_18032025_03_08_21_4059.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7b5fc1dfb88e439cd525197b452b4694.jpg","text":"TemporaryFile(/tmp/multipartBody3343246124171582516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292572764,"filename":"image_18032025_03_08_33_3138.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5d4a4a9c58d60a1a8433602e49710e09.jpg","text":"TemporaryFile(/tmp/multipartBody9196636457016810565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292572764,"filename":"image_18032025_03_08_30_4147.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3d704fef7b0b35392d32089f80c90a28.jpg","text":"TemporaryFile(/tmp/multipartBody7873506921397321878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292572764,"filename":"image_18032025_03_08_17_4063.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/419f7c4d8b60c55b035d39f26ffdaba7.jpg","text":"TemporaryFile(/tmp/multipartBody7582209650055595317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292572764,"filename":"image_18032025_03_08_13_4162.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f89c70f895db3d0f4300797d846709a7.jpg","text":"TemporaryFile(/tmp/multipartBody3672481655407996773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292572764,"filename":"image_18032025_03_08_25_4086.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345083496","file1":"1345083438","file0":"1345083418","file4":"1345083546","file5":"1345083589","file3":"1345083511"},"map_files_photo_id_array":[{"photo_id":"1345083589","filename":"file5"},{"photo_id":"1345083496","filename":"file2"},{"photo_id":"1345083546","filename":"file4"},{"photo_id":"1345083438","filename":"file1"},{"photo_id":"1345083418","filename":"file0"},{"photo_id":"1345083511","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345083511":["hashtag1","hashtag2"]},{"1345083418":["hashtag1","hashtag2"]},{"1345083438":["hashtag1","hashtag2"]},{"1345083546":["hashtag1","hashtag2"]},{"1345083589":["hashtag1","hashtag2"]},{"1345083496":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345083511, 1345083418, 1345083438, 1345083546, 1345083589, 1345083496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.450687408447266 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:09:32.492412
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_09_4090.jpg', 2), ('/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_05_3375.jpg', 2), ('/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_02_4129.jpg', 2), ('/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_58_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_53_4025.jpg', 2), ('/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_49_4017.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_09_4090.jpg', '/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_05_3375.jpg', '/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_02_4129.jpg', '/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_58_4146.jpg', '/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_53_4025.jpg', '/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_49_4017.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_09_4090.jpg
/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_05_3375.jpg
/home/nano/Desktop/images/18032025/03/08/image_18032025_03_08_02_4129.jpg
/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_58_4146.jpg
/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_53_4025.jpg
/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_49_4017.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345083955","1345084136","1345084037","1345083980","1345083917","1345084100"],"photo_ids_order":["1345083917","1345083955","1345083980","1345084037","1345084100","1345084136"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bcc1c236c6b6e576bc0bd3c273623520.jpg","text":"TemporaryFile(/tmp/multipartBody1834122373812156384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292632994,"filename":"image_18032025_03_08_05_3375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3d0510d2401f724325d9d01558a5daf3.jpg","text":"TemporaryFile(/tmp/multipartBody3242750892678440328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292632994,"filename":"image_18032025_03_07_49_4017.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7b0315c44c23149ac234a9623757b382.jpg","text":"TemporaryFile(/tmp/multipartBody5996373390271297677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292632994,"filename":"image_18032025_03_07_58_4146.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9db06587ee8f8970970b8d1ae1136479.jpg","text":"TemporaryFile(/tmp/multipartBody5581146289699734394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292632994,"filename":"image_18032025_03_08_02_4129.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/467915c7aac831fd6478c43e71f0e944.jpg","text":"TemporaryFile(/tmp/multipartBody1775441683936743879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292632994,"filename":"image_18032025_03_08_09_4090.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a12270c34d71c404f9c98aa53180e75b.jpg","text":"TemporaryFile(/tmp/multipartBody6562025983072960819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292632994,"filename":"image_18032025_03_07_53_4025.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345083980","file1":"1345083955","file0":"1345083917","file4":"1345084100","file5":"1345084136","file3":"1345084037"},"map_files_photo_id_array":[{"photo_id":"1345084136","filename":"file5"},{"photo_id":"1345083980","filename":"file2"},{"photo_id":"1345084100","filename":"file4"},{"photo_id":"1345083955","filename":"file1"},{"photo_id":"1345083917","filename":"file0"},{"photo_id":"1345084037","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345083955":["hashtag1","hashtag2"]},{"1345084136":["hashtag1","hashtag2"]},{"1345084037":["hashtag1","hashtag2"]},{"1345083980":["hashtag1","hashtag2"]},{"1345083917":["hashtag1","hashtag2"]},{"1345084100":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345083955, 1345084136, 1345084037, 1345083980, 1345083917, 1345084100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.96888256072998 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:10:32.659603
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_45_4017.jpg', 2), ('/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_41_4204.jpg', 2), ('/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_37_4199.jpg', 2), ('/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_33_4164.jpg', 2), ('/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_29_3127.jpg', 2), ('/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_26_4756.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_45_4017.jpg', '/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_41_4204.jpg', '/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_37_4199.jpg', '/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_33_4164.jpg', '/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_29_3127.jpg', '/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_26_4756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_45_4017.jpg
/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_41_4204.jpg
/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_37_4199.jpg
/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_33_4164.jpg
/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_29_3127.jpg
/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_26_4756.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345084599","1345084626","1345084681","1345084573","1345084732","1345084648"],"photo_ids_order":["1345084573","1345084599","1345084626","1345084648","1345084681","1345084732"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b59ca8b951cfa314eb8c345e51900260.jpg","text":"TemporaryFile(/tmp/multipartBody8916200974020953897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292693153,"filename":"image_18032025_03_07_41_4204.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/45c8f8c49f331dbb21f781f64174e12b.jpg","text":"TemporaryFile(/tmp/multipartBody5511090020957405930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292693153,"filename":"image_18032025_03_07_37_4199.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7b1e3d3bf7f01c8d2650c5f0013c5ce1.jpg","text":"TemporaryFile(/tmp/multipartBody4714023041677315998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292693153,"filename":"image_18032025_03_07_29_3127.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/589a6278f8f593e5dad04095b25b4d15.jpg","text":"TemporaryFile(/tmp/multipartBody2137742957856992965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292693153,"filename":"image_18032025_03_07_45_4017.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/52f3d4c9f8fccfe97f7846655a134c54.jpg","text":"TemporaryFile(/tmp/multipartBody6786697139206201531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292693153,"filename":"image_18032025_03_07_26_4756.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2dce0bad96676373d55396a4944cdd76.jpg","text":"TemporaryFile(/tmp/multipartBody9090346977287139146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292693153,"filename":"image_18032025_03_07_33_4164.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345084626","file1":"1345084599","file0":"1345084573","file4":"1345084681","file5":"1345084732","file3":"1345084648"},"map_files_photo_id_array":[{"photo_id":"1345084732","filename":"file5"},{"photo_id":"1345084626","filename":"file2"},{"photo_id":"1345084681","filename":"file4"},{"photo_id":"1345084599","filename":"file1"},{"photo_id":"1345084573","filename":"file0"},{"photo_id":"1345084648","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345084599":["hashtag1","hashtag2"]},{"1345084626":["hashtag1","hashtag2"]},{"1345084681":["hashtag1","hashtag2"]},{"1345084573":["hashtag1","hashtag2"]},{"1345084732":["hashtag1","hashtag2"]},{"1345084648":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345084599, 1345084626, 1345084681, 1345084573, 1345084732, 1345084648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.09316611289978 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:11:31.820529
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_21_3195.jpg', 2), ('/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_18_4356.jpg', 2), ('/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_13_4238.jpg', 2), ('/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_09_4298.jpg', 2), ('/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_05_3533.jpg', 2), ('/home/nano/Desktop/images/18032025/03/06/image_18032025_03_07_01_3933.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_21_3195.jpg', '/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_18_4356.jpg', '/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_13_4238.jpg', '/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_09_4298.jpg', '/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_05_3533.jpg', '/home/nano/Desktop/images/18032025/03/06/image_18032025_03_07_01_3933.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_21_3195.jpg
/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_18_4356.jpg
/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_13_4238.jpg
/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_09_4298.jpg
/home/nano/Desktop/images/18032025/03/07/image_18032025_03_07_05_3533.jpg
/home/nano/Desktop/images/18032025/03/06/image_18032025_03_07_01_3933.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345085166","1345085025","1345085075","1345085123","1345085155","1345084978"],"photo_ids_order":["1345084978","1345085025","1345085075","1345085123","1345085155","1345085166"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d277773fe7cdf43e16e7d71819ac48d6.jpg","text":"TemporaryFile(/tmp/multipartBody782764896486720543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292752277,"filename":"image_18032025_03_07_01_3933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e668562e83ae809faab13506322f77cd.jpg","text":"TemporaryFile(/tmp/multipartBody1271630011297981747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292752277,"filename":"image_18032025_03_07_18_4356.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/00c8031acf510653440576262f130416.jpg","text":"TemporaryFile(/tmp/multipartBody5697416386663100582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292752277,"filename":"image_18032025_03_07_13_4238.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/538a514b87a06f795cd3d2ee2fc46b45.jpg","text":"TemporaryFile(/tmp/multipartBody3934661848278155276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292752277,"filename":"image_18032025_03_07_09_4298.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/966cb46f03d4f2a4444525f0079f6190.jpg","text":"TemporaryFile(/tmp/multipartBody6403911780269510479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292752277,"filename":"image_18032025_03_07_05_3533.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d37dd6ad77f0e9fb9b3a3aeeff9c388b.jpg","text":"TemporaryFile(/tmp/multipartBody5650402398316016255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292752277,"filename":"image_18032025_03_07_21_3195.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345085075","file1":"1345085025","file0":"1345084978","file4":"1345085155","file5":"1345085166","file3":"1345085123"},"map_files_photo_id_array":[{"photo_id":"1345085166","filename":"file5"},{"photo_id":"1345085075","filename":"file2"},{"photo_id":"1345085155","filename":"file4"},{"photo_id":"1345085025","filename":"file1"},{"photo_id":"1345084978","filename":"file0"},{"photo_id":"1345085123","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345085166":["hashtag1","hashtag2"]},{"1345085025":["hashtag1","hashtag2"]},{"1345085075":["hashtag1","hashtag2"]},{"1345085123":["hashtag1","hashtag2"]},{"1345085155":["hashtag1","hashtag2"]},{"1345084978":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345085166, 1345085025, 1345085075, 1345085123, 1345085155, 1345084978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.424026250839233 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:12:32.027333
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_57_4046.jpg', 2), ('/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_53_4077.jpg', 2), ('/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_49_4193.jpg', 2), ('/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_45_4104.jpg', 2), ('/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_41_4095.jpg', 2), ('/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_37_4087.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_57_4046.jpg', '/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_53_4077.jpg', '/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_49_4193.jpg', '/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_45_4104.jpg', '/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_41_4095.jpg', '/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_37_4087.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_57_4046.jpg
/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_53_4077.jpg
/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_49_4193.jpg
/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_45_4104.jpg
/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_41_4095.jpg
/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_37_4087.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345085217","1345085195","1345085186","1345085231","1345085201","1345085190"],"photo_ids_order":["1345085186","1345085190","1345085195","1345085201","1345085217","1345085231"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/68aca151195588df7e5be64f6497679e.jpg","text":"TemporaryFile(/tmp/multipartBody5408071444564522769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292812517,"filename":"image_18032025_03_06_41_4095.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/00a3064dbe13411e5c721a6e561fdeac.jpg","text":"TemporaryFile(/tmp/multipartBody46813577953602282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292812517,"filename":"image_18032025_03_06_49_4193.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/509b85fa660610046e38408a8cf704b9.jpg","text":"TemporaryFile(/tmp/multipartBody5441137411660384095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292812517,"filename":"image_18032025_03_06_57_4046.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c5935838119382e8980188974b034886.jpg","text":"TemporaryFile(/tmp/multipartBody3493190514487275595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292812517,"filename":"image_18032025_03_06_37_4087.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1423aa6f279b5bfa674d8ebf3521aa99.jpg","text":"TemporaryFile(/tmp/multipartBody1982424248164841455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292812517,"filename":"image_18032025_03_06_45_4104.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ec1491a3d3097a8b17537cae437dd270.jpg","text":"TemporaryFile(/tmp/multipartBody3781361201418877635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292812517,"filename":"image_18032025_03_06_53_4077.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345085195","file1":"1345085190","file0":"1345085186","file4":"1345085217","file5":"1345085231","file3":"1345085201"},"map_files_photo_id_array":[{"photo_id":"1345085231","filename":"file5"},{"photo_id":"1345085195","filename":"file2"},{"photo_id":"1345085217","filename":"file4"},{"photo_id":"1345085190","filename":"file1"},{"photo_id":"1345085186","filename":"file0"},{"photo_id":"1345085201","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345085217":["hashtag1","hashtag2"]},{"1345085195":["hashtag1","hashtag2"]},{"1345085186":["hashtag1","hashtag2"]},{"1345085231":["hashtag1","hashtag2"]},{"1345085201":["hashtag1","hashtag2"]},{"1345085190":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345085217, 1345085195, 1345085186, 1345085231, 1345085201, 1345085190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.555380821228027 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:13:32.181011
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_33_3073.jpg', 2), ('/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_30_4118.jpg', 2), ('/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_26_4149.jpg', 2), ('/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_21_4135.jpg', 2), ('/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_17_4116.jpg', 2), ('/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_13_4189.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_33_3073.jpg', '/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_30_4118.jpg', '/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_26_4149.jpg', '/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_21_4135.jpg', '/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_17_4116.jpg', '/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_13_4189.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_33_3073.jpg
/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_30_4118.jpg
/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_26_4149.jpg
/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_21_4135.jpg
/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_17_4116.jpg
/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_13_4189.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345085247","1345085297","1345085348","1345085365","1345085272","1345085320"],"photo_ids_order":["1345085247","1345085272","1345085297","1345085320","1345085348","1345085365"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3a4955759d7cd7d3af312b2c945c2b9f.jpg","text":"TemporaryFile(/tmp/multipartBody3759017290736489558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292872691,"filename":"image_18032025_03_06_33_3073.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c090a18dc5273abc23a77260a82cb536.jpg","text":"TemporaryFile(/tmp/multipartBody4628287418091928268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292872691,"filename":"image_18032025_03_06_26_4149.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c2765024a8ed5dad637eb84bdca4195a.jpg","text":"TemporaryFile(/tmp/multipartBody6502647111240606132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292872691,"filename":"image_18032025_03_06_17_4116.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/157163c4357d385e481075edf8132b0e.jpg","text":"TemporaryFile(/tmp/multipartBody6619782455351336468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292872691,"filename":"image_18032025_03_06_13_4189.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/14fa6dffd2ded80a4ba5303a2fbe406b.jpg","text":"TemporaryFile(/tmp/multipartBody420756983751410648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292872691,"filename":"image_18032025_03_06_30_4118.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6c6900f0124c32405ea675716ea247b8.jpg","text":"TemporaryFile(/tmp/multipartBody6885783339902846744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292872691,"filename":"image_18032025_03_06_21_4135.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345085297","file1":"1345085272","file0":"1345085247","file4":"1345085348","file5":"1345085365","file3":"1345085320"},"map_files_photo_id_array":[{"photo_id":"1345085365","filename":"file5"},{"photo_id":"1345085297","filename":"file2"},{"photo_id":"1345085348","filename":"file4"},{"photo_id":"1345085272","filename":"file1"},{"photo_id":"1345085247","filename":"file0"},{"photo_id":"1345085320","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345085247":["hashtag1","hashtag2"]},{"1345085297":["hashtag1","hashtag2"]},{"1345085348":["hashtag1","hashtag2"]},{"1345085365":["hashtag1","hashtag2"]},{"1345085272":["hashtag1","hashtag2"]},{"1345085320":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345085247, 1345085297, 1345085348, 1345085365, 1345085272, 1345085320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.27550506591797 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:14:32.332967
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_09_4210.jpg', 2), ('/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_05_3590.jpg', 2), ('/home/nano/Desktop/images/18032025/03/05/image_18032025_03_06_01_4158.jpg', 2), ('/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_57_4223.jpg', 2), ('/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_53_3185.jpg', 2), ('/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_50_4196.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_09_4210.jpg', '/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_05_3590.jpg', '/home/nano/Desktop/images/18032025/03/05/image_18032025_03_06_01_4158.jpg', '/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_57_4223.jpg', '/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_53_3185.jpg', '/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_50_4196.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_09_4210.jpg
/home/nano/Desktop/images/18032025/03/06/image_18032025_03_06_05_3590.jpg
/home/nano/Desktop/images/18032025/03/05/image_18032025_03_06_01_4158.jpg
/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_57_4223.jpg
/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_53_3185.jpg
/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_50_4196.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345085430","1345085436","1345085462","1345085444","1345085482","1345085440"],"photo_ids_order":["1345085430","1345085436","1345085440","1345085444","1345085462","1345085482"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/aec153316d049c027e2ac66957e23e9c.jpg","text":"TemporaryFile(/tmp/multipartBody7630909799430363243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292932831,"filename":"image_18032025_03_06_09_4210.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1509f9de006d3e4cb97763299f8a009d.jpg","text":"TemporaryFile(/tmp/multipartBody7024983136474585356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292932831,"filename":"image_18032025_03_06_05_3590.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/39177050e0b806db5eeabe3ca54ac4f5.jpg","text":"TemporaryFile(/tmp/multipartBody2337655285248436070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292932831,"filename":"image_18032025_03_05_53_3185.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f0d9d4d67b77441d0ae6f628aad9b0e4.jpg","text":"TemporaryFile(/tmp/multipartBody6446108010823244384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292932831,"filename":"image_18032025_03_05_57_4223.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/707ded691b2381f186c726a3d0a6bba8.jpg","text":"TemporaryFile(/tmp/multipartBody7097994926407315631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292932831,"filename":"image_18032025_03_05_50_4196.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/05a9d36ca50ba6589c598da8f90a733a.jpg","text":"TemporaryFile(/tmp/multipartBody1910066930813217782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292932831,"filename":"image_18032025_03_06_01_4158.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345085440","file1":"1345085436","file0":"1345085430","file4":"1345085462","file5":"1345085482","file3":"1345085444"},"map_files_photo_id_array":[{"photo_id":"1345085482","filename":"file5"},{"photo_id":"1345085440","filename":"file2"},{"photo_id":"1345085462","filename":"file4"},{"photo_id":"1345085436","filename":"file1"},{"photo_id":"1345085430","filename":"file0"},{"photo_id":"1345085444","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345085430":["hashtag1","hashtag2"]},{"1345085436":["hashtag1","hashtag2"]},{"1345085462":["hashtag1","hashtag2"]},{"1345085444":["hashtag1","hashtag2"]},{"1345085482":["hashtag1","hashtag2"]},{"1345085440":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345085430, 1345085436, 1345085462, 1345085444, 1345085482, 1345085440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.565770387649536 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:15:32.517344
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_45_4165.jpg', 2), ('/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_41_4171.jpg', 2), ('/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_37_4085.jpg', 2), ('/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_33_3929.jpg', 2), ('/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_29_4305.jpg', 2), ('/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_25_3202.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_45_4165.jpg', '/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_41_4171.jpg', '/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_37_4085.jpg', '/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_33_3929.jpg', '/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_29_4305.jpg', '/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_25_3202.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_45_4165.jpg
/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_41_4171.jpg
/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_37_4085.jpg
/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_33_3929.jpg
/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_29_4305.jpg
/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_25_3202.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345085607","1345085585","1345085615","1345085603","1345085612","1345085598"],"photo_ids_order":["1345085585","1345085598","1345085603","1345085607","1345085612","1345085615"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b629a00c7b4009ff2ada491fe563d373.jpg","text":"TemporaryFile(/tmp/multipartBody3657979946583974773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292993093,"filename":"image_18032025_03_05_33_3929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e264a56c54b508fd976701673329a96d.jpg","text":"TemporaryFile(/tmp/multipartBody217108548973172312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292993093,"filename":"image_18032025_03_05_45_4165.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9498840e7ac95cd7dbd82bf71f80fafc.jpg","text":"TemporaryFile(/tmp/multipartBody7331630902975371373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292993093,"filename":"image_18032025_03_05_25_3202.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2dcaeade8cd6f53477d846478b42830a.jpg","text":"TemporaryFile(/tmp/multipartBody3141631371735278002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292993093,"filename":"image_18032025_03_05_37_4085.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/21bae8f08f11cbd6c11d91c2c8716f15.jpg","text":"TemporaryFile(/tmp/multipartBody3597468045707455687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292993093,"filename":"image_18032025_03_05_29_4305.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c76e96ff3b674fde8e5200a1242b7466.jpg","text":"TemporaryFile(/tmp/multipartBody5973591928657255283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742292993093,"filename":"image_18032025_03_05_41_4171.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345085603","file1":"1345085598","file0":"1345085585","file4":"1345085612","file5":"1345085615","file3":"1345085607"},"map_files_photo_id_array":[{"photo_id":"1345085615","filename":"file5"},{"photo_id":"1345085603","filename":"file2"},{"photo_id":"1345085612","filename":"file4"},{"photo_id":"1345085598","filename":"file1"},{"photo_id":"1345085585","filename":"file0"},{"photo_id":"1345085607","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345085607":["hashtag1","hashtag2"]},{"1345085585":["hashtag1","hashtag2"]},{"1345085615":["hashtag1","hashtag2"]},{"1345085603":["hashtag1","hashtag2"]},{"1345085612":["hashtag1","hashtag2"]},{"1345085598":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345085607, 1345085585, 1345085615, 1345085603, 1345085612, 1345085598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.73944711685181 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:16:32.706750
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_21_4323.jpg', 2), ('/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_17_3476.jpg', 2), ('/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_14_4311.jpg', 2), ('/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_09_4274.jpg', 2), ('/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_05_3606.jpg', 2), ('/home/nano/Desktop/images/18032025/03/04/image_18032025_03_05_02_4157.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_21_4323.jpg', '/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_17_3476.jpg', '/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_14_4311.jpg', '/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_09_4274.jpg', '/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_05_3606.jpg', '/home/nano/Desktop/images/18032025/03/04/image_18032025_03_05_02_4157.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_21_4323.jpg
/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_17_3476.jpg
/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_14_4311.jpg
/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_09_4274.jpg
/home/nano/Desktop/images/18032025/03/05/image_18032025_03_05_05_3606.jpg
/home/nano/Desktop/images/18032025/03/04/image_18032025_03_05_02_4157.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345085646","1345085651","1345085633","1345085665","1345085638","1345085641"],"photo_ids_order":["1345085633","1345085638","1345085641","1345085646","1345085651","1345085665"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2a1ca2f2e416664670a64c84a039ff9e.jpg","text":"TemporaryFile(/tmp/multipartBody1455701255086831864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293053217,"filename":"image_18032025_03_05_09_4274.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cdf4f9fabd95d64a552e566fa87b0370.jpg","text":"TemporaryFile(/tmp/multipartBody5331076092688522326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293053217,"filename":"image_18032025_03_05_05_3606.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/69b5de30c332efe40fc5509bbbd533d5.jpg","text":"TemporaryFile(/tmp/multipartBody6967494415929984460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293053217,"filename":"image_18032025_03_05_21_4323.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0e37c4416a2ce152c19a41f2256e8f54.jpg","text":"TemporaryFile(/tmp/multipartBody209348117120219603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293053217,"filename":"image_18032025_03_05_02_4157.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1f951ec8e7bfcf64d85255a2ba6fa681.jpg","text":"TemporaryFile(/tmp/multipartBody8699414326752220263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293053217,"filename":"image_18032025_03_05_17_3476.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d1f8655544f4549d3ab558a6739c7b07.jpg","text":"TemporaryFile(/tmp/multipartBody2261217162000138226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293053217,"filename":"image_18032025_03_05_14_4311.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345085641","file1":"1345085638","file0":"1345085633","file4":"1345085651","file5":"1345085665","file3":"1345085646"},"map_files_photo_id_array":[{"photo_id":"1345085665","filename":"file5"},{"photo_id":"1345085641","filename":"file2"},{"photo_id":"1345085651","filename":"file4"},{"photo_id":"1345085638","filename":"file1"},{"photo_id":"1345085633","filename":"file0"},{"photo_id":"1345085646","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345085646":["hashtag1","hashtag2"]},{"1345085651":["hashtag1","hashtag2"]},{"1345085633":["hashtag1","hashtag2"]},{"1345085665":["hashtag1","hashtag2"]},{"1345085638":["hashtag1","hashtag2"]},{"1345085641":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345085646, 1345085651, 1345085633, 1345085665, 1345085638, 1345085641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.75382971763611 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:17:31.953942
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_57_4177.jpg', 2), ('/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_53_4166.jpg', 2), ('/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_49_3956.jpg', 2), ('/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_45_4033.jpg', 2), ('/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_41_4111.jpg', 2), ('/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_37_4155.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_57_4177.jpg', '/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_53_4166.jpg', '/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_49_3956.jpg', '/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_45_4033.jpg', '/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_41_4111.jpg', '/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_37_4155.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_57_4177.jpg
/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_53_4166.jpg
/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_49_3956.jpg
/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_45_4033.jpg
/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_41_4111.jpg
/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_37_4155.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345085712","1345085699","1345085708","1345085695","1345085689","1345085704"],"photo_ids_order":["1345085689","1345085695","1345085699","1345085704","1345085708","1345085712"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/eefc8bc77d0cf207ab8fa14847f77cd1.jpg","text":"TemporaryFile(/tmp/multipartBody8586858456704072436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293112499,"filename":"image_18032025_03_04_37_4155.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bc55c931b7b34891fc1281d45cc77497.jpg","text":"TemporaryFile(/tmp/multipartBody5990379222993210616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293112499,"filename":"image_18032025_03_04_49_3956.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d0a6716e80d8fc4230718e6b14f56492.jpg","text":"TemporaryFile(/tmp/multipartBody1059460853658755217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293112499,"filename":"image_18032025_03_04_41_4111.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/80a5d99d8a1b4e78247be690b633233b.jpg","text":"TemporaryFile(/tmp/multipartBody5406152910178731150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293112499,"filename":"image_18032025_03_04_53_4166.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3a4e46dafe0e45eb13b8466a0148d873.jpg","text":"TemporaryFile(/tmp/multipartBody4736806531741681623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293112499,"filename":"image_18032025_03_04_57_4177.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c077bf8137844210b6f937ec77e98874.jpg","text":"TemporaryFile(/tmp/multipartBody6081562488978793739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293112499,"filename":"image_18032025_03_04_45_4033.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345085699","file1":"1345085695","file0":"1345085689","file4":"1345085708","file5":"1345085712","file3":"1345085704"},"map_files_photo_id_array":[{"photo_id":"1345085712","filename":"file5"},{"photo_id":"1345085699","filename":"file2"},{"photo_id":"1345085708","filename":"file4"},{"photo_id":"1345085695","filename":"file1"},{"photo_id":"1345085689","filename":"file0"},{"photo_id":"1345085704","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345085712":["hashtag1","hashtag2"]},{"1345085699":["hashtag1","hashtag2"]},{"1345085708":["hashtag1","hashtag2"]},{"1345085695":["hashtag1","hashtag2"]},{"1345085689":["hashtag1","hashtag2"]},{"1345085704":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345085712, 1345085699, 1345085708, 1345085695, 1345085689, 1345085704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.79292011260986 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:18:32.089322
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_33_4007.jpg', 2), ('/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_29_3773.jpg', 2), ('/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_25_4203.jpg', 2), ('/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_21_3159.jpg', 2), ('/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_18_4201.jpg', 2), ('/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_13_4215.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_33_4007.jpg', '/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_29_3773.jpg', '/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_25_4203.jpg', '/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_21_3159.jpg', '/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_18_4201.jpg', '/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_13_4215.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_33_4007.jpg
/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_29_3773.jpg
/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_25_4203.jpg
/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_21_3159.jpg
/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_18_4201.jpg
/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_13_4215.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.4037752151489258 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:19:03.423143
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_33_4007.jpg', 2), ('/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_29_3773.jpg', 2), ('/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_25_4203.jpg', 2), ('/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_21_3159.jpg', 2), ('/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_18_4201.jpg', 2), ('/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_13_4215.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_33_4007.jpg', '/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_29_3773.jpg', '/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_25_4203.jpg', '/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_21_3159.jpg', '/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_18_4201.jpg', '/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_13_4215.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_33_4007.jpg
/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_29_3773.jpg
/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_25_4203.jpg
/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_21_3159.jpg
/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_18_4201.jpg
/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_13_4215.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345085922","1345085907","1345085912","1345085909","1345085917","1345085914"],"photo_ids_order":["1345085907","1345085909","1345085912","1345085914","1345085917","1345085922"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ac64dceb0932ec867a6e6c4670f6f851.jpg","text":"TemporaryFile(/tmp/multipartBody4022903286424514892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293203962,"filename":"image_18032025_03_04_13_4215.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d504ddf76245c06faf29a8b98506f245.jpg","text":"TemporaryFile(/tmp/multipartBody7015764816085528706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293203962,"filename":"image_18032025_03_04_33_4007.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c7fe8ffcd3f824b6f58c7652037c31ea.jpg","text":"TemporaryFile(/tmp/multipartBody91212274993472871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293203962,"filename":"image_18032025_03_04_25_4203.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7901defb207757ea40b24d30d5980c42.jpg","text":"TemporaryFile(/tmp/multipartBody2454447455966631242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293203962,"filename":"image_18032025_03_04_29_3773.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/87c557bf9e2a2532d41d920f4f606990.jpg","text":"TemporaryFile(/tmp/multipartBody7909940981205174925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293203962,"filename":"image_18032025_03_04_18_4201.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6785e3e2d74448b976aa63ac883c30d1.jpg","text":"TemporaryFile(/tmp/multipartBody1607458394429252548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293203962,"filename":"image_18032025_03_04_21_3159.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345085912","file1":"1345085909","file0":"1345085907","file4":"1345085917","file5":"1345085922","file3":"1345085914"},"map_files_photo_id_array":[{"photo_id":"1345085922","filename":"file5"},{"photo_id":"1345085912","filename":"file2"},{"photo_id":"1345085917","filename":"file4"},{"photo_id":"1345085909","filename":"file1"},{"photo_id":"1345085907","filename":"file0"},{"photo_id":"1345085914","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345085922":["hashtag1","hashtag2"]},{"1345085907":["hashtag1","hashtag2"]},{"1345085912":["hashtag1","hashtag2"]},{"1345085909":["hashtag1","hashtag2"]},{"1345085917":["hashtag1","hashtag2"]},{"1345085914":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345085922, 1345085907, 1345085912, 1345085909, 1345085917, 1345085914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.979366064071655 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:20:03.002955
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_09_4174.jpg', 2), ('/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_05_4269.jpg', 2), ('/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_01_3213.jpg', 2), ('/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_58_4218.jpg', 2), ('/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_53_4226.jpg', 2), ('/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_49_4260.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_09_4174.jpg', '/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_05_4269.jpg', '/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_01_3213.jpg', '/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_58_4218.jpg', '/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_53_4226.jpg', '/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_49_4260.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_09_4174.jpg
/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_05_4269.jpg
/home/nano/Desktop/images/18032025/03/04/image_18032025_03_04_01_3213.jpg
/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_58_4218.jpg
/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_53_4226.jpg
/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_49_4260.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345086079","1345086076","1345086084","1345086087","1345086072","1345086069"],"photo_ids_order":["1345086069","1345086072","1345086076","1345086079","1345086084","1345086087"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d9eeba7117086f5dc3f136b13d3d239b.jpg","text":"TemporaryFile(/tmp/multipartBody8229818103850774796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293263555,"filename":"image_18032025_03_03_58_4218.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0707f20230ec16da2fbd3ded46eb7eab.jpg","text":"TemporaryFile(/tmp/multipartBody732874105401782735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293263555,"filename":"image_18032025_03_04_01_3213.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/22ea5e97c93ce0b65988b14f3dcfbc3c.jpg","text":"TemporaryFile(/tmp/multipartBody1852050787310761128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293263555,"filename":"image_18032025_03_03_53_4226.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8b62b4079af2caf99489b5b98a4b7fa6.jpg","text":"TemporaryFile(/tmp/multipartBody4672414407883777927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293263555,"filename":"image_18032025_03_03_49_4260.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/979dbcb233007712820f4a16fb2ea08b.jpg","text":"TemporaryFile(/tmp/multipartBody4762862602664841786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293263555,"filename":"image_18032025_03_04_05_4269.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dcc2b4d1399ca6fe00db16184fa6db1a.jpg","text":"TemporaryFile(/tmp/multipartBody6297482602582407846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293263555,"filename":"image_18032025_03_04_09_4174.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345086076","file1":"1345086072","file0":"1345086069","file4":"1345086084","file5":"1345086087","file3":"1345086079"},"map_files_photo_id_array":[{"photo_id":"1345086087","filename":"file5"},{"photo_id":"1345086076","filename":"file2"},{"photo_id":"1345086084","filename":"file4"},{"photo_id":"1345086072","filename":"file1"},{"photo_id":"1345086069","filename":"file0"},{"photo_id":"1345086079","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345086079":["hashtag1","hashtag2"]},{"1345086076":["hashtag1","hashtag2"]},{"1345086084":["hashtag1","hashtag2"]},{"1345086087":["hashtag1","hashtag2"]},{"1345086072":["hashtag1","hashtag2"]},{"1345086069":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345086079, 1345086076, 1345086084, 1345086087, 1345086072, 1345086069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.251259565353394 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:21:03.214296
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_45_4107.jpg', 2), ('/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_41_3183.jpg', 2), ('/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_38_4070.jpg', 2), ('/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_33_4044.jpg', 2), ('/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_29_4277.jpg', 2), ('/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_25_4371.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_45_4107.jpg', '/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_41_3183.jpg', '/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_38_4070.jpg', '/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_33_4044.jpg', '/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_29_4277.jpg', '/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_25_4371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_45_4107.jpg
/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_41_3183.jpg
/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_38_4070.jpg
/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_33_4044.jpg
/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_29_4277.jpg
/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_25_4371.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345086224","1345086146","1345086202","1345086124","1345086168","1345086111"],"photo_ids_order":["1345086111","1345086124","1345086146","1345086168","1345086202","1345086224"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5c512f2aaf4bc3498e5d0aa21140f87a.jpg","text":"TemporaryFile(/tmp/multipartBody1378067953615795864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293323735,"filename":"image_18032025_03_03_25_4371.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/515bad06307116696ae26bf2c9d466a3.jpg","text":"TemporaryFile(/tmp/multipartBody1330680484286666281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293323735,"filename":"image_18032025_03_03_38_4070.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/56f0e97d9b87b7f0227c39973fc08d55.jpg","text":"TemporaryFile(/tmp/multipartBody8850969769241775940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293323735,"filename":"image_18032025_03_03_29_4277.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ecf5150d295cd568a0bad6befd0ef0a7.jpg","text":"TemporaryFile(/tmp/multipartBody5638961842401907367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293323735,"filename":"image_18032025_03_03_41_3183.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1dc2289faa4f191a85f36a93c20d0a1f.jpg","text":"TemporaryFile(/tmp/multipartBody5965402062338166526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293323735,"filename":"image_18032025_03_03_33_4044.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/276ac8e8a03441873a7201c00b987457.jpg","text":"TemporaryFile(/tmp/multipartBody4027313735358465803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293323735,"filename":"image_18032025_03_03_45_4107.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345086146","file1":"1345086124","file0":"1345086111","file4":"1345086202","file5":"1345086224","file3":"1345086168"},"map_files_photo_id_array":[{"photo_id":"1345086224","filename":"file5"},{"photo_id":"1345086146","filename":"file2"},{"photo_id":"1345086202","filename":"file4"},{"photo_id":"1345086124","filename":"file1"},{"photo_id":"1345086111","filename":"file0"},{"photo_id":"1345086168","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345086224":["hashtag1","hashtag2"]},{"1345086146":["hashtag1","hashtag2"]},{"1345086202":["hashtag1","hashtag2"]},{"1345086124":["hashtag1","hashtag2"]},{"1345086168":["hashtag1","hashtag2"]},{"1345086111":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345086224, 1345086146, 1345086202, 1345086124, 1345086168, 1345086111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.87701463699341 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:22:03.413094
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_21_3145.jpg', 2), ('/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_18_4249.jpg', 2), ('/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_13_4262.jpg', 2), ('/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_09_4216.jpg', 2), ('/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_05_3569.jpg', 2), ('/home/nano/Desktop/images/18032025/03/02/image_18032025_03_03_01_4142.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_21_3145.jpg', '/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_18_4249.jpg', '/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_13_4262.jpg', '/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_09_4216.jpg', '/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_05_3569.jpg', '/home/nano/Desktop/images/18032025/03/02/image_18032025_03_03_01_4142.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_21_3145.jpg
/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_18_4249.jpg
/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_13_4262.jpg
/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_09_4216.jpg
/home/nano/Desktop/images/18032025/03/03/image_18032025_03_03_05_3569.jpg
/home/nano/Desktop/images/18032025/03/02/image_18032025_03_03_01_4142.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345086405","1345086407","1345086478","1345086412","1345086400","1345086438"],"photo_ids_order":["1345086400","1345086405","1345086407","1345086412","1345086438","1345086478"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/04f94da73dcad81990ec5dfd033b5588.jpg","text":"TemporaryFile(/tmp/multipartBody3308261373281227315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293383971,"filename":"image_18032025_03_03_18_4249.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7ed7f791b6b7172d20779c64594de4e6.jpg","text":"TemporaryFile(/tmp/multipartBody8547807095317562465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293383971,"filename":"image_18032025_03_03_13_4262.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/105c1219cd34a85c098e1f809601b4ae.jpg","text":"TemporaryFile(/tmp/multipartBody5841758079788335127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293383971,"filename":"image_18032025_03_03_01_4142.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f85d3a581270672538efb7a66ffb1463.jpg","text":"TemporaryFile(/tmp/multipartBody4363206687103472779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293383971,"filename":"image_18032025_03_03_09_4216.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cf91f5ef431e4d6df8471353efbb8995.jpg","text":"TemporaryFile(/tmp/multipartBody7701107548096627995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293383971,"filename":"image_18032025_03_03_21_3145.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dd54eba59aee5824ab23598890a36a26.jpg","text":"TemporaryFile(/tmp/multipartBody456608910144112020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293383971,"filename":"image_18032025_03_03_05_3569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345086407","file1":"1345086405","file0":"1345086400","file4":"1345086438","file5":"1345086478","file3":"1345086412"},"map_files_photo_id_array":[{"photo_id":"1345086478","filename":"file5"},{"photo_id":"1345086407","filename":"file2"},{"photo_id":"1345086438","filename":"file4"},{"photo_id":"1345086405","filename":"file1"},{"photo_id":"1345086400","filename":"file0"},{"photo_id":"1345086412","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345086405":["hashtag1","hashtag2"]},{"1345086407":["hashtag1","hashtag2"]},{"1345086478":["hashtag1","hashtag2"]},{"1345086412":["hashtag1","hashtag2"]},{"1345086400":["hashtag1","hashtag2"]},{"1345086438":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345086405, 1345086407, 1345086478, 1345086412, 1345086400, 1345086438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.78354001045227 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:23:02.768640
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_57_4178.jpg', 2), ('/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_53_3756.jpg', 2), ('/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_49_4111.jpg', 2), ('/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_45_4072.jpg', 2), ('/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_41_4050.jpg', 2), ('/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_37_4155.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_57_4178.jpg', '/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_53_3756.jpg', '/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_49_4111.jpg', '/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_45_4072.jpg', '/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_41_4050.jpg', '/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_37_4155.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_57_4178.jpg
/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_53_3756.jpg
/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_49_4111.jpg
/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_45_4072.jpg
/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_41_4050.jpg
/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_37_4155.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345086590","1345086592","1345086589","1345086591","1345086588","1345086600"],"photo_ids_order":["1345086588","1345086589","1345086590","1345086591","1345086592","1345086600"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3b3eb67e6845b6d9fe2963409aa6112a.jpg","text":"TemporaryFile(/tmp/multipartBody2804949094717697473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293443256,"filename":"image_18032025_03_02_49_4111.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6ae981eca8fdaf9b9c3d8afa54bf6f52.jpg","text":"TemporaryFile(/tmp/multipartBody7903353329824673452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293443256,"filename":"image_18032025_03_02_41_4050.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b684bc890c1eaef8060fad9c4feaa057.jpg","text":"TemporaryFile(/tmp/multipartBody2487739480780988270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293443256,"filename":"image_18032025_03_02_53_3756.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fd877c5fa72c5cb1478a0a681dfd8adb.jpg","text":"TemporaryFile(/tmp/multipartBody8601145345123724896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293443256,"filename":"image_18032025_03_02_45_4072.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e630a800aae30d5d1c0a83926879662c.jpg","text":"TemporaryFile(/tmp/multipartBody2498837498446834971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293443256,"filename":"image_18032025_03_02_57_4178.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d30362f301eb56eed36e93aa73f7a8d0.jpg","text":"TemporaryFile(/tmp/multipartBody4843944569826736339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293443256,"filename":"image_18032025_03_02_37_4155.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345086590","file1":"1345086589","file0":"1345086588","file4":"1345086592","file5":"1345086600","file3":"1345086591"},"map_files_photo_id_array":[{"photo_id":"1345086600","filename":"file5"},{"photo_id":"1345086590","filename":"file2"},{"photo_id":"1345086592","filename":"file4"},{"photo_id":"1345086589","filename":"file1"},{"photo_id":"1345086588","filename":"file0"},{"photo_id":"1345086591","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345086590":["hashtag1","hashtag2"]},{"1345086592":["hashtag1","hashtag2"]},{"1345086589":["hashtag1","hashtag2"]},{"1345086591":["hashtag1","hashtag2"]},{"1345086588":["hashtag1","hashtag2"]},{"1345086600":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345086590, 1345086592, 1345086589, 1345086591, 1345086588, 1345086600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.69918465614319 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:24:03.415699
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_33_4108.jpg', 2), ('/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_29_3100.jpg', 2), ('/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_26_4024.jpg', 2), ('/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_22_4187.jpg', 2), ('/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_17_3821.jpg', 2), ('/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_14_4153.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_33_4108.jpg', '/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_29_3100.jpg', '/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_26_4024.jpg', '/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_22_4187.jpg', '/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_17_3821.jpg', '/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_14_4153.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_33_4108.jpg
/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_29_3100.jpg
/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_26_4024.jpg
/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_22_4187.jpg
/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_17_3821.jpg
/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_14_4153.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345086773","1345086776","1345086770","1345086772","1345086771","1345086768"],"photo_ids_order":["1345086768","1345086770","1345086771","1345086772","1345086773","1345086776"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2d49e011769f329badb39de10800a3db.jpg","text":"TemporaryFile(/tmp/multipartBody7396601882398772308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293503951,"filename":"image_18032025_03_02_17_3821.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/93b107cc32b192bcb17dcfbbfc65ce8b.jpg","text":"TemporaryFile(/tmp/multipartBody1231765572330944329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293503951,"filename":"image_18032025_03_02_14_4153.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/baaa96ece454ac5e51beb2a72eef62ac.jpg","text":"TemporaryFile(/tmp/multipartBody2755868767291817346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293503951,"filename":"image_18032025_03_02_29_3100.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/39f455dac44422556aef2597e8160066.jpg","text":"TemporaryFile(/tmp/multipartBody9116585690227447956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293503951,"filename":"image_18032025_03_02_22_4187.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/76500b8b758177ba008d23d7ba013edf.jpg","text":"TemporaryFile(/tmp/multipartBody5934010457492760162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293503951,"filename":"image_18032025_03_02_26_4024.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d56f8cd4e9f7233ba310008a55dd05fa.jpg","text":"TemporaryFile(/tmp/multipartBody6229960610152383533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293503951,"filename":"image_18032025_03_02_33_4108.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345086771","file1":"1345086770","file0":"1345086768","file4":"1345086773","file5":"1345086776","file3":"1345086772"},"map_files_photo_id_array":[{"photo_id":"1345086776","filename":"file5"},{"photo_id":"1345086771","filename":"file2"},{"photo_id":"1345086773","filename":"file4"},{"photo_id":"1345086770","filename":"file1"},{"photo_id":"1345086768","filename":"file0"},{"photo_id":"1345086772","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345086773":["hashtag1","hashtag2"]},{"1345086776":["hashtag1","hashtag2"]},{"1345086770":["hashtag1","hashtag2"]},{"1345086772":["hashtag1","hashtag2"]},{"1345086771":["hashtag1","hashtag2"]},{"1345086768":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345086773, 1345086776, 1345086770, 1345086772, 1345086771, 1345086768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.65371084213257 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:25:03.001693
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_09_4124.jpg', 2), ('/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_05_3733.jpg', 2), ('/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_02_4231.jpg', 2), ('/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_57_4220.jpg', 2), ('/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_53_4214.jpg', 2), ('/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_49_4083.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_09_4124.jpg', '/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_05_3733.jpg', '/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_02_4231.jpg', '/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_57_4220.jpg', '/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_53_4214.jpg', '/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_49_4083.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_09_4124.jpg
/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_05_3733.jpg
/home/nano/Desktop/images/18032025/03/02/image_18032025_03_02_02_4231.jpg
/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_57_4220.jpg
/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_53_4214.jpg
/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_49_4083.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345086921","1345086965","1345086895","1345086990","1345086943","1345086861"],"photo_ids_order":["1345086861","1345086895","1345086921","1345086943","1345086965","1345086990"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/04810897760315831b3cec95f4554dd0.jpg","text":"TemporaryFile(/tmp/multipartBody1943815531728398432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293563561,"filename":"image_18032025_03_02_02_4231.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2d74e8a887a8aa5596529cc1ab14aabf.jpg","text":"TemporaryFile(/tmp/multipartBody2462755734277635628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293563561,"filename":"image_18032025_03_01_53_4214.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d6dcddb4370484a8a1b279a8eb0ed1a4.jpg","text":"TemporaryFile(/tmp/multipartBody2488108158263105950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293563561,"filename":"image_18032025_03_02_05_3733.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0d3d8e6f64744783ad78777049c79f9b.jpg","text":"TemporaryFile(/tmp/multipartBody1943317148318398871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293563561,"filename":"image_18032025_03_01_49_4083.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/add734bc9b3c7ecdd7920621cfeb1c99.jpg","text":"TemporaryFile(/tmp/multipartBody2832476619885938814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293563561,"filename":"image_18032025_03_01_57_4220.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/73c6db6487c6a9da29efa3bbd550728a.jpg","text":"TemporaryFile(/tmp/multipartBody3575245605924658518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293563561,"filename":"image_18032025_03_02_09_4124.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345086921","file1":"1345086895","file0":"1345086861","file4":"1345086965","file5":"1345086990","file3":"1345086943"},"map_files_photo_id_array":[{"photo_id":"1345086990","filename":"file5"},{"photo_id":"1345086921","filename":"file2"},{"photo_id":"1345086965","filename":"file4"},{"photo_id":"1345086895","filename":"file1"},{"photo_id":"1345086861","filename":"file0"},{"photo_id":"1345086943","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345086921":["hashtag1","hashtag2"]},{"1345086965":["hashtag1","hashtag2"]},{"1345086895":["hashtag1","hashtag2"]},{"1345086990":["hashtag1","hashtag2"]},{"1345086943":["hashtag1","hashtag2"]},{"1345086861":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345086921, 1345086965, 1345086895, 1345086990, 1345086943, 1345086861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.86390542984009 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:26:03.264404
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_45_3158.jpg', 2), ('/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_42_4137.jpg', 2), ('/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_38_4144.jpg', 2), ('/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_33_3810.jpg', 2), ('/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_30_4249.jpg', 2), ('/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_25_4276.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_45_3158.jpg', '/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_42_4137.jpg', '/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_38_4144.jpg', '/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_33_3810.jpg', '/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_30_4249.jpg', '/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_25_4276.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_45_3158.jpg
/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_42_4137.jpg
/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_38_4144.jpg
/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_33_3810.jpg
/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_30_4249.jpg
/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_25_4276.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345087238","1345087180","1345087261","1345087197","1345087287","1345087215"],"photo_ids_order":["1345087180","1345087197","1345087215","1345087238","1345087261","1345087287"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/df33b91beaf04caac5577fbad547104e.jpg","text":"TemporaryFile(/tmp/multipartBody7361869687272209192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293623788,"filename":"image_18032025_03_01_33_3810.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/29c9eeb3dcced5dd66cf9185b748693e.jpg","text":"TemporaryFile(/tmp/multipartBody4763338807817206052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293623788,"filename":"image_18032025_03_01_45_3158.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8a7efb9d52a48a42e62f206cbb93a22a.jpg","text":"TemporaryFile(/tmp/multipartBody5587412283858088050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293623788,"filename":"image_18032025_03_01_30_4249.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5a64ee1d2b4e08afbbb3898e07bcfdbf.jpg","text":"TemporaryFile(/tmp/multipartBody3159713811694534839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293623788,"filename":"image_18032025_03_01_42_4137.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cc1a364b3df6e64c5177aa230c30deda.jpg","text":"TemporaryFile(/tmp/multipartBody2643139316250256292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293623788,"filename":"image_18032025_03_01_25_4276.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bad08faab0bbd066f413999f15d6458a.jpg","text":"TemporaryFile(/tmp/multipartBody3771821289211351661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293623788,"filename":"image_18032025_03_01_38_4144.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345087215","file1":"1345087197","file0":"1345087180","file4":"1345087261","file5":"1345087287","file3":"1345087238"},"map_files_photo_id_array":[{"photo_id":"1345087287","filename":"file5"},{"photo_id":"1345087215","filename":"file2"},{"photo_id":"1345087261","filename":"file4"},{"photo_id":"1345087197","filename":"file1"},{"photo_id":"1345087180","filename":"file0"},{"photo_id":"1345087238","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345087238":["hashtag1","hashtag2"]},{"1345087180":["hashtag1","hashtag2"]},{"1345087261":["hashtag1","hashtag2"]},{"1345087197":["hashtag1","hashtag2"]},{"1345087287":["hashtag1","hashtag2"]},{"1345087215":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345087238, 1345087180, 1345087261, 1345087197, 1345087287, 1345087215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.059162855148315 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:27:03.535635
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_21_4246.jpg', 2), ('/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_17_3217.jpg', 2), ('/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_14_4274.jpg', 2), ('/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_09_4380.jpg', 2), ('/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_05_4013.jpg', 2), ('/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_01_3271.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_21_4246.jpg', '/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_17_3217.jpg', '/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_14_4274.jpg', '/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_09_4380.jpg', '/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_05_4013.jpg', '/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_01_3271.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_21_4246.jpg
/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_17_3217.jpg
/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_14_4274.jpg
/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_09_4380.jpg
/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_05_4013.jpg
/home/nano/Desktop/images/18032025/03/01/image_18032025_03_01_01_3271.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345087523","1345087532","1345087502","1345087492","1345087480","1345087525"],"photo_ids_order":["1345087480","1345087492","1345087502","1345087523","1345087525","1345087532"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b0d51c1bb998b0c022cc2a6d8e40c07b.jpg","text":"TemporaryFile(/tmp/multipartBody3601040110130865978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293684082,"filename":"image_18032025_03_01_09_4380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0f6bbe6341058199ae03708d49828208.jpg","text":"TemporaryFile(/tmp/multipartBody1390617321582073481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293684082,"filename":"image_18032025_03_01_01_3271.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9d1fd6b56e402c263a2f74869ed19c69.jpg","text":"TemporaryFile(/tmp/multipartBody357212973160462691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293684082,"filename":"image_18032025_03_01_14_4274.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e39c9a505d2f80810ea14666401a3ef7.jpg","text":"TemporaryFile(/tmp/multipartBody6418641966515953473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293684082,"filename":"image_18032025_03_01_17_3217.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dd0a441c59b369bd2c012dd9766831ba.jpg","text":"TemporaryFile(/tmp/multipartBody4817075004315536058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293684082,"filename":"image_18032025_03_01_21_4246.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/65a2aa4f056d9dd7ab0a5ca86a1a5aa4.jpg","text":"TemporaryFile(/tmp/multipartBody9214614198709850804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293684082,"filename":"image_18032025_03_01_05_4013.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345087502","file1":"1345087492","file0":"1345087480","file4":"1345087525","file5":"1345087532","file3":"1345087523"},"map_files_photo_id_array":[{"photo_id":"1345087532","filename":"file5"},{"photo_id":"1345087502","filename":"file2"},{"photo_id":"1345087525","filename":"file4"},{"photo_id":"1345087492","filename":"file1"},{"photo_id":"1345087480","filename":"file0"},{"photo_id":"1345087523","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345087523":["hashtag1","hashtag2"]},{"1345087532":["hashtag1","hashtag2"]},{"1345087502":["hashtag1","hashtag2"]},{"1345087492":["hashtag1","hashtag2"]},{"1345087480":["hashtag1","hashtag2"]},{"1345087525":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345087523, 1345087532, 1345087502, 1345087492, 1345087480, 1345087525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.807860136032104 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:28:02.721636
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_58_4297.jpg', 2), ('/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_53_4399.jpg', 2), ('/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_49_3375.jpg', 2), ('/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_46_4020.jpg', 2), ('/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_42_3976.jpg', 2), ('/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_38_4063.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_58_4297.jpg', '/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_53_4399.jpg', '/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_49_3375.jpg', '/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_46_4020.jpg', '/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_42_3976.jpg', '/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_38_4063.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_58_4297.jpg
/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_53_4399.jpg
/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_49_3375.jpg
/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_46_4020.jpg
/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_42_3976.jpg
/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_38_4063.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345087637","1345087651","1345087654","1345087657","1345087653","1345087652"],"photo_ids_order":["1345087637","1345087651","1345087652","1345087653","1345087654","1345087657"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6e14bac93c272e2caf846f475b57523a.jpg","text":"TemporaryFile(/tmp/multipartBody5174349312399436629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293743263,"filename":"image_18032025_03_00_58_4297.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d5cc43d80bac4e445355f8571d05b1ef.jpg","text":"TemporaryFile(/tmp/multipartBody804843639272372361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293743263,"filename":"image_18032025_03_00_53_4399.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/efcea854a675ef35e25179db6211af44.jpg","text":"TemporaryFile(/tmp/multipartBody2237087452038483756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293743263,"filename":"image_18032025_03_00_42_3976.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/66674d212d7865f4c4cfd65f28c24074.jpg","text":"TemporaryFile(/tmp/multipartBody2304097232913293310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293743263,"filename":"image_18032025_03_00_38_4063.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2b2684b3125db3d9a04c35299af86891.jpg","text":"TemporaryFile(/tmp/multipartBody8890996852352902176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293743263,"filename":"image_18032025_03_00_46_4020.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b3765ac5725fe08cbb2f5220ce3dc4bc.jpg","text":"TemporaryFile(/tmp/multipartBody998223108439044190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293743263,"filename":"image_18032025_03_00_49_3375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345087652","file1":"1345087651","file0":"1345087637","file4":"1345087654","file5":"1345087657","file3":"1345087653"},"map_files_photo_id_array":[{"photo_id":"1345087657","filename":"file5"},{"photo_id":"1345087652","filename":"file2"},{"photo_id":"1345087654","filename":"file4"},{"photo_id":"1345087651","filename":"file1"},{"photo_id":"1345087637","filename":"file0"},{"photo_id":"1345087653","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345087637":["hashtag1","hashtag2"]},{"1345087651":["hashtag1","hashtag2"]},{"1345087654":["hashtag1","hashtag2"]},{"1345087657":["hashtag1","hashtag2"]},{"1345087653":["hashtag1","hashtag2"]},{"1345087652":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345087637, 1345087651, 1345087654, 1345087657, 1345087653, 1345087652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.489304065704346 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:29:03.180776
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_34_4108.jpg', 2), ('/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_29_4145.jpg', 2), ('/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_25_4200.jpg', 2), ('/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_21_4208.jpg', 2), ('/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_17_4182.jpg', 2), ('/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_13_3202.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_34_4108.jpg', '/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_29_4145.jpg', '/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_25_4200.jpg', '/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_21_4208.jpg', '/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_17_4182.jpg', '/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_13_3202.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_34_4108.jpg
/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_29_4145.jpg
/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_25_4200.jpg
/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_21_4208.jpg
/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_17_4182.jpg
/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_13_3202.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345087820","1345087739","1345087693","1345087764","1345087790","1345087716"],"photo_ids_order":["1345087693","1345087716","1345087739","1345087764","1345087790","1345087820"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b2b8340588ef89d3cb5a3e28f76f54e9.jpg","text":"TemporaryFile(/tmp/multipartBody5205553441015080204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293803727,"filename":"image_18032025_03_00_13_3202.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/faee159e72a0e98cfd603b98d85d06ec.jpg","text":"TemporaryFile(/tmp/multipartBody8517803976053789499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293803727,"filename":"image_18032025_03_00_25_4200.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b404059fd4376d82c76ed195330b18b9.jpg","text":"TemporaryFile(/tmp/multipartBody1247849200709031447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293803727,"filename":"image_18032025_03_00_34_4108.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8152b0cf7970fce71d69d40a79ea701a.jpg","text":"TemporaryFile(/tmp/multipartBody9203350407296130124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293803727,"filename":"image_18032025_03_00_21_4208.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b82d01aae97351e55d720f03d9d8961f.jpg","text":"TemporaryFile(/tmp/multipartBody2701864026255371174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293803727,"filename":"image_18032025_03_00_17_4182.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4031a646b92f914e395ef616ab3f9cbc.jpg","text":"TemporaryFile(/tmp/multipartBody7441936917668119739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293803727,"filename":"image_18032025_03_00_29_4145.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345087739","file1":"1345087716","file0":"1345087693","file4":"1345087790","file5":"1345087820","file3":"1345087764"},"map_files_photo_id_array":[{"photo_id":"1345087820","filename":"file5"},{"photo_id":"1345087739","filename":"file2"},{"photo_id":"1345087790","filename":"file4"},{"photo_id":"1345087716","filename":"file1"},{"photo_id":"1345087693","filename":"file0"},{"photo_id":"1345087764","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345087820":["hashtag1","hashtag2"]},{"1345087739":["hashtag1","hashtag2"]},{"1345087693":["hashtag1","hashtag2"]},{"1345087764":["hashtag1","hashtag2"]},{"1345087790":["hashtag1","hashtag2"]},{"1345087716":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345087820, 1345087739, 1345087693, 1345087764, 1345087790, 1345087716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.628066539764404 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:30:03.026079
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_09_4235.jpg', 2), ('/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_05_3589.jpg', 2), ('/home/nano/Desktop/images/18032025/02/59/image_18032025_03_00_02_3979.jpg', 2), ('/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_58_4183.jpg', 2), ('/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_54_4214.jpg', 2), ('/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_49_4187.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_09_4235.jpg', '/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_05_3589.jpg', '/home/nano/Desktop/images/18032025/02/59/image_18032025_03_00_02_3979.jpg', '/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_58_4183.jpg', '/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_54_4214.jpg', '/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_49_4187.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_09_4235.jpg
/home/nano/Desktop/images/18032025/03/00/image_18032025_03_00_05_3589.jpg
/home/nano/Desktop/images/18032025/02/59/image_18032025_03_00_02_3979.jpg
/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_58_4183.jpg
/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_54_4214.jpg
/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_49_4187.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345087955","1345087960","1345087951","1345087965","1345087953","1345087950"],"photo_ids_order":["1345087950","1345087951","1345087953","1345087955","1345087960","1345087965"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b02393149710e7bb2edc334a1d50f47f.jpg","text":"TemporaryFile(/tmp/multipartBody4406780602295325882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293863552,"filename":"image_18032025_02_59_58_4183.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1bd357742fd4000f52033d855922d56b.jpg","text":"TemporaryFile(/tmp/multipartBody5185293658252609662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293863552,"filename":"image_18032025_02_59_54_4214.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f38b8db2b541260292deb227173daca3.jpg","text":"TemporaryFile(/tmp/multipartBody243878584265572025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293863552,"filename":"image_18032025_03_00_05_3589.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c5b2aed3e2f970bb7bcda12daf414e4f.jpg","text":"TemporaryFile(/tmp/multipartBody2304265247261964506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293863552,"filename":"image_18032025_02_59_49_4187.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/97c91ab53168b5537c84d4f05d78c241.jpg","text":"TemporaryFile(/tmp/multipartBody8560757504911325089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293863552,"filename":"image_18032025_03_00_02_3979.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a83e619f6a61f15ada83d9665c82fe7a.jpg","text":"TemporaryFile(/tmp/multipartBody6059866057427896053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293863552,"filename":"image_18032025_03_00_09_4235.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345087953","file1":"1345087951","file0":"1345087950","file4":"1345087960","file5":"1345087965","file3":"1345087955"},"map_files_photo_id_array":[{"photo_id":"1345087965","filename":"file5"},{"photo_id":"1345087953","filename":"file2"},{"photo_id":"1345087960","filename":"file4"},{"photo_id":"1345087951","filename":"file1"},{"photo_id":"1345087950","filename":"file0"},{"photo_id":"1345087955","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345087955":["hashtag1","hashtag2"]},{"1345087960":["hashtag1","hashtag2"]},{"1345087951":["hashtag1","hashtag2"]},{"1345087965":["hashtag1","hashtag2"]},{"1345087953":["hashtag1","hashtag2"]},{"1345087950":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345087955, 1345087960, 1345087951, 1345087965, 1345087953, 1345087950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54583787918091 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:31:03.059566
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_45_4268.jpg', 2), ('/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_41_3255.jpg', 2), ('/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_38_4283.jpg', 2), ('/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_33_3998.jpg', 2), ('/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_29_4223.jpg', 2), ('/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_25_4215.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_45_4268.jpg', '/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_41_3255.jpg', '/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_38_4283.jpg', '/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_33_3998.jpg', '/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_29_4223.jpg', '/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_25_4215.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_45_4268.jpg
/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_41_3255.jpg
/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_38_4283.jpg
/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_33_3998.jpg
/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_29_4223.jpg
/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_25_4215.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345088024","1345088026","1345088028","1345088025","1345088030","1345088027"],"photo_ids_order":["1345088024","1345088025","1345088026","1345088027","1345088028","1345088030"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9b5947f4b11490c22429899021a537d7.jpg","text":"TemporaryFile(/tmp/multipartBody7391268548733663088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293923581,"filename":"image_18032025_02_59_45_4268.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ec4bd0d4a5fee13ca5244147c94d8cf0.jpg","text":"TemporaryFile(/tmp/multipartBody1699253177177814192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293923581,"filename":"image_18032025_02_59_38_4283.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0b48e2600c010d6354268cd71f1bbaaa.jpg","text":"TemporaryFile(/tmp/multipartBody8939436191391060366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293923581,"filename":"image_18032025_02_59_29_4223.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/11cf1c249cbbe9911d00760d03c08911.jpg","text":"TemporaryFile(/tmp/multipartBody6933787517191284654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293923581,"filename":"image_18032025_02_59_41_3255.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ed97a98898dbac3dc72ee8f6de1fc80d.jpg","text":"TemporaryFile(/tmp/multipartBody3723532721885617943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293923581,"filename":"image_18032025_02_59_25_4215.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1d9fce0422043972edb3fabc040ba8b0.jpg","text":"TemporaryFile(/tmp/multipartBody6124405232320386053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293923581,"filename":"image_18032025_02_59_33_3998.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345088026","file1":"1345088025","file0":"1345088024","file4":"1345088028","file5":"1345088030","file3":"1345088027"},"map_files_photo_id_array":[{"photo_id":"1345088030","filename":"file5"},{"photo_id":"1345088026","filename":"file2"},{"photo_id":"1345088028","filename":"file4"},{"photo_id":"1345088025","filename":"file1"},{"photo_id":"1345088024","filename":"file0"},{"photo_id":"1345088027","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345088024":["hashtag1","hashtag2"]},{"1345088026":["hashtag1","hashtag2"]},{"1345088028":["hashtag1","hashtag2"]},{"1345088025":["hashtag1","hashtag2"]},{"1345088030":["hashtag1","hashtag2"]},{"1345088027":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345088024, 1345088026, 1345088028, 1345088025, 1345088030, 1345088027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.61180925369263 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:32:03.527914
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_21_3211.jpg', 2), ('/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_18_4213.jpg', 2), ('/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_13_4066.jpg', 2), ('/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_09_4334.jpg', 2), ('/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_05_3785.jpg', 2), ('/home/nano/Desktop/images/18032025/02/58/image_18032025_02_59_01_4321.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_21_3211.jpg', '/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_18_4213.jpg', '/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_13_4066.jpg', '/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_09_4334.jpg', '/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_05_3785.jpg', '/home/nano/Desktop/images/18032025/02/58/image_18032025_02_59_01_4321.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_21_3211.jpg
/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_18_4213.jpg
/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_13_4066.jpg
/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_09_4334.jpg
/home/nano/Desktop/images/18032025/02/59/image_18032025_02_59_05_3785.jpg
/home/nano/Desktop/images/18032025/02/58/image_18032025_02_59_01_4321.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345088065","1345088059","1345088070","1345088067","1345088061","1345088063"],"photo_ids_order":["1345088059","1345088061","1345088063","1345088065","1345088067","1345088070"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/947fc7f4d8e76fd48f1cf9642eaf26fc.jpg","text":"TemporaryFile(/tmp/multipartBody7735242447369952706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293984127,"filename":"image_18032025_02_59_09_4334.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ab225c426b92384d7e2ac08ceb66a643.jpg","text":"TemporaryFile(/tmp/multipartBody6830486354808873502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293984127,"filename":"image_18032025_02_59_21_3211.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bc1d66e579bda2ee124d8382ff74af1c.jpg","text":"TemporaryFile(/tmp/multipartBody3548838166378506180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293984127,"filename":"image_18032025_02_59_01_4321.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b83d753c9bb7b90c457be9fa478b57a3.jpg","text":"TemporaryFile(/tmp/multipartBody2218661822358218573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293984127,"filename":"image_18032025_02_59_05_3785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ffc26a4b5e139f2fd9ec80441555aa42.jpg","text":"TemporaryFile(/tmp/multipartBody3432456232949116162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293984127,"filename":"image_18032025_02_59_18_4213.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2c21687318d7f12ce16a06eff580fe48.jpg","text":"TemporaryFile(/tmp/multipartBody7507489098354886221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742293984127,"filename":"image_18032025_02_59_13_4066.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345088063","file1":"1345088061","file0":"1345088059","file4":"1345088067","file5":"1345088070","file3":"1345088065"},"map_files_photo_id_array":[{"photo_id":"1345088070","filename":"file5"},{"photo_id":"1345088063","filename":"file2"},{"photo_id":"1345088067","filename":"file4"},{"photo_id":"1345088061","filename":"file1"},{"photo_id":"1345088059","filename":"file0"},{"photo_id":"1345088065","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345088065":["hashtag1","hashtag2"]},{"1345088059":["hashtag1","hashtag2"]},{"1345088070":["hashtag1","hashtag2"]},{"1345088067":["hashtag1","hashtag2"]},{"1345088061":["hashtag1","hashtag2"]},{"1345088063":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345088065, 1345088059, 1345088070, 1345088067, 1345088061, 1345088063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.813060760498047 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:33:03.550819
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_57_3946.jpg', 2), ('/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_53_3932.jpg', 2), ('/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_49_4215.jpg', 2), ('/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_45_3219.jpg', 2), ('/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_42_4291.jpg', 2), ('/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_37_4127.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_57_3946.jpg', '/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_53_3932.jpg', '/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_49_4215.jpg', '/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_45_3219.jpg', '/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_42_4291.jpg', '/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_37_4127.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_57_3946.jpg
/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_53_3932.jpg
/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_49_4215.jpg
/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_45_3219.jpg
/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_42_4291.jpg
/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_37_4127.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345088102","1345088104","1345088107","1345088096","1345088099","1345088111"],"photo_ids_order":["1345088096","1345088099","1345088102","1345088104","1345088107","1345088111"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e02482b608b4fea9595f2db9d393534b.jpg","text":"TemporaryFile(/tmp/multipartBody3774374164290505693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294044059,"filename":"image_18032025_02_58_49_4215.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/458caba0152f41343273f9af8e8e1b0b.jpg","text":"TemporaryFile(/tmp/multipartBody2968016792541315000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294044059,"filename":"image_18032025_02_58_45_3219.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/23229590b28fc075dfa352c89f34e36b.jpg","text":"TemporaryFile(/tmp/multipartBody3107734644559193306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294044059,"filename":"image_18032025_02_58_42_4291.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0c13758216c4777c716aad2da1cc38a2.jpg","text":"TemporaryFile(/tmp/multipartBody1413292765066451407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294044059,"filename":"image_18032025_02_58_57_3946.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3fcca65fd729f8f2712b65d068b44f02.jpg","text":"TemporaryFile(/tmp/multipartBody7198277882113279781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294044059,"filename":"image_18032025_02_58_53_3932.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e462175cd10a351f25515a8b8d736109.jpg","text":"TemporaryFile(/tmp/multipartBody6032090752331063429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294044059,"filename":"image_18032025_02_58_37_4127.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345088102","file1":"1345088099","file0":"1345088096","file4":"1345088107","file5":"1345088111","file3":"1345088104"},"map_files_photo_id_array":[{"photo_id":"1345088111","filename":"file5"},{"photo_id":"1345088102","filename":"file2"},{"photo_id":"1345088107","filename":"file4"},{"photo_id":"1345088099","filename":"file1"},{"photo_id":"1345088096","filename":"file0"},{"photo_id":"1345088104","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345088102":["hashtag1","hashtag2"]},{"1345088104":["hashtag1","hashtag2"]},{"1345088107":["hashtag1","hashtag2"]},{"1345088096":["hashtag1","hashtag2"]},{"1345088099":["hashtag1","hashtag2"]},{"1345088111":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345088102, 1345088104, 1345088107, 1345088096, 1345088099, 1345088111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.792463779449463 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:34:02.957255
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_33_4043.jpg', 2), ('/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_29_4119.jpg', 2), ('/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_25_4104.jpg', 2), ('/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_21_4098.jpg', 2), ('/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_17_4044.jpg', 2), ('/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_13_3995.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_33_4043.jpg', '/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_29_4119.jpg', '/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_25_4104.jpg', '/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_21_4098.jpg', '/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_17_4044.jpg', '/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_13_3995.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_33_4043.jpg
/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_29_4119.jpg
/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_25_4104.jpg
/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_21_4098.jpg
/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_17_4044.jpg
/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_13_3995.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345088141","1345088151","1345088156","1345088144","1345088153","1345088147"],"photo_ids_order":["1345088141","1345088144","1345088147","1345088151","1345088153","1345088156"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3718fcac96d6c7f9c6e0169ada7672e7.jpg","text":"TemporaryFile(/tmp/multipartBody5061252857190753910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294103549,"filename":"image_18032025_02_58_33_4043.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/315f0c4d2321b5b3a055bef247b70190.jpg","text":"TemporaryFile(/tmp/multipartBody3533566849883698178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294103549,"filename":"image_18032025_02_58_21_4098.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fbd2904ceb482f4820a269f5a81a738e.jpg","text":"TemporaryFile(/tmp/multipartBody6120359330862840072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294103549,"filename":"image_18032025_02_58_13_3995.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ebe5bf8c4e8eb215f5034883e2725597.jpg","text":"TemporaryFile(/tmp/multipartBody3200405698548621507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294103549,"filename":"image_18032025_02_58_29_4119.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d3245f51b212ba0a9cf3ecbb56facc4b.jpg","text":"TemporaryFile(/tmp/multipartBody8329643691494139826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294103549,"filename":"image_18032025_02_58_17_4044.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6f136d2e2cfc3f4314eff8968fdfa238.jpg","text":"TemporaryFile(/tmp/multipartBody2994654222007310509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294103549,"filename":"image_18032025_02_58_25_4104.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345088147","file1":"1345088144","file0":"1345088141","file4":"1345088153","file5":"1345088156","file3":"1345088151"},"map_files_photo_id_array":[{"photo_id":"1345088156","filename":"file5"},{"photo_id":"1345088147","filename":"file2"},{"photo_id":"1345088153","filename":"file4"},{"photo_id":"1345088144","filename":"file1"},{"photo_id":"1345088141","filename":"file0"},{"photo_id":"1345088151","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345088141":["hashtag1","hashtag2"]},{"1345088151":["hashtag1","hashtag2"]},{"1345088156":["hashtag1","hashtag2"]},{"1345088144":["hashtag1","hashtag2"]},{"1345088153":["hashtag1","hashtag2"]},{"1345088147":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345088141, 1345088151, 1345088156, 1345088144, 1345088153, 1345088147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.18967819213867 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:35:03.115546
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_09_4046.jpg', 2), ('/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_05_3225.jpg', 2), ('/home/nano/Desktop/images/18032025/02/57/image_18032025_02_58_02_4115.jpg', 2), ('/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_57_4083.jpg', 2), ('/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_53_4088.jpg', 2), ('/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_49_4104.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_09_4046.jpg', '/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_05_3225.jpg', '/home/nano/Desktop/images/18032025/02/57/image_18032025_02_58_02_4115.jpg', '/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_57_4083.jpg', '/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_53_4088.jpg', '/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_49_4104.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_09_4046.jpg
/home/nano/Desktop/images/18032025/02/58/image_18032025_02_58_05_3225.jpg
/home/nano/Desktop/images/18032025/02/57/image_18032025_02_58_02_4115.jpg
/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_57_4083.jpg
/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_53_4088.jpg
/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_49_4104.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345088191","1345088185","1345088190","1345088187","1345088192","1345088189"],"photo_ids_order":["1345088185","1345088187","1345088189","1345088190","1345088191","1345088192"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/da6854f7981a917213789ac1db25a618.jpg","text":"TemporaryFile(/tmp/multipartBody6887816496067119087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294163672,"filename":"image_18032025_02_57_53_4088.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3153a2d4d358770180eb25fc9434e4c1.jpg","text":"TemporaryFile(/tmp/multipartBody9107626391874604479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294163672,"filename":"image_18032025_02_58_09_4046.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cb49f4e5d0193938c065df6b7826e85c.jpg","text":"TemporaryFile(/tmp/multipartBody6793167106507359949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294163672,"filename":"image_18032025_02_57_57_4083.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/62c50c82a3ff3bbbf1e3203d62a52292.jpg","text":"TemporaryFile(/tmp/multipartBody3365328933015197769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294163672,"filename":"image_18032025_02_58_05_3225.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/efb989d8c64f670a6dd721eedf8dd17d.jpg","text":"TemporaryFile(/tmp/multipartBody2310767498452663290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294163672,"filename":"image_18032025_02_57_49_4104.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fdfe429891ea1e7af3be8ba95cf1ee49.jpg","text":"TemporaryFile(/tmp/multipartBody2313467493105612346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294163672,"filename":"image_18032025_02_58_02_4115.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345088189","file1":"1345088187","file0":"1345088185","file4":"1345088191","file5":"1345088192","file3":"1345088190"},"map_files_photo_id_array":[{"photo_id":"1345088192","filename":"file5"},{"photo_id":"1345088189","filename":"file2"},{"photo_id":"1345088191","filename":"file4"},{"photo_id":"1345088187","filename":"file1"},{"photo_id":"1345088185","filename":"file0"},{"photo_id":"1345088190","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345088191":["hashtag1","hashtag2"]},{"1345088185":["hashtag1","hashtag2"]},{"1345088190":["hashtag1","hashtag2"]},{"1345088187":["hashtag1","hashtag2"]},{"1345088192":["hashtag1","hashtag2"]},{"1345088189":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345088191, 1345088185, 1345088190, 1345088187, 1345088192, 1345088189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.045043468475342 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:36:03.039587
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_45_4018.jpg', 2), ('/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_41_3958.jpg', 2), ('/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_37_4213.jpg', 2), ('/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_33_4204.jpg', 2), ('/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_29_3130.jpg', 2), ('/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_26_4166.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_45_4018.jpg', '/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_41_3958.jpg', '/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_37_4213.jpg', '/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_33_4204.jpg', '/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_29_3130.jpg', '/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_26_4166.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_45_4018.jpg
/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_41_3958.jpg
/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_37_4213.jpg
/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_33_4204.jpg
/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_29_3130.jpg
/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_26_4166.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345088224","1345088227","1345088226","1345088229","1345088223","1345088225"],"photo_ids_order":["1345088223","1345088224","1345088225","1345088226","1345088227","1345088229"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e6549940cd790a1be4aa228465f3efc2.jpg","text":"TemporaryFile(/tmp/multipartBody3489430938604194566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294223583,"filename":"image_18032025_02_57_41_3958.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c76a74a97bb03d3a51b62d512f504cb6.jpg","text":"TemporaryFile(/tmp/multipartBody7086094154261528583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294223583,"filename":"image_18032025_02_57_29_3130.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a243792a9ab169f8f65ea6d944528612.jpg","text":"TemporaryFile(/tmp/multipartBody5386003219485909936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294223583,"filename":"image_18032025_02_57_33_4204.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ad619bd0498931c9bcf7017d2e6f650a.jpg","text":"TemporaryFile(/tmp/multipartBody8935480925434512197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294223583,"filename":"image_18032025_02_57_26_4166.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4bd43b836d50be60acf8a921c12a44fb.jpg","text":"TemporaryFile(/tmp/multipartBody650358550733454715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294223583,"filename":"image_18032025_02_57_45_4018.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/26de04a4be4ff027298591355b3bd4cc.jpg","text":"TemporaryFile(/tmp/multipartBody8454424238725460414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294223583,"filename":"image_18032025_02_57_37_4213.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345088225","file1":"1345088224","file0":"1345088223","file4":"1345088227","file5":"1345088229","file3":"1345088226"},"map_files_photo_id_array":[{"photo_id":"1345088229","filename":"file5"},{"photo_id":"1345088225","filename":"file2"},{"photo_id":"1345088227","filename":"file4"},{"photo_id":"1345088224","filename":"file1"},{"photo_id":"1345088223","filename":"file0"},{"photo_id":"1345088226","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345088224":["hashtag1","hashtag2"]},{"1345088227":["hashtag1","hashtag2"]},{"1345088226":["hashtag1","hashtag2"]},{"1345088229":["hashtag1","hashtag2"]},{"1345088223":["hashtag1","hashtag2"]},{"1345088225":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345088224, 1345088227, 1345088226, 1345088229, 1345088223, 1345088225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.870532512664795 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:37:03.342624
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_21_4140.jpg', 2), ('/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_17_4113.jpg', 2), ('/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_13_4157.jpg', 2), ('/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_09_4187.jpg', 2), ('/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_05_3620.jpg', 2), ('/home/nano/Desktop/images/18032025/02/56/image_18032025_02_57_01_4067.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_21_4140.jpg', '/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_17_4113.jpg', '/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_13_4157.jpg', '/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_09_4187.jpg', '/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_05_3620.jpg', '/home/nano/Desktop/images/18032025/02/56/image_18032025_02_57_01_4067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_21_4140.jpg
/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_17_4113.jpg
/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_13_4157.jpg
/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_09_4187.jpg
/home/nano/Desktop/images/18032025/02/57/image_18032025_02_57_05_3620.jpg
/home/nano/Desktop/images/18032025/02/56/image_18032025_02_57_01_4067.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345088266","1345088269","1345088260","1345088263","1345088265","1345088261"],"photo_ids_order":["1345088260","1345088261","1345088263","1345088265","1345088266","1345088269"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a89fb994f0c254a10f99a2ca8f2d8647.jpg","text":"TemporaryFile(/tmp/multipartBody9141200071167389025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294283901,"filename":"image_18032025_02_57_05_3620.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/33513aacdc08c8ef097caf9b3b2479f2.jpg","text":"TemporaryFile(/tmp/multipartBody6777459190670503685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294283901,"filename":"image_18032025_02_57_01_4067.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0bb052370c76ee288f4d414d7edc9fd5.jpg","text":"TemporaryFile(/tmp/multipartBody2826105019526440345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294283901,"filename":"image_18032025_02_57_21_4140.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e5e74155c5c4d3261c3b3c06b7a44139.jpg","text":"TemporaryFile(/tmp/multipartBody2724504647305032493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294283901,"filename":"image_18032025_02_57_13_4157.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b2ffc255fbe89c193fa7f4818898024c.jpg","text":"TemporaryFile(/tmp/multipartBody7184298258003467626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294283901,"filename":"image_18032025_02_57_09_4187.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/585736db1497b80388f70517f7850cd3.jpg","text":"TemporaryFile(/tmp/multipartBody2566857651423801036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294283901,"filename":"image_18032025_02_57_17_4113.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345088263","file1":"1345088261","file0":"1345088260","file4":"1345088266","file5":"1345088269","file3":"1345088265"},"map_files_photo_id_array":[{"photo_id":"1345088269","filename":"file5"},{"photo_id":"1345088263","filename":"file2"},{"photo_id":"1345088266","filename":"file4"},{"photo_id":"1345088261","filename":"file1"},{"photo_id":"1345088260","filename":"file0"},{"photo_id":"1345088265","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345088266":["hashtag1","hashtag2"]},{"1345088269":["hashtag1","hashtag2"]},{"1345088260":["hashtag1","hashtag2"]},{"1345088263":["hashtag1","hashtag2"]},{"1345088265":["hashtag1","hashtag2"]},{"1345088261":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345088266, 1345088269, 1345088260, 1345088263, 1345088265, 1345088261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.22467279434204 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:38:03.484944
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_57_4019.jpg', 2), ('/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_53_4092.jpg', 2), ('/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_49_4178.jpg', 2), ('/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_45_4155.jpg', 2), ('/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_41_3423.jpg', 2), ('/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_37_3960.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_57_4019.jpg', '/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_53_4092.jpg', '/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_49_4178.jpg', '/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_45_4155.jpg', '/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_41_3423.jpg', '/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_37_3960.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_57_4019.jpg
/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_53_4092.jpg
/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_49_4178.jpg
/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_45_4155.jpg
/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_41_3423.jpg
/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_37_3960.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345088302","1345088311","1345088305","1345088308","1345088307","1345088303"],"photo_ids_order":["1345088302","1345088303","1345088305","1345088307","1345088308","1345088311"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3cf9cc4947672de9b4813a04a67fdc20.jpg","text":"TemporaryFile(/tmp/multipartBody553542676537797547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294344001,"filename":"image_18032025_02_56_57_4019.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6b62d1f44f86a9553b96da9fe86ec9f7.jpg","text":"TemporaryFile(/tmp/multipartBody4704209994501757802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294344001,"filename":"image_18032025_02_56_37_3960.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/12f36747c89f5aa504152569796c0fba.jpg","text":"TemporaryFile(/tmp/multipartBody6321079218560482812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294344001,"filename":"image_18032025_02_56_49_4178.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c562f8e3c70fba86df6f11c143b0362f.jpg","text":"TemporaryFile(/tmp/multipartBody1255411232638859831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294344001,"filename":"image_18032025_02_56_41_3423.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9247f22eb384854b313bc45d7a9b6860.jpg","text":"TemporaryFile(/tmp/multipartBody7980008769896939213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294344001,"filename":"image_18032025_02_56_45_4155.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/03ffa1e3a9fa67004a37b558ca6743e3.jpg","text":"TemporaryFile(/tmp/multipartBody3356822299013229208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294344001,"filename":"image_18032025_02_56_53_4092.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345088305","file1":"1345088303","file0":"1345088302","file4":"1345088308","file5":"1345088311","file3":"1345088307"},"map_files_photo_id_array":[{"photo_id":"1345088311","filename":"file5"},{"photo_id":"1345088305","filename":"file2"},{"photo_id":"1345088308","filename":"file4"},{"photo_id":"1345088303","filename":"file1"},{"photo_id":"1345088302","filename":"file0"},{"photo_id":"1345088307","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345088302":["hashtag1","hashtag2"]},{"1345088311":["hashtag1","hashtag2"]},{"1345088305":["hashtag1","hashtag2"]},{"1345088308":["hashtag1","hashtag2"]},{"1345088307":["hashtag1","hashtag2"]},{"1345088303":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345088302, 1345088311, 1345088305, 1345088308, 1345088307, 1345088303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.419590950012207 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:39:03.056852
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_33_4424.jpg', 2), ('/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_29_4025.jpg', 2), ('/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_25_4149.jpg', 2), ('/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_21_3258.jpg', 2), ('/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_17_4139.jpg', 2), ('/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_13_4192.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_33_4424.jpg', '/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_29_4025.jpg', '/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_25_4149.jpg', '/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_21_3258.jpg', '/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_17_4139.jpg', '/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_13_4192.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_33_4424.jpg
/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_29_4025.jpg
/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_25_4149.jpg
/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_21_3258.jpg
/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_17_4139.jpg
/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_13_4192.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345088341","1345088343","1345088346","1345088348","1345088345","1345088339"],"photo_ids_order":["1345088339","1345088341","1345088343","1345088345","1345088346","1345088348"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/440ea3b3bdc259a8fca86e32b75186c4.jpg","text":"TemporaryFile(/tmp/multipartBody8954177607542918446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294403606,"filename":"image_18032025_02_56_29_4025.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cc4e4dd49ddf59ef1608e57be4130f0a.jpg","text":"TemporaryFile(/tmp/multipartBody3117122127979715388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294403606,"filename":"image_18032025_02_56_25_4149.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2b7226e275561f10272deb0f68ea7546.jpg","text":"TemporaryFile(/tmp/multipartBody4548412091529970540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294403606,"filename":"image_18032025_02_56_17_4139.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6474687769f0b8dfbfd48cf373f4f777.jpg","text":"TemporaryFile(/tmp/multipartBody5468869694449067788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294403606,"filename":"image_18032025_02_56_13_4192.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5c1e618fda554b88b401a26ac8d9c85b.jpg","text":"TemporaryFile(/tmp/multipartBody4555911355028030690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294403606,"filename":"image_18032025_02_56_21_3258.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bfe3549519e3b993bb81f4941c5b9d78.jpg","text":"TemporaryFile(/tmp/multipartBody5634148294872701342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294403606,"filename":"image_18032025_02_56_33_4424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345088343","file1":"1345088341","file0":"1345088339","file4":"1345088346","file5":"1345088348","file3":"1345088345"},"map_files_photo_id_array":[{"photo_id":"1345088348","filename":"file5"},{"photo_id":"1345088343","filename":"file2"},{"photo_id":"1345088346","filename":"file4"},{"photo_id":"1345088341","filename":"file1"},{"photo_id":"1345088339","filename":"file0"},{"photo_id":"1345088345","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345088341":["hashtag1","hashtag2"]},{"1345088343":["hashtag1","hashtag2"]},{"1345088346":["hashtag1","hashtag2"]},{"1345088348":["hashtag1","hashtag2"]},{"1345088345":["hashtag1","hashtag2"]},{"1345088339":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345088341, 1345088343, 1345088346, 1345088348, 1345088345, 1345088339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.84992504119873 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:40:02.756330
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_09_4070.jpg', 2), ('/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_05_3750.jpg', 2), ('/home/nano/Desktop/images/18032025/02/55/image_18032025_02_56_01_4153.jpg', 2), ('/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_57_4063.jpg', 2), ('/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_53_4160.jpg', 2), ('/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_49_4071.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_09_4070.jpg', '/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_05_3750.jpg', '/home/nano/Desktop/images/18032025/02/55/image_18032025_02_56_01_4153.jpg', '/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_57_4063.jpg', '/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_53_4160.jpg', '/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_49_4071.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_09_4070.jpg
/home/nano/Desktop/images/18032025/02/56/image_18032025_02_56_05_3750.jpg
/home/nano/Desktop/images/18032025/02/55/image_18032025_02_56_01_4153.jpg
/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_57_4063.jpg
/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_53_4160.jpg
/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_49_4071.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345088405","1345088410","1345088404","1345088406","1345088400","1345088402"],"photo_ids_order":["1345088400","1345088402","1345088404","1345088405","1345088406","1345088410"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8f0813bbd6117be0350589284626bf09.jpg","text":"TemporaryFile(/tmp/multipartBody3936748484373373127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294463313,"filename":"image_18032025_02_55_57_4063.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/580550e3c1238bca441847d58d04c8b8.jpg","text":"TemporaryFile(/tmp/multipartBody2761626725301628038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294463313,"filename":"image_18032025_02_55_49_4071.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/609b4de12c316c1833dbb4395cc96ca0.jpg","text":"TemporaryFile(/tmp/multipartBody3621541689704159052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294463313,"filename":"image_18032025_02_56_01_4153.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9cf24a4aeeacb18e79130ff0c504018b.jpg","text":"TemporaryFile(/tmp/multipartBody8986358636767584374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294463313,"filename":"image_18032025_02_55_53_4160.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/66f683765fd6c10e21db78ca5c4db32a.jpg","text":"TemporaryFile(/tmp/multipartBody6891210221188485248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294463313,"filename":"image_18032025_02_56_09_4070.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e389325e65a09e69578d711ee47111de.jpg","text":"TemporaryFile(/tmp/multipartBody3349198779516404171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294463313,"filename":"image_18032025_02_56_05_3750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345088404","file1":"1345088402","file0":"1345088400","file4":"1345088406","file5":"1345088410","file3":"1345088405"},"map_files_photo_id_array":[{"photo_id":"1345088410","filename":"file5"},{"photo_id":"1345088404","filename":"file2"},{"photo_id":"1345088406","filename":"file4"},{"photo_id":"1345088402","filename":"file1"},{"photo_id":"1345088400","filename":"file0"},{"photo_id":"1345088405","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345088405":["hashtag1","hashtag2"]},{"1345088410":["hashtag1","hashtag2"]},{"1345088404":["hashtag1","hashtag2"]},{"1345088406":["hashtag1","hashtag2"]},{"1345088400":["hashtag1","hashtag2"]},{"1345088402":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345088405, 1345088410, 1345088404, 1345088406, 1345088400, 1345088402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.723060131072998 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:41:03.091713
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_45_4113.jpg', 2), ('/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_41_3046.jpg', 2), ('/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_38_4687.jpg', 2), ('/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_33_4079.jpg', 2), ('/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_29_4129.jpg', 2), ('/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_25_3119.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_45_4113.jpg', '/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_41_3046.jpg', '/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_38_4687.jpg', '/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_33_4079.jpg', '/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_29_4129.jpg', '/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_25_3119.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_45_4113.jpg
/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_41_3046.jpg
/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_38_4687.jpg
/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_33_4079.jpg
/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_29_4129.jpg
/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_25_3119.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345088465","1345088468","1345088453","1345088462","1345088456","1345088459"],"photo_ids_order":["1345088453","1345088456","1345088459","1345088462","1345088465","1345088468"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a3c03c208e8e42a86f7b4433c7b609cd.jpg","text":"TemporaryFile(/tmp/multipartBody5985240050971234273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294523716,"filename":"image_18032025_02_55_29_4129.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d217535abc03b9725bea81acc46c8121.jpg","text":"TemporaryFile(/tmp/multipartBody3028159580176503541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294523716,"filename":"image_18032025_02_55_25_3119.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3d5835bc3ac4c9bd903e027a02b90f48.jpg","text":"TemporaryFile(/tmp/multipartBody299208097696788496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294523716,"filename":"image_18032025_02_55_45_4113.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fd81bf708e19e569bcf06bdeb7cc9393.jpg","text":"TemporaryFile(/tmp/multipartBody5282132368660329130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294523716,"filename":"image_18032025_02_55_33_4079.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cbd4c860c699d462159cc0df9f24a059.jpg","text":"TemporaryFile(/tmp/multipartBody4518048681795645586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294523716,"filename":"image_18032025_02_55_41_3046.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/674d9544acc2979403637ad9c214f17c.jpg","text":"TemporaryFile(/tmp/multipartBody1000142076028886722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294523716,"filename":"image_18032025_02_55_38_4687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345088459","file1":"1345088456","file0":"1345088453","file4":"1345088465","file5":"1345088468","file3":"1345088462"},"map_files_photo_id_array":[{"photo_id":"1345088468","filename":"file5"},{"photo_id":"1345088459","filename":"file2"},{"photo_id":"1345088465","filename":"file4"},{"photo_id":"1345088456","filename":"file1"},{"photo_id":"1345088453","filename":"file0"},{"photo_id":"1345088462","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345088465":["hashtag1","hashtag2"]},{"1345088468":["hashtag1","hashtag2"]},{"1345088453":["hashtag1","hashtag2"]},{"1345088462":["hashtag1","hashtag2"]},{"1345088456":["hashtag1","hashtag2"]},{"1345088459":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345088465, 1345088468, 1345088453, 1345088462, 1345088456, 1345088459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.01969075202942 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:42:03.179441
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_22_4122.jpg', 2), ('/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_18_4074.jpg', 2), ('/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_13_4169.jpg', 2), ('/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_09_4222.jpg', 2), ('/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_05_3968.jpg', 2), ('/home/nano/Desktop/images/18032025/02/54/image_18032025_02_55_01_4177.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_22_4122.jpg', '/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_18_4074.jpg', '/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_13_4169.jpg', '/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_09_4222.jpg', '/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_05_3968.jpg', '/home/nano/Desktop/images/18032025/02/54/image_18032025_02_55_01_4177.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_22_4122.jpg
/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_18_4074.jpg
/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_13_4169.jpg
/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_09_4222.jpg
/home/nano/Desktop/images/18032025/02/55/image_18032025_02_55_05_3968.jpg
/home/nano/Desktop/images/18032025/02/54/image_18032025_02_55_01_4177.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345088510","1345088504","1345088506","1345088499","1345088496","1345088502"],"photo_ids_order":["1345088496","1345088499","1345088502","1345088504","1345088506","1345088510"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7543ee27b6b6d3e0b03810543bb1ae2b.jpg","text":"TemporaryFile(/tmp/multipartBody1543970239330397893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294583688,"filename":"image_18032025_02_55_01_4177.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d80fd1fbf86fc6279d42aed61ea9d6d9.jpg","text":"TemporaryFile(/tmp/multipartBody7328447170032977518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294583688,"filename":"image_18032025_02_55_09_4222.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/edebc9ae6ce4dafaaa269486d6ecaf4c.jpg","text":"TemporaryFile(/tmp/multipartBody2370683842649758666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294583688,"filename":"image_18032025_02_55_05_3968.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b61571f0c14149c2523eaada8aa2281b.jpg","text":"TemporaryFile(/tmp/multipartBody6746314163014020082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294583688,"filename":"image_18032025_02_55_18_4074.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3d3cf20af886f95cad1e3b0b525f7a02.jpg","text":"TemporaryFile(/tmp/multipartBody1517813254076072437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294583688,"filename":"image_18032025_02_55_22_4122.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cab49ecbe6bbe3085dbffc0d4a900365.jpg","text":"TemporaryFile(/tmp/multipartBody8137639833066641819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294583688,"filename":"image_18032025_02_55_13_4169.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345088502","file1":"1345088499","file0":"1345088496","file4":"1345088506","file5":"1345088510","file3":"1345088504"},"map_files_photo_id_array":[{"photo_id":"1345088510","filename":"file5"},{"photo_id":"1345088502","filename":"file2"},{"photo_id":"1345088506","filename":"file4"},{"photo_id":"1345088499","filename":"file1"},{"photo_id":"1345088496","filename":"file0"},{"photo_id":"1345088504","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345088510":["hashtag1","hashtag2"]},{"1345088504":["hashtag1","hashtag2"]},{"1345088506":["hashtag1","hashtag2"]},{"1345088499":["hashtag1","hashtag2"]},{"1345088496":["hashtag1","hashtag2"]},{"1345088502":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345088510, 1345088504, 1345088506, 1345088499, 1345088496, 1345088502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.93221855163574 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:43:03.301441
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_57_4093.jpg', 2), ('/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_53_3244.jpg', 2), ('/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_50_4130.jpg', 2), ('/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_45_4125.jpg', 2), ('/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_41_4356.jpg', 2), ('/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_37_4189.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_57_4093.jpg', '/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_53_3244.jpg', '/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_50_4130.jpg', '/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_45_4125.jpg', '/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_41_4356.jpg', '/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_37_4189.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_57_4093.jpg
/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_53_3244.jpg
/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_50_4130.jpg
/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_45_4125.jpg
/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_41_4356.jpg
/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_37_4189.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345088542","1345088545","1345088539","1345088554","1345088550","1345088547"],"photo_ids_order":["1345088539","1345088542","1345088545","1345088547","1345088550","1345088554"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/27a694fd54f90f4fbecd1993e1e712e9.jpg","text":"TemporaryFile(/tmp/multipartBody7742565802173505847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294643848,"filename":"image_18032025_02_54_53_3244.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/79ba983ec7cc01926c33b39302af205b.jpg","text":"TemporaryFile(/tmp/multipartBody9085488293715390624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294643848,"filename":"image_18032025_02_54_50_4130.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5b1f68cb3fd1303aaabeda81d477b534.jpg","text":"TemporaryFile(/tmp/multipartBody6141217596346494561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294643848,"filename":"image_18032025_02_54_57_4093.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4a7590cb64916aa8a6da43e9f094198e.jpg","text":"TemporaryFile(/tmp/multipartBody4121484053720291464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294643848,"filename":"image_18032025_02_54_37_4189.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/24e3ca8cf8a2a7cfb6a0e43b3db2b892.jpg","text":"TemporaryFile(/tmp/multipartBody4639558257033992278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294643848,"filename":"image_18032025_02_54_41_4356.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d15c543275b889b791da8465727750ad.jpg","text":"TemporaryFile(/tmp/multipartBody1191500603482677227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294643848,"filename":"image_18032025_02_54_45_4125.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345088545","file1":"1345088542","file0":"1345088539","file4":"1345088550","file5":"1345088554","file3":"1345088547"},"map_files_photo_id_array":[{"photo_id":"1345088554","filename":"file5"},{"photo_id":"1345088545","filename":"file2"},{"photo_id":"1345088550","filename":"file4"},{"photo_id":"1345088542","filename":"file1"},{"photo_id":"1345088539","filename":"file0"},{"photo_id":"1345088547","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345088542":["hashtag1","hashtag2"]},{"1345088545":["hashtag1","hashtag2"]},{"1345088539":["hashtag1","hashtag2"]},{"1345088554":["hashtag1","hashtag2"]},{"1345088550":["hashtag1","hashtag2"]},{"1345088547":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345088542, 1345088545, 1345088539, 1345088554, 1345088550, 1345088547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.609342098236084 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:44:03.864307
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_33_3295.jpg', 2), ('/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_30_4363.jpg', 2), ('/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_25_4344.jpg', 2), ('/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_21_3307.jpg', 2), ('/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_17_4044.jpg', 2), ('/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_13_4283.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_33_3295.jpg', '/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_30_4363.jpg', '/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_25_4344.jpg', '/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_21_3307.jpg', '/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_17_4044.jpg', '/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_13_4283.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_33_3295.jpg
/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_30_4363.jpg
/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_25_4344.jpg
/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_21_3307.jpg
/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_17_4044.jpg
/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_13_4283.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345088593","1345088612","1345088605","1345088579","1345088576","1345088600"],"photo_ids_order":["1345088576","1345088579","1345088593","1345088600","1345088605","1345088612"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8de69f1c15de613cac862c9422b78512.jpg","text":"TemporaryFile(/tmp/multipartBody133015321934426153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294704395,"filename":"image_18032025_02_54_25_4344.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/53d4e109d72c009311b04c9628d9c075.jpg","text":"TemporaryFile(/tmp/multipartBody8703744783815018688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294704395,"filename":"image_18032025_02_54_13_4283.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a0f0d47786ea78d8fc20a1d97234fb42.jpg","text":"TemporaryFile(/tmp/multipartBody5632305870934394513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294704395,"filename":"image_18032025_02_54_17_4044.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3cc1d2b907b6e09b3c8213670b774ebd.jpg","text":"TemporaryFile(/tmp/multipartBody8994316177191974377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294704395,"filename":"image_18032025_02_54_30_4363.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/957335d22ec7956c9661c9647f22b7bb.jpg","text":"TemporaryFile(/tmp/multipartBody3770837276749913539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294704395,"filename":"image_18032025_02_54_33_3295.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7d2272ae254133ae51ca321b2d22194a.jpg","text":"TemporaryFile(/tmp/multipartBody6216529490544231355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294704395,"filename":"image_18032025_02_54_21_3307.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345088593","file1":"1345088579","file0":"1345088576","file4":"1345088605","file5":"1345088612","file3":"1345088600"},"map_files_photo_id_array":[{"photo_id":"1345088612","filename":"file5"},{"photo_id":"1345088593","filename":"file2"},{"photo_id":"1345088605","filename":"file4"},{"photo_id":"1345088579","filename":"file1"},{"photo_id":"1345088576","filename":"file0"},{"photo_id":"1345088600","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345088593":["hashtag1","hashtag2"]},{"1345088612":["hashtag1","hashtag2"]},{"1345088605":["hashtag1","hashtag2"]},{"1345088579":["hashtag1","hashtag2"]},{"1345088576":["hashtag1","hashtag2"]},{"1345088600":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345088593, 1345088612, 1345088605, 1345088579, 1345088576, 1345088600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.832252025604248 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:45:02.646153
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_09_4183.jpg', 2), ('/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_05_4189.jpg', 2), ('/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_01_3096.jpg', 2), ('/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_58_4063.jpg', 2), ('/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_54_4067.jpg', 2), ('/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_50_3966.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_09_4183.jpg', '/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_05_4189.jpg', '/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_01_3096.jpg', '/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_58_4063.jpg', '/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_54_4067.jpg', '/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_50_3966.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_09_4183.jpg
/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_05_4189.jpg
/home/nano/Desktop/images/18032025/02/54/image_18032025_02_54_01_3096.jpg
/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_58_4063.jpg
/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_54_4067.jpg
/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_50_3966.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345088941","1345088910","1345088960","1345088954","1345088963","1345088966"],"photo_ids_order":["1345088910","1345088941","1345088954","1345088960","1345088963","1345088966"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4e25b0759bcac2059bf446ab9941ce5e.jpg","text":"TemporaryFile(/tmp/multipartBody5538841229074678211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294763314,"filename":"image_18032025_02_54_05_4189.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f6c1ebd9439dced6d8efb202f3b00a1b.jpg","text":"TemporaryFile(/tmp/multipartBody2910061276326040505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294763314,"filename":"image_18032025_02_54_09_4183.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/51984f59e7f268d1a66067a776498314.jpg","text":"TemporaryFile(/tmp/multipartBody6692659204541077333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294763314,"filename":"image_18032025_02_53_58_4063.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/858e53d0082ebb6f7fa55e5f9d375c9b.jpg","text":"TemporaryFile(/tmp/multipartBody3145561767376033131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294763314,"filename":"image_18032025_02_54_01_3096.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/551518c287ee105b39b0a2f4a5e61dac.jpg","text":"TemporaryFile(/tmp/multipartBody1449546557445603793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294763314,"filename":"image_18032025_02_53_54_4067.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/797b7b5f8deb142104cb3dd15504d69e.jpg","text":"TemporaryFile(/tmp/multipartBody1044016505649126956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294763314,"filename":"image_18032025_02_53_50_3966.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345088954","file1":"1345088941","file0":"1345088910","file4":"1345088963","file5":"1345088966","file3":"1345088960"},"map_files_photo_id_array":[{"photo_id":"1345088966","filename":"file5"},{"photo_id":"1345088954","filename":"file2"},{"photo_id":"1345088963","filename":"file4"},{"photo_id":"1345088941","filename":"file1"},{"photo_id":"1345088910","filename":"file0"},{"photo_id":"1345088960","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345088941":["hashtag1","hashtag2"]},{"1345088910":["hashtag1","hashtag2"]},{"1345088960":["hashtag1","hashtag2"]},{"1345088954":["hashtag1","hashtag2"]},{"1345088963":["hashtag1","hashtag2"]},{"1345088966":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345088941, 1345088910, 1345088960, 1345088954, 1345088963, 1345088966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.100584268569946 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:46:03.014865
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_46_3976.jpg', 2), ('/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_42_4189.jpg', 2), ('/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_37_4047.jpg', 2), ('/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_33_4230.jpg', 2), ('/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_29_4236.jpg', 2), ('/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_25_3228.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_46_3976.jpg', '/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_42_4189.jpg', '/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_37_4047.jpg', '/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_33_4230.jpg', '/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_29_4236.jpg', '/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_25_3228.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_46_3976.jpg
/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_42_4189.jpg
/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_37_4047.jpg
/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_33_4230.jpg
/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_29_4236.jpg
/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_25_3228.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345088998","1345088992","1345089001","1345088990","1345089005","1345088995"],"photo_ids_order":["1345088990","1345088992","1345088995","1345088998","1345089001","1345089005"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/83b16a0a33bb8a71fb43abf16cd68bcb.jpg","text":"TemporaryFile(/tmp/multipartBody5313491398215757862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294823568,"filename":"image_18032025_02_53_33_4230.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d1efb6ef02bdf57d64227081d9d0ba2d.jpg","text":"TemporaryFile(/tmp/multipartBody4796017411832685706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294823568,"filename":"image_18032025_02_53_42_4189.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0e0fc762b9408aa12252286aa99aef6d.jpg","text":"TemporaryFile(/tmp/multipartBody5031161342036636173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294823568,"filename":"image_18032025_02_53_29_4236.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6aaf40396674336ae301a47460b5d6a7.jpg","text":"TemporaryFile(/tmp/multipartBody3371216611480552365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294823568,"filename":"image_18032025_02_53_46_3976.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/feb5329214ffb27713c8bea7e333ded7.jpg","text":"TemporaryFile(/tmp/multipartBody7305906349012404341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294823568,"filename":"image_18032025_02_53_25_3228.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b503325dc1c079e6e0edb8e8d906bad2.jpg","text":"TemporaryFile(/tmp/multipartBody1844599880819993948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294823568,"filename":"image_18032025_02_53_37_4047.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345088995","file1":"1345088992","file0":"1345088990","file4":"1345089001","file5":"1345089005","file3":"1345088998"},"map_files_photo_id_array":[{"photo_id":"1345089005","filename":"file5"},{"photo_id":"1345088995","filename":"file2"},{"photo_id":"1345089001","filename":"file4"},{"photo_id":"1345088992","filename":"file1"},{"photo_id":"1345088990","filename":"file0"},{"photo_id":"1345088998","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345088998":["hashtag1","hashtag2"]},{"1345088992":["hashtag1","hashtag2"]},{"1345089001":["hashtag1","hashtag2"]},{"1345088990":["hashtag1","hashtag2"]},{"1345089005":["hashtag1","hashtag2"]},{"1345088995":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345088998, 1345088992, 1345089001, 1345088990, 1345089005, 1345088995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.451995372772217 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:47:03.217000
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_22_4987.jpg', 2), ('/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_17_3075.jpg', 2), ('/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_14_4126.jpg', 2), ('/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_09_4228.jpg', 2), ('/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_05_3788.jpg', 2), ('/home/nano/Desktop/images/18032025/02/52/image_18032025_02_53_02_4419.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_22_4987.jpg', '/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_17_3075.jpg', '/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_14_4126.jpg', '/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_09_4228.jpg', '/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_05_3788.jpg', '/home/nano/Desktop/images/18032025/02/52/image_18032025_02_53_02_4419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_22_4987.jpg
/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_17_3075.jpg
/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_14_4126.jpg
/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_09_4228.jpg
/home/nano/Desktop/images/18032025/02/53/image_18032025_02_53_05_3788.jpg
/home/nano/Desktop/images/18032025/02/52/image_18032025_02_53_02_4419.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345089040","1345089034","1345089043","1345089037","1345089031","1345089047"],"photo_ids_order":["1345089031","1345089034","1345089037","1345089040","1345089043","1345089047"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b9d3d7d0b733ce9ac539135c93903691.jpg","text":"TemporaryFile(/tmp/multipartBody440676380661742570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294883801,"filename":"image_18032025_02_53_09_4228.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/39c84088663f446c5cbc919717395cec.jpg","text":"TemporaryFile(/tmp/multipartBody3343026683456076804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294883801,"filename":"image_18032025_02_53_17_3075.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dd3d88f666c0657d6b4105478ed1fe7f.jpg","text":"TemporaryFile(/tmp/multipartBody8503441351307736883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294883801,"filename":"image_18032025_02_53_05_3788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3310973ccebb0d872a296f70ec9d32f5.jpg","text":"TemporaryFile(/tmp/multipartBody8784222504325456691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294883801,"filename":"image_18032025_02_53_14_4126.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ecca0fa4915e8b0cca6841c263429237.jpg","text":"TemporaryFile(/tmp/multipartBody6692238265985941678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294883801,"filename":"image_18032025_02_53_22_4987.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8448a2c983d5a7d9d96da54f6aa69293.jpg","text":"TemporaryFile(/tmp/multipartBody522996444403854224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294883801,"filename":"image_18032025_02_53_02_4419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345089037","file1":"1345089034","file0":"1345089031","file4":"1345089043","file5":"1345089047","file3":"1345089040"},"map_files_photo_id_array":[{"photo_id":"1345089047","filename":"file5"},{"photo_id":"1345089037","filename":"file2"},{"photo_id":"1345089043","filename":"file4"},{"photo_id":"1345089034","filename":"file1"},{"photo_id":"1345089031","filename":"file0"},{"photo_id":"1345089040","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345089040":["hashtag1","hashtag2"]},{"1345089034":["hashtag1","hashtag2"]},{"1345089043":["hashtag1","hashtag2"]},{"1345089037":["hashtag1","hashtag2"]},{"1345089031":["hashtag1","hashtag2"]},{"1345089047":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345089040, 1345089034, 1345089043, 1345089037, 1345089031, 1345089047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.53696274757385 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:48:03.159376
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_57_4268.jpg', 2), ('/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_53_3290.jpg', 2), ('/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_49_4250.jpg', 2), ('/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_45_4085.jpg', 2), ('/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_41_4077.jpg', 2), ('/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_37_4122.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_57_4268.jpg', '/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_53_3290.jpg', '/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_49_4250.jpg', '/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_45_4085.jpg', '/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_41_4077.jpg', '/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_37_4122.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_57_4268.jpg
/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_53_3290.jpg
/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_49_4250.jpg
/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_45_4085.jpg
/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_41_4077.jpg
/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_37_4122.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345089073","1345089076","1345089081","1345089083","1345089085","1345089079"],"photo_ids_order":["1345089073","1345089076","1345089079","1345089081","1345089083","1345089085"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d5cfedc1a12f37bb6472e7d12425ff3c.jpg","text":"TemporaryFile(/tmp/multipartBody8885963935315278930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294943706,"filename":"image_18032025_02_52_57_4268.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3a5856bc1212d160cc99a18465280e4a.jpg","text":"TemporaryFile(/tmp/multipartBody2231090268557986244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294943706,"filename":"image_18032025_02_52_53_3290.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bc75a70e509d4b87666ec73fefb60b40.jpg","text":"TemporaryFile(/tmp/multipartBody522777404655880410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294943706,"filename":"image_18032025_02_52_45_4085.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/05b38c581dccb8d7e61ccf53262caf18.jpg","text":"TemporaryFile(/tmp/multipartBody193606599618149650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294943706,"filename":"image_18032025_02_52_41_4077.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1e82fc05c627a92cb9c1a263ba567fb7.jpg","text":"TemporaryFile(/tmp/multipartBody5345470843356904030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294943706,"filename":"image_18032025_02_52_37_4122.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0791d667f12b5b21865b2ef5b1664ffa.jpg","text":"TemporaryFile(/tmp/multipartBody8991532339492581684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742294943706,"filename":"image_18032025_02_52_49_4250.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345089079","file1":"1345089076","file0":"1345089073","file4":"1345089083","file5":"1345089085","file3":"1345089081"},"map_files_photo_id_array":[{"photo_id":"1345089085","filename":"file5"},{"photo_id":"1345089079","filename":"file2"},{"photo_id":"1345089083","filename":"file4"},{"photo_id":"1345089076","filename":"file1"},{"photo_id":"1345089073","filename":"file0"},{"photo_id":"1345089081","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345089073":["hashtag1","hashtag2"]},{"1345089076":["hashtag1","hashtag2"]},{"1345089081":["hashtag1","hashtag2"]},{"1345089083":["hashtag1","hashtag2"]},{"1345089085":["hashtag1","hashtag2"]},{"1345089079":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345089073, 1345089076, 1345089081, 1345089083, 1345089085, 1345089079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.271369457244873 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:49:03.576715
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_33_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_29_3790.jpg', 2), ('/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_25_4104.jpg', 2), ('/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_21_3956.jpg', 2), ('/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_17_3907.jpg', 2), ('/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_13_4260.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_33_4045.jpg', '/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_29_3790.jpg', '/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_25_4104.jpg', '/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_21_3956.jpg', '/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_17_3907.jpg', '/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_13_4260.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_33_4045.jpg
/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_29_3790.jpg
/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_25_4104.jpg
/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_21_3956.jpg
/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_17_3907.jpg
/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_13_4260.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345089195","1345089189","1345089198","1345089183","1345089191","1345089193"],"photo_ids_order":["1345089183","1345089189","1345089191","1345089193","1345089195","1345089198"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/64b0f1aaa1d9745ec0dccf1887b9a361.jpg","text":"TemporaryFile(/tmp/multipartBody3303949597363304912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295004077,"filename":"image_18032025_02_52_17_3907.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a75dc36f94c68bdb1dbfdca5de4b47ce.jpg","text":"TemporaryFile(/tmp/multipartBody3250761446316184073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295004077,"filename":"image_18032025_02_52_29_3790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c6cbff92b29b8170b6400837739f350e.jpg","text":"TemporaryFile(/tmp/multipartBody1023021903270091778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295004077,"filename":"image_18032025_02_52_13_4260.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ed1fd3f700b1837441329144d2db10c5.jpg","text":"TemporaryFile(/tmp/multipartBody2310308771697840725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295004077,"filename":"image_18032025_02_52_33_4045.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b3d15e1b761069b71419dd8dbc20b573.jpg","text":"TemporaryFile(/tmp/multipartBody8740834034814146067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295004077,"filename":"image_18032025_02_52_25_4104.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/68cd4a1ce05100bf6ed1236352b8834b.jpg","text":"TemporaryFile(/tmp/multipartBody4918370160389169935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295004077,"filename":"image_18032025_02_52_21_3956.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345089191","file1":"1345089189","file0":"1345089183","file4":"1345089195","file5":"1345089198","file3":"1345089193"},"map_files_photo_id_array":[{"photo_id":"1345089198","filename":"file5"},{"photo_id":"1345089191","filename":"file2"},{"photo_id":"1345089195","filename":"file4"},{"photo_id":"1345089189","filename":"file1"},{"photo_id":"1345089183","filename":"file0"},{"photo_id":"1345089193","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345089195":["hashtag1","hashtag2"]},{"1345089189":["hashtag1","hashtag2"]},{"1345089198":["hashtag1","hashtag2"]},{"1345089183":["hashtag1","hashtag2"]},{"1345089191":["hashtag1","hashtag2"]},{"1345089193":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345089195, 1345089189, 1345089198, 1345089183, 1345089191, 1345089193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.84292697906494 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:50:03.558386
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_09_4064.jpg', 2), ('/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_05_3247.jpg', 2), ('/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_02_4013.jpg', 2), ('/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_58_4042.jpg', 2), ('/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_54_4142.jpg', 2), ('/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_49_4246.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_09_4064.jpg', '/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_05_3247.jpg', '/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_02_4013.jpg', '/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_58_4042.jpg', '/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_54_4142.jpg', '/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_49_4246.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_09_4064.jpg
/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_05_3247.jpg
/home/nano/Desktop/images/18032025/02/52/image_18032025_02_52_02_4013.jpg
/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_58_4042.jpg
/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_54_4142.jpg
/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_49_4246.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345089250","1345089253","1345089246","1345089248","1345089245","1345089256"],"photo_ids_order":["1345089245","1345089246","1345089248","1345089250","1345089253","1345089256"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b9e3b41281281e436e05aba3b813f576.jpg","text":"TemporaryFile(/tmp/multipartBody8324681087192783030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295064068,"filename":"image_18032025_02_51_58_4042.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7bd79eff391f6bc97b2aa037df8d44f1.jpg","text":"TemporaryFile(/tmp/multipartBody3439952215281368892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295064068,"filename":"image_18032025_02_51_54_4142.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c2952a3985b98fd8283fee0df82e2d4c.jpg","text":"TemporaryFile(/tmp/multipartBody4607522452532051033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295064068,"filename":"image_18032025_02_52_05_3247.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/96d43b6addc19fe9ad02da00df1c9bca.jpg","text":"TemporaryFile(/tmp/multipartBody5025928865503384093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295064068,"filename":"image_18032025_02_52_02_4013.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6eda0296124be7f69aeea06c7444e207.jpg","text":"TemporaryFile(/tmp/multipartBody2243769577910798509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295064068,"filename":"image_18032025_02_52_09_4064.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c1acfeeed8b95df3102fc90d64a1bc96.jpg","text":"TemporaryFile(/tmp/multipartBody8899734278785365814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295064068,"filename":"image_18032025_02_51_49_4246.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345089248","file1":"1345089246","file0":"1345089245","file4":"1345089253","file5":"1345089256","file3":"1345089250"},"map_files_photo_id_array":[{"photo_id":"1345089256","filename":"file5"},{"photo_id":"1345089248","filename":"file2"},{"photo_id":"1345089253","filename":"file4"},{"photo_id":"1345089246","filename":"file1"},{"photo_id":"1345089245","filename":"file0"},{"photo_id":"1345089250","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345089250":["hashtag1","hashtag2"]},{"1345089253":["hashtag1","hashtag2"]},{"1345089246":["hashtag1","hashtag2"]},{"1345089248":["hashtag1","hashtag2"]},{"1345089245":["hashtag1","hashtag2"]},{"1345089256":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345089250, 1345089253, 1345089246, 1345089248, 1345089245, 1345089256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.575982093811035 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:51:02.711093
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_45_4220.jpg', 2), ('/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_41_4114.jpg', 2), ('/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_37_3200.jpg', 2), ('/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_34_4193.jpg', 2), ('/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_29_4208.jpg', 2), ('/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_25_4236.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_45_4220.jpg', '/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_41_4114.jpg', '/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_37_3200.jpg', '/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_34_4193.jpg', '/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_29_4208.jpg', '/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_25_4236.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_45_4220.jpg
/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_41_4114.jpg
/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_37_3200.jpg
/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_34_4193.jpg
/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_29_4208.jpg
/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_25_4236.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345089301","1345089312","1345089284","1345089281","1345089292","1345089308"],"photo_ids_order":["1345089281","1345089284","1345089292","1345089301","1345089308","1345089312"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6518ea5ceafb10504ff4ec28b2187fff.jpg","text":"TemporaryFile(/tmp/multipartBody3643257955188076679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295123215,"filename":"image_18032025_02_51_34_4193.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/362f93d4d056d4cfd915d8753189aca7.jpg","text":"TemporaryFile(/tmp/multipartBody3388417716667691745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295123215,"filename":"image_18032025_02_51_25_4236.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ecd0576978a8829f1bfd4fd7a819ae68.jpg","text":"TemporaryFile(/tmp/multipartBody812299318086919914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295123215,"filename":"image_18032025_02_51_41_4114.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e3fe718bb92de71079ed92fd051f3ada.jpg","text":"TemporaryFile(/tmp/multipartBody6908293150682499850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295123215,"filename":"image_18032025_02_51_45_4220.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d2a96fdc9d494f4f2ae5ba1b2c4b8aca.jpg","text":"TemporaryFile(/tmp/multipartBody1373223829735275970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295123215,"filename":"image_18032025_02_51_37_3200.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6c154bae7435319db0a4eb88681a03d2.jpg","text":"TemporaryFile(/tmp/multipartBody3213419856452197833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295123215,"filename":"image_18032025_02_51_29_4208.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345089292","file1":"1345089284","file0":"1345089281","file4":"1345089308","file5":"1345089312","file3":"1345089301"},"map_files_photo_id_array":[{"photo_id":"1345089312","filename":"file5"},{"photo_id":"1345089292","filename":"file2"},{"photo_id":"1345089308","filename":"file4"},{"photo_id":"1345089284","filename":"file1"},{"photo_id":"1345089281","filename":"file0"},{"photo_id":"1345089301","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345089301":["hashtag1","hashtag2"]},{"1345089312":["hashtag1","hashtag2"]},{"1345089284":["hashtag1","hashtag2"]},{"1345089281":["hashtag1","hashtag2"]},{"1345089292":["hashtag1","hashtag2"]},{"1345089308":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345089301, 1345089312, 1345089284, 1345089281, 1345089292, 1345089308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.15513062477112 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:52:02.798705
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_21_4192.jpg', 2), ('/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_17_3095.jpg', 2), ('/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_14_4349.jpg', 2), ('/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_09_4363.jpg', 2), ('/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_05_3675.jpg', 2), ('/home/nano/Desktop/images/18032025/02/50/image_18032025_02_51_01_4295.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_21_4192.jpg', '/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_17_3095.jpg', '/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_14_4349.jpg', '/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_09_4363.jpg', '/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_05_3675.jpg', '/home/nano/Desktop/images/18032025/02/50/image_18032025_02_51_01_4295.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_21_4192.jpg
/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_17_3095.jpg
/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_14_4349.jpg
/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_09_4363.jpg
/home/nano/Desktop/images/18032025/02/51/image_18032025_02_51_05_3675.jpg
/home/nano/Desktop/images/18032025/02/50/image_18032025_02_51_01_4295.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345089436","1345089406","1345089381","1345089444","1345089438","1345089426"],"photo_ids_order":["1345089381","1345089406","1345089426","1345089436","1345089438","1345089444"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c412f988f1d9f83d80dd80380e280510.jpg","text":"TemporaryFile(/tmp/multipartBody8615315418778754468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295183290,"filename":"image_18032025_02_51_09_4363.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fb74e5a156597bd41f53a64d5f2c8fee.jpg","text":"TemporaryFile(/tmp/multipartBody1311893691618950298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295183290,"filename":"image_18032025_02_51_17_3095.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d42c62c2f20d6b1d3b699de6c4b92462.jpg","text":"TemporaryFile(/tmp/multipartBody6549022525268144443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295183290,"filename":"image_18032025_02_51_21_4192.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1a7d6ea180ce66b4b9b2aa106b9c87b7.jpg","text":"TemporaryFile(/tmp/multipartBody1633810207428032408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295183290,"filename":"image_18032025_02_51_01_4295.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6518e96cddf5ccb3a9feac381b367c38.jpg","text":"TemporaryFile(/tmp/multipartBody865172531124511448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295183290,"filename":"image_18032025_02_51_05_3675.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/40782b137bfa15418f98173d67b9a147.jpg","text":"TemporaryFile(/tmp/multipartBody8486239850934594037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295183290,"filename":"image_18032025_02_51_14_4349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345089426","file1":"1345089406","file0":"1345089381","file4":"1345089438","file5":"1345089444","file3":"1345089436"},"map_files_photo_id_array":[{"photo_id":"1345089444","filename":"file5"},{"photo_id":"1345089426","filename":"file2"},{"photo_id":"1345089438","filename":"file4"},{"photo_id":"1345089406","filename":"file1"},{"photo_id":"1345089381","filename":"file0"},{"photo_id":"1345089436","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345089436":["hashtag1","hashtag2"]},{"1345089406":["hashtag1","hashtag2"]},{"1345089381":["hashtag1","hashtag2"]},{"1345089444":["hashtag1","hashtag2"]},{"1345089438":["hashtag1","hashtag2"]},{"1345089426":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345089436, 1345089406, 1345089381, 1345089444, 1345089438, 1345089426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.19398546218872 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:53:02.930826
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_57_3370.jpg', 2), ('/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_54_4892.jpg', 2), ('/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_49_3112.jpg', 2), ('/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_46_4194.jpg', 2), ('/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_41_4160.jpg', 2), ('/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_37_4166.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_57_3370.jpg', '/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_54_4892.jpg', '/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_49_3112.jpg', '/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_46_4194.jpg', '/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_41_4160.jpg', '/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_37_4166.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_57_3370.jpg
/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_54_4892.jpg
/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_49_3112.jpg
/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_46_4194.jpg
/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_41_4160.jpg
/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_37_4166.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345089468","1345089476","1345089485","1345089470","1345089473","1345089481"],"photo_ids_order":["1345089468","1345089470","1345089473","1345089476","1345089481","1345089485"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c6e477eec732fbabdf8080a4c300a925.jpg","text":"TemporaryFile(/tmp/multipartBody8416537477456720022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295243443,"filename":"image_18032025_02_50_57_3370.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/93933fb99c137b91f29eeb863d9f76f0.jpg","text":"TemporaryFile(/tmp/multipartBody713845099819049754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295243443,"filename":"image_18032025_02_50_46_4194.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3d9e7243d2a18aa86a76867f082f8aaa.jpg","text":"TemporaryFile(/tmp/multipartBody4689972392797156977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295243443,"filename":"image_18032025_02_50_37_4166.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/766f2145c0d37e62696e5dc5b52c8cf6.jpg","text":"TemporaryFile(/tmp/multipartBody8563993362570060561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295243443,"filename":"image_18032025_02_50_54_4892.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/99b7951193d3baa1c8138ad9d478aa9f.jpg","text":"TemporaryFile(/tmp/multipartBody2784272565021465042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295243443,"filename":"image_18032025_02_50_49_3112.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cd4a4bfe76ec3f9198384e5b883a915a.jpg","text":"TemporaryFile(/tmp/multipartBody4990705031609182311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295243443,"filename":"image_18032025_02_50_41_4160.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345089473","file1":"1345089470","file0":"1345089468","file4":"1345089481","file5":"1345089485","file3":"1345089476"},"map_files_photo_id_array":[{"photo_id":"1345089485","filename":"file5"},{"photo_id":"1345089473","filename":"file2"},{"photo_id":"1345089481","filename":"file4"},{"photo_id":"1345089470","filename":"file1"},{"photo_id":"1345089468","filename":"file0"},{"photo_id":"1345089476","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345089468":["hashtag1","hashtag2"]},{"1345089476":["hashtag1","hashtag2"]},{"1345089485":["hashtag1","hashtag2"]},{"1345089470":["hashtag1","hashtag2"]},{"1345089473":["hashtag1","hashtag2"]},{"1345089481":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345089468, 1345089476, 1345089485, 1345089470, 1345089473, 1345089481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.81207227706909 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:54:03.714413
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_33_4193.jpg', 2), ('/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_29_4119.jpg', 2), ('/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_25_3202.jpg', 2), ('/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_22_4089.jpg', 2), ('/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_17_4139.jpg', 2), ('/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_13_4145.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_33_4193.jpg', '/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_29_4119.jpg', '/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_25_3202.jpg', '/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_22_4089.jpg', '/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_17_4139.jpg', '/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_13_4145.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_33_4193.jpg
/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_29_4119.jpg
/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_25_3202.jpg
/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_22_4089.jpg
/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_17_4139.jpg
/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_13_4145.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345089538","1345089532","1345089564","1345089552","1345089561","1345089530"],"photo_ids_order":["1345089530","1345089532","1345089538","1345089552","1345089561","1345089564"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/65f7587ef0d72afce16c8d2dabe17b5e.jpg","text":"TemporaryFile(/tmp/multipartBody1792024311436102521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295304273,"filename":"image_18032025_02_50_25_3202.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cb9935a2c2512a973817f87e43f2efbf.jpg","text":"TemporaryFile(/tmp/multipartBody8139326729898907173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295304273,"filename":"image_18032025_02_50_29_4119.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c4194123ed65a39cc066642506718c8f.jpg","text":"TemporaryFile(/tmp/multipartBody1764762934615759290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295304273,"filename":"image_18032025_02_50_13_4145.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/23bf652481a31ae67816b77c822044c4.jpg","text":"TemporaryFile(/tmp/multipartBody2678610607457073219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295304273,"filename":"image_18032025_02_50_22_4089.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/484468e81b7b608b89a6b497b4a56bca.jpg","text":"TemporaryFile(/tmp/multipartBody984258592344750968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295304273,"filename":"image_18032025_02_50_17_4139.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/951a6586b7a15f2555c24ed71529d6b9.jpg","text":"TemporaryFile(/tmp/multipartBody8809264023196179056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295304273,"filename":"image_18032025_02_50_33_4193.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345089538","file1":"1345089532","file0":"1345089530","file4":"1345089561","file5":"1345089564","file3":"1345089552"},"map_files_photo_id_array":[{"photo_id":"1345089564","filename":"file5"},{"photo_id":"1345089538","filename":"file2"},{"photo_id":"1345089561","filename":"file4"},{"photo_id":"1345089532","filename":"file1"},{"photo_id":"1345089530","filename":"file0"},{"photo_id":"1345089552","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345089538":["hashtag1","hashtag2"]},{"1345089532":["hashtag1","hashtag2"]},{"1345089564":["hashtag1","hashtag2"]},{"1345089552":["hashtag1","hashtag2"]},{"1345089561":["hashtag1","hashtag2"]},{"1345089530":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345089538, 1345089532, 1345089564, 1345089552, 1345089561, 1345089530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.475613117218018 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:55:03.585711
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_09_4119.jpg', 2), ('/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_05_3390.jpg', 2), ('/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_02_4022.jpg', 2), ('/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_58_4187.jpg', 2), ('/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_53_4253.jpg', 2), ('/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_49_4128.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_09_4119.jpg', '/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_05_3390.jpg', '/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_02_4022.jpg', '/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_58_4187.jpg', '/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_53_4253.jpg', '/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_49_4128.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_09_4119.jpg
/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_05_3390.jpg
/home/nano/Desktop/images/18032025/02/50/image_18032025_02_50_02_4022.jpg
/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_58_4187.jpg
/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_53_4253.jpg
/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_49_4128.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345089768","1345089753","1345089761","1345089755","1345089764","1345089758"],"photo_ids_order":["1345089753","1345089755","1345089758","1345089761","1345089764","1345089768"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8b920532ca2ef87f08589bcbf73264be.jpg","text":"TemporaryFile(/tmp/multipartBody659913240968896310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295364127,"filename":"image_18032025_02_49_49_4128.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d7a23d323e2c2209a001ae369fe67693.jpg","text":"TemporaryFile(/tmp/multipartBody5402617619267810053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295364127,"filename":"image_18032025_02_50_09_4119.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/14cd2a2bbe381124bbd28fcec4c124a3.jpg","text":"TemporaryFile(/tmp/multipartBody1855854551792918358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295364127,"filename":"image_18032025_02_49_58_4187.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/75f1f8015d728ea9504cd5f49606001f.jpg","text":"TemporaryFile(/tmp/multipartBody3162211100602662167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295364127,"filename":"image_18032025_02_50_05_3390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cc727005ebaa9ed434b1697193d44f09.jpg","text":"TemporaryFile(/tmp/multipartBody8047704744540846365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295364127,"filename":"image_18032025_02_49_53_4253.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e1cbafcc1a12efa331d12eab41b111d5.jpg","text":"TemporaryFile(/tmp/multipartBody8594246979875251345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295364127,"filename":"image_18032025_02_50_02_4022.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345089758","file1":"1345089755","file0":"1345089753","file4":"1345089764","file5":"1345089768","file3":"1345089761"},"map_files_photo_id_array":[{"photo_id":"1345089768","filename":"file5"},{"photo_id":"1345089758","filename":"file2"},{"photo_id":"1345089764","filename":"file4"},{"photo_id":"1345089755","filename":"file1"},{"photo_id":"1345089753","filename":"file0"},{"photo_id":"1345089761","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345089768":["hashtag1","hashtag2"]},{"1345089753":["hashtag1","hashtag2"]},{"1345089761":["hashtag1","hashtag2"]},{"1345089755":["hashtag1","hashtag2"]},{"1345089764":["hashtag1","hashtag2"]},{"1345089758":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345089768, 1345089753, 1345089761, 1345089755, 1345089764, 1345089758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.69084644317627 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:56:02.615128
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_45_4209.jpg', 2), ('/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_41_4156.jpg', 2), ('/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_37_3207.jpg', 2), ('/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_34_4216.jpg', 2), ('/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_29_4303.jpg', 2), ('/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_25_4304.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_45_4209.jpg', '/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_41_4156.jpg', '/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_37_3207.jpg', '/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_34_4216.jpg', '/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_29_4303.jpg', '/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_25_4304.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_45_4209.jpg
/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_41_4156.jpg
/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_37_3207.jpg
/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_34_4216.jpg
/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_29_4303.jpg
/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_25_4304.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345089835","1345089817","1345089861","1345089879","1345089875","1345089803"],"photo_ids_order":["1345089803","1345089817","1345089835","1345089861","1345089875","1345089879"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/513c06c134871a92aebce95109859d87.jpg","text":"TemporaryFile(/tmp/multipartBody2290744343285502223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295423157,"filename":"image_18032025_02_49_37_3207.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2d1fbb7652d71774bf999fc9fa7d8bde.jpg","text":"TemporaryFile(/tmp/multipartBody8300980045134480668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295423157,"filename":"image_18032025_02_49_41_4156.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/37f06c4b0f11a419e91789a3a4cc9bdd.jpg","text":"TemporaryFile(/tmp/multipartBody2192038567951301239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295423157,"filename":"image_18032025_02_49_34_4216.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c849eb4d85c156a77d4594166dc5534d.jpg","text":"TemporaryFile(/tmp/multipartBody4330097819299059930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295423157,"filename":"image_18032025_02_49_25_4304.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8a8a975d8523a510a0d231b5ae6cf96a.jpg","text":"TemporaryFile(/tmp/multipartBody814230628806956084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295423157,"filename":"image_18032025_02_49_29_4303.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/47895cdbeb1bc0e1f39344089a313441.jpg","text":"TemporaryFile(/tmp/multipartBody8228001178762623207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295423157,"filename":"image_18032025_02_49_45_4209.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345089835","file1":"1345089817","file0":"1345089803","file4":"1345089875","file5":"1345089879","file3":"1345089861"},"map_files_photo_id_array":[{"photo_id":"1345089879","filename":"file5"},{"photo_id":"1345089835","filename":"file2"},{"photo_id":"1345089875","filename":"file4"},{"photo_id":"1345089817","filename":"file1"},{"photo_id":"1345089803","filename":"file0"},{"photo_id":"1345089861","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345089835":["hashtag1","hashtag2"]},{"1345089817":["hashtag1","hashtag2"]},{"1345089861":["hashtag1","hashtag2"]},{"1345089879":["hashtag1","hashtag2"]},{"1345089875":["hashtag1","hashtag2"]},{"1345089803":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345089835, 1345089817, 1345089861, 1345089879, 1345089875, 1345089803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.93143677711487 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:57:02.765396
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_21_3284.jpg', 2), ('/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_17_4368.jpg', 2), ('/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_13_4176.jpg', 2), ('/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_09_3257.jpg', 2), ('/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_06_4747.jpg', 2), ('/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_01_3325.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_21_3284.jpg', '/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_17_4368.jpg', '/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_13_4176.jpg', '/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_09_3257.jpg', '/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_06_4747.jpg', '/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_01_3325.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_21_3284.jpg
/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_17_4368.jpg
/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_13_4176.jpg
/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_09_3257.jpg
/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_06_4747.jpg
/home/nano/Desktop/images/18032025/02/49/image_18032025_02_49_01_3325.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345090130","1345090205","1345090327","1345090155","1345090455","1345090038"],"photo_ids_order":["1345090038","1345090130","1345090155","1345090205","1345090327","1345090455"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c6cde9709ddc91bf3fb409c33b6b752c.jpg","text":"TemporaryFile(/tmp/multipartBody3898291437598598466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295483371,"filename":"image_18032025_02_49_17_4368.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/815089a1fcee56bc14458e4ae8dac661.jpg","text":"TemporaryFile(/tmp/multipartBody8758111451199127478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295483371,"filename":"image_18032025_02_49_09_3257.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/685cab54805c618eefdfe8bedd208ef0.jpg","text":"TemporaryFile(/tmp/multipartBody1417590329872530695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295483371,"filename":"image_18032025_02_49_06_4747.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/28d5eb84f62b43aac94672fbc11416b2.jpg","text":"TemporaryFile(/tmp/multipartBody234303097327985373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295483371,"filename":"image_18032025_02_49_13_4176.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/406ea3a7a4309d7e733ab9d82c4fdb6a.jpg","text":"TemporaryFile(/tmp/multipartBody1672027793802703454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295483371,"filename":"image_18032025_02_49_01_3325.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/731e2ac2526c1c1b6afcb78459361761.jpg","text":"TemporaryFile(/tmp/multipartBody3810595381624927398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295483371,"filename":"image_18032025_02_49_21_3284.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345090155","file1":"1345090130","file0":"1345090038","file4":"1345090327","file5":"1345090455","file3":"1345090205"},"map_files_photo_id_array":[{"photo_id":"1345090455","filename":"file5"},{"photo_id":"1345090155","filename":"file2"},{"photo_id":"1345090327","filename":"file4"},{"photo_id":"1345090130","filename":"file1"},{"photo_id":"1345090038","filename":"file0"},{"photo_id":"1345090205","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345090130":["hashtag1","hashtag2"]},{"1345090205":["hashtag1","hashtag2"]},{"1345090327":["hashtag1","hashtag2"]},{"1345090155":["hashtag1","hashtag2"]},{"1345090455":["hashtag1","hashtag2"]},{"1345090038":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345090130, 1345090205, 1345090327, 1345090155, 1345090455, 1345090038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.665465354919434 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:58:03.016694
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_58_4309.jpg', 2), ('/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_53_4167.jpg', 2), ('/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_49_4257.jpg', 2), ('/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_45_3118.jpg', 2), ('/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_42_4171.jpg', 2), ('/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_38_4129.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_58_4309.jpg', '/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_53_4167.jpg', '/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_49_4257.jpg', '/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_45_3118.jpg', '/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_42_4171.jpg', '/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_38_4129.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_58_4309.jpg
/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_53_4167.jpg
/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_49_4257.jpg
/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_45_3118.jpg
/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_42_4171.jpg
/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_38_4129.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.4197859764099121 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 11:59:03.889136
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_58_4309.jpg', 2), ('/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_53_4167.jpg', 2), ('/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_49_4257.jpg', 2), ('/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_45_3118.jpg', 2), ('/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_42_4171.jpg', 2), ('/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_38_4129.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_58_4309.jpg', '/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_53_4167.jpg', '/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_49_4257.jpg', '/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_45_3118.jpg', '/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_42_4171.jpg', '/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_38_4129.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_58_4309.jpg
/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_53_4167.jpg
/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_49_4257.jpg
/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_45_3118.jpg
/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_42_4171.jpg
/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_38_4129.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345091463","1345091457","1345091480","1345091468","1345091476","1345091485"],"photo_ids_order":["1345091457","1345091463","1345091468","1345091476","1345091480","1345091485"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d2b1d7545f9700313f589649d5c1c606.jpg","text":"TemporaryFile(/tmp/multipartBody7782194247421887091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295604410,"filename":"image_18032025_02_48_53_4167.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/900899d57f68d63bb5796c5d0d5a0c91.jpg","text":"TemporaryFile(/tmp/multipartBody3434635955856999156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295604410,"filename":"image_18032025_02_48_58_4309.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0700ea267b32aa2dfae8bfa17a179c4d.jpg","text":"TemporaryFile(/tmp/multipartBody4217713028079521683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295604410,"filename":"image_18032025_02_48_42_4171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1d17c1a607f74e9b78685667e043929b.jpg","text":"TemporaryFile(/tmp/multipartBody7206751106627974749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295604410,"filename":"image_18032025_02_48_49_4257.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5cb796b62aa0a7260779421152bf95f6.jpg","text":"TemporaryFile(/tmp/multipartBody635229383726142395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295604410,"filename":"image_18032025_02_48_45_3118.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/13c6f403467c17a8e9dca68caf334708.jpg","text":"TemporaryFile(/tmp/multipartBody3418879118941832112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295604410,"filename":"image_18032025_02_48_38_4129.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345091468","file1":"1345091463","file0":"1345091457","file4":"1345091480","file5":"1345091485","file3":"1345091476"},"map_files_photo_id_array":[{"photo_id":"1345091485","filename":"file5"},{"photo_id":"1345091468","filename":"file2"},{"photo_id":"1345091480","filename":"file4"},{"photo_id":"1345091463","filename":"file1"},{"photo_id":"1345091457","filename":"file0"},{"photo_id":"1345091476","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345091463":["hashtag1","hashtag2"]},{"1345091457":["hashtag1","hashtag2"]},{"1345091480":["hashtag1","hashtag2"]},{"1345091468":["hashtag1","hashtag2"]},{"1345091476":["hashtag1","hashtag2"]},{"1345091485":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345091463, 1345091457, 1345091480, 1345091468, 1345091476, 1345091485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.91509962081909 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:00:02.681477
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_33_4186.jpg', 2), ('/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_29_4135.jpg', 2), ('/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_25_4135.jpg', 2), ('/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_21_4118.jpg', 2), ('/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_17_4063.jpg', 2), ('/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_13_3076.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_33_4186.jpg', '/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_29_4135.jpg', '/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_25_4135.jpg', '/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_21_4118.jpg', '/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_17_4063.jpg', '/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_13_3076.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_33_4186.jpg
/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_29_4135.jpg
/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_25_4135.jpg
/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_21_4118.jpg
/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_17_4063.jpg
/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_13_3076.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345091715","1345091663","1345091660","1345091720","1345091674","1345091698"],"photo_ids_order":["1345091660","1345091663","1345091674","1345091698","1345091715","1345091720"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dccff687ddc136d4afb68bb688de3e7e.jpg","text":"TemporaryFile(/tmp/multipartBody1226298077035536071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295663180,"filename":"image_18032025_02_48_17_4063.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/46401b85d60e8bbb4dae385ccd84e981.jpg","text":"TemporaryFile(/tmp/multipartBody703829247188747041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295663180,"filename":"image_18032025_02_48_29_4135.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6df31d6df04cedf68ae3b377b7b8596b.jpg","text":"TemporaryFile(/tmp/multipartBody1288288066053047424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295663180,"filename":"image_18032025_02_48_33_4186.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3a3df7a30583ab3272e0be41a16f3b2c.jpg","text":"TemporaryFile(/tmp/multipartBody6391095717835373315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295663180,"filename":"image_18032025_02_48_13_3076.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b937c43942049f94756d3486e32a26fc.jpg","text":"TemporaryFile(/tmp/multipartBody2941417607579437889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295663180,"filename":"image_18032025_02_48_25_4135.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f86294eaca6c0528ff92a56e6317f26c.jpg","text":"TemporaryFile(/tmp/multipartBody2391790714541531057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295663180,"filename":"image_18032025_02_48_21_4118.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345091674","file1":"1345091663","file0":"1345091660","file4":"1345091715","file5":"1345091720","file3":"1345091698"},"map_files_photo_id_array":[{"photo_id":"1345091720","filename":"file5"},{"photo_id":"1345091674","filename":"file2"},{"photo_id":"1345091715","filename":"file4"},{"photo_id":"1345091663","filename":"file1"},{"photo_id":"1345091660","filename":"file0"},{"photo_id":"1345091698","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345091715":["hashtag1","hashtag2"]},{"1345091663":["hashtag1","hashtag2"]},{"1345091660":["hashtag1","hashtag2"]},{"1345091720":["hashtag1","hashtag2"]},{"1345091674":["hashtag1","hashtag2"]},{"1345091698":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345091715, 1345091663, 1345091660, 1345091720, 1345091674, 1345091698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.69672656059265 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:01:03.035534
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_10_4115.jpg', 2), ('/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_06_4471.jpg', 2), ('/home/nano/Desktop/images/18032025/02/47/image_18032025_02_48_01_4066.jpg', 2), ('/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_57_4064.jpg', 2), ('/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_53_4130.jpg', 2), ('/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_49_3149.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_10_4115.jpg', '/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_06_4471.jpg', '/home/nano/Desktop/images/18032025/02/47/image_18032025_02_48_01_4066.jpg', '/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_57_4064.jpg', '/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_53_4130.jpg', '/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_49_3149.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_10_4115.jpg
/home/nano/Desktop/images/18032025/02/48/image_18032025_02_48_06_4471.jpg
/home/nano/Desktop/images/18032025/02/47/image_18032025_02_48_01_4066.jpg
/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_57_4064.jpg
/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_53_4130.jpg
/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_49_3149.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345091779","1345091787","1345091781","1345091783","1345091777","1345091785"],"photo_ids_order":["1345091777","1345091779","1345091781","1345091783","1345091785","1345091787"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/52d6c3931f0f170b651f9c42acc3c2ce.jpg","text":"TemporaryFile(/tmp/multipartBody8077238588737747571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295723545,"filename":"image_18032025_02_48_06_4471.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/297bec322c0c18e1adfc639427db39d6.jpg","text":"TemporaryFile(/tmp/multipartBody4100615269008615126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295723545,"filename":"image_18032025_02_47_49_3149.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f8c6812a6844fc0b1f3741014474aa24.jpg","text":"TemporaryFile(/tmp/multipartBody3327101109887990219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295723545,"filename":"image_18032025_02_48_01_4066.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1326208f1c1b8331ca000f0072f1ce4d.jpg","text":"TemporaryFile(/tmp/multipartBody8635036184937098885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295723545,"filename":"image_18032025_02_47_57_4064.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7398932104e36a9527f115c7cc2cd511.jpg","text":"TemporaryFile(/tmp/multipartBody876095073004353457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295723545,"filename":"image_18032025_02_48_10_4115.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4da2ca44344f1a3a7ebd20fd142c08e9.jpg","text":"TemporaryFile(/tmp/multipartBody5678609724907012480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295723545,"filename":"image_18032025_02_47_53_4130.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345091781","file1":"1345091779","file0":"1345091777","file4":"1345091785","file5":"1345091787","file3":"1345091783"},"map_files_photo_id_array":[{"photo_id":"1345091787","filename":"file5"},{"photo_id":"1345091781","filename":"file2"},{"photo_id":"1345091785","filename":"file4"},{"photo_id":"1345091779","filename":"file1"},{"photo_id":"1345091777","filename":"file0"},{"photo_id":"1345091783","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345091779":["hashtag1","hashtag2"]},{"1345091787":["hashtag1","hashtag2"]},{"1345091781":["hashtag1","hashtag2"]},{"1345091783":["hashtag1","hashtag2"]},{"1345091777":["hashtag1","hashtag2"]},{"1345091785":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345091779, 1345091787, 1345091781, 1345091783, 1345091777, 1345091785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.752206325531006 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:02:03.225528
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_46_4181.jpg', 2), ('/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_41_4169.jpg', 2), ('/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_37_4068.jpg', 2), ('/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_33_4021.jpg', 2), ('/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_29_4112.jpg', 2), ('/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_25_4041.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_46_4181.jpg', '/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_41_4169.jpg', '/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_37_4068.jpg', '/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_33_4021.jpg', '/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_29_4112.jpg', '/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_25_4041.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_46_4181.jpg
/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_41_4169.jpg
/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_37_4068.jpg
/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_33_4021.jpg
/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_29_4112.jpg
/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_25_4041.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.4546773433685303 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:02:32.281520
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_46_4181.jpg', 2), ('/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_41_4169.jpg', 2), ('/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_37_4068.jpg', 2), ('/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_33_4021.jpg', 2), ('/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_29_4112.jpg', 2), ('/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_25_4041.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_46_4181.jpg', '/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_41_4169.jpg', '/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_37_4068.jpg', '/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_33_4021.jpg', '/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_29_4112.jpg', '/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_25_4041.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_46_4181.jpg
/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_41_4169.jpg
/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_37_4068.jpg
/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_33_4021.jpg
/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_29_4112.jpg
/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_25_4041.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345091839","1345091830","1345091853","1345091844","1345091849","1345091834"],"photo_ids_order":["1345091830","1345091834","1345091839","1345091844","1345091849","1345091853"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9f527dc3634230db8f7a40251df0e3e3.jpg","text":"TemporaryFile(/tmp/multipartBody5738038109017918246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295812798,"filename":"image_18032025_02_47_37_4068.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9570875e4cfe03158453326669c6abfb.jpg","text":"TemporaryFile(/tmp/multipartBody942666758925691285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295812798,"filename":"image_18032025_02_47_46_4181.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a53515e772ef822272196cd8ac6ed2c4.jpg","text":"TemporaryFile(/tmp/multipartBody3038970937610260495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295812798,"filename":"image_18032025_02_47_25_4041.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/80378004d77b86f16d9e3bcb97738f09.jpg","text":"TemporaryFile(/tmp/multipartBody8027547982786807954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295812798,"filename":"image_18032025_02_47_33_4021.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/647555b65a6ac28d9568a608f00d8795.jpg","text":"TemporaryFile(/tmp/multipartBody6820820826066087514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295812798,"filename":"image_18032025_02_47_29_4112.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/92a3a899df1439b243c39d79cd201d02.jpg","text":"TemporaryFile(/tmp/multipartBody4945397947486918920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295812798,"filename":"image_18032025_02_47_41_4169.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345091839","file1":"1345091834","file0":"1345091830","file4":"1345091849","file5":"1345091853","file3":"1345091844"},"map_files_photo_id_array":[{"photo_id":"1345091853","filename":"file5"},{"photo_id":"1345091839","filename":"file2"},{"photo_id":"1345091849","filename":"file4"},{"photo_id":"1345091834","filename":"file1"},{"photo_id":"1345091830","filename":"file0"},{"photo_id":"1345091844","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345091839":["hashtag1","hashtag2"]},{"1345091830":["hashtag1","hashtag2"]},{"1345091853":["hashtag1","hashtag2"]},{"1345091844":["hashtag1","hashtag2"]},{"1345091849":["hashtag1","hashtag2"]},{"1345091834":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345091839, 1345091830, 1345091853, 1345091844, 1345091849, 1345091834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.29462122917175 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:03:32.475905
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_21_3870.jpg', 2), ('/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_17_4115.jpg', 2), ('/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_13_4346.jpg', 2), ('/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_09_3254.jpg', 2), ('/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_05_3863.jpg', 2), ('/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_02_4041.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_21_3870.jpg', '/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_17_4115.jpg', '/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_13_4346.jpg', '/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_09_3254.jpg', '/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_05_3863.jpg', '/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_02_4041.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_21_3870.jpg
/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_17_4115.jpg
/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_13_4346.jpg
/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_09_3254.jpg
/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_05_3863.jpg
/home/nano/Desktop/images/18032025/02/47/image_18032025_02_47_02_4041.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345091863","1345091886","1345091874","1345091868","1345091882","1345091879"],"photo_ids_order":["1345091863","1345091868","1345091874","1345091879","1345091882","1345091886"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/91746ae0ca98f384ff3f57930ff4b217.jpg","text":"TemporaryFile(/tmp/multipartBody8945214537889264072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295872965,"filename":"image_18032025_02_47_21_3870.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b78b85c25e2943589f627dc391dfb4d7.jpg","text":"TemporaryFile(/tmp/multipartBody2004730802828418639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295872965,"filename":"image_18032025_02_47_02_4041.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/34787f08c8b2be4394c8e7c29a823719.jpg","text":"TemporaryFile(/tmp/multipartBody2967739534768389001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295872965,"filename":"image_18032025_02_47_13_4346.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/30ae82c83c70cc11f34047fb00176e9a.jpg","text":"TemporaryFile(/tmp/multipartBody1811373453866719025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295872965,"filename":"image_18032025_02_47_17_4115.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/082f67a5991ee9e8d98173a92d941bf1.jpg","text":"TemporaryFile(/tmp/multipartBody8679184482572982023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295872965,"filename":"image_18032025_02_47_05_3863.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1d91dfa7209445bc3ad8b56df9856440.jpg","text":"TemporaryFile(/tmp/multipartBody6395832544251747780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295872965,"filename":"image_18032025_02_47_09_3254.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345091874","file1":"1345091868","file0":"1345091863","file4":"1345091882","file5":"1345091886","file3":"1345091879"},"map_files_photo_id_array":[{"photo_id":"1345091886","filename":"file5"},{"photo_id":"1345091874","filename":"file2"},{"photo_id":"1345091882","filename":"file4"},{"photo_id":"1345091868","filename":"file1"},{"photo_id":"1345091863","filename":"file0"},{"photo_id":"1345091879","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345091863":["hashtag1","hashtag2"]},{"1345091886":["hashtag1","hashtag2"]},{"1345091874":["hashtag1","hashtag2"]},{"1345091868":["hashtag1","hashtag2"]},{"1345091882":["hashtag1","hashtag2"]},{"1345091879":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345091863, 1345091886, 1345091874, 1345091868, 1345091882, 1345091879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.970014572143555 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:04:32.660090
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_58_4033.jpg', 2), ('/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_54_4304.jpg', 2), ('/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_49_4380.jpg', 2), ('/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_45_3795.jpg', 2), ('/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_41_4362.jpg', 2), ('/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_37_3788.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_58_4033.jpg', '/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_54_4304.jpg', '/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_49_4380.jpg', '/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_45_3795.jpg', '/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_41_4362.jpg', '/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_37_3788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_58_4033.jpg
/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_54_4304.jpg
/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_49_4380.jpg
/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_45_3795.jpg
/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_41_4362.jpg
/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_37_3788.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345091917","1345091926","1345091908","1345091913","1345091922","1345091904"],"photo_ids_order":["1345091904","1345091908","1345091913","1345091917","1345091922","1345091926"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bde8d4bc71fa5f1ab95cd33b2441851c.jpg","text":"TemporaryFile(/tmp/multipartBody3875348377519199734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295933137,"filename":"image_18032025_02_46_45_3795.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7fff277afd8d63b91943f1e75ad932cc.jpg","text":"TemporaryFile(/tmp/multipartBody6761970932999364094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295933137,"filename":"image_18032025_02_46_37_3788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/178b26e0789e0b954e575a8c1737c514.jpg","text":"TemporaryFile(/tmp/multipartBody2399145904164916982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295933137,"filename":"image_18032025_02_46_54_4304.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8342124d321300c8fa6816c92cf7bcda.jpg","text":"TemporaryFile(/tmp/multipartBody999285663372375262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295933137,"filename":"image_18032025_02_46_49_4380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1a88be239c9117ddc0afd0a10108562c.jpg","text":"TemporaryFile(/tmp/multipartBody2757121597695655991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295933137,"filename":"image_18032025_02_46_41_4362.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/46d8927dc4ffe900b845563e1158af93.jpg","text":"TemporaryFile(/tmp/multipartBody4970332670664640265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295933137,"filename":"image_18032025_02_46_58_4033.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345091913","file1":"1345091908","file0":"1345091904","file4":"1345091922","file5":"1345091926","file3":"1345091917"},"map_files_photo_id_array":[{"photo_id":"1345091926","filename":"file5"},{"photo_id":"1345091913","filename":"file2"},{"photo_id":"1345091922","filename":"file4"},{"photo_id":"1345091908","filename":"file1"},{"photo_id":"1345091904","filename":"file0"},{"photo_id":"1345091917","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345091917":["hashtag1","hashtag2"]},{"1345091926":["hashtag1","hashtag2"]},{"1345091908":["hashtag1","hashtag2"]},{"1345091913":["hashtag1","hashtag2"]},{"1345091922":["hashtag1","hashtag2"]},{"1345091904":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345091917, 1345091926, 1345091908, 1345091913, 1345091922, 1345091904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.739596843719482 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:05:31.842178
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_33_4223.jpg', 2), ('/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_29_3158.jpg', 2), ('/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_26_4061.jpg', 2), ('/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_21_4148.jpg', 2), ('/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_17_4172.jpg', 2), ('/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_13_4150.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_33_4223.jpg', '/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_29_3158.jpg', '/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_26_4061.jpg', '/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_21_4148.jpg', '/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_17_4172.jpg', '/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_13_4150.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_33_4223.jpg
/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_29_3158.jpg
/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_26_4061.jpg
/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_21_4148.jpg
/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_17_4172.jpg
/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_13_4150.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345091970","1345091961","1345091949","1345091940","1345091954","1345091965"],"photo_ids_order":["1345091940","1345091949","1345091954","1345091961","1345091965","1345091970"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c4c53942b8f748d13eca8a9894d32d88.jpg","text":"TemporaryFile(/tmp/multipartBody118137290100180920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295992462,"filename":"image_18032025_02_46_13_4150.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/161bdbe2e34ad68f3734c2de98c1c20a.jpg","text":"TemporaryFile(/tmp/multipartBody8117908820623244476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295992462,"filename":"image_18032025_02_46_21_4148.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1384008b642aa00c1b6569fd3fb6d102.jpg","text":"TemporaryFile(/tmp/multipartBody982640206220735217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295992462,"filename":"image_18032025_02_46_29_3158.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/641d3fd338fe067dbcd5393f95fa1e81.jpg","text":"TemporaryFile(/tmp/multipartBody7530974989937636598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295992462,"filename":"image_18032025_02_46_33_4223.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d5f6b5d88001ef567899013c8afeb036.jpg","text":"TemporaryFile(/tmp/multipartBody1072618628409389567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295992462,"filename":"image_18032025_02_46_26_4061.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a3fce9e435dc5c8119f3b7a8d1955e5f.jpg","text":"TemporaryFile(/tmp/multipartBody8340991501117566085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742295992462,"filename":"image_18032025_02_46_17_4172.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345091954","file1":"1345091949","file0":"1345091940","file4":"1345091965","file5":"1345091970","file3":"1345091961"},"map_files_photo_id_array":[{"photo_id":"1345091970","filename":"file5"},{"photo_id":"1345091954","filename":"file2"},{"photo_id":"1345091965","filename":"file4"},{"photo_id":"1345091949","filename":"file1"},{"photo_id":"1345091940","filename":"file0"},{"photo_id":"1345091961","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345091970":["hashtag1","hashtag2"]},{"1345091961":["hashtag1","hashtag2"]},{"1345091949":["hashtag1","hashtag2"]},{"1345091940":["hashtag1","hashtag2"]},{"1345091954":["hashtag1","hashtag2"]},{"1345091965":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345091970, 1345091961, 1345091949, 1345091940, 1345091954, 1345091965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.73041605949402 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:06:32.013884
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_09_4126.jpg', 2), ('/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_05_3738.jpg', 2), ('/home/nano/Desktop/images/18032025/02/45/image_18032025_02_46_01_4121.jpg', 2), ('/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_57_4115.jpg', 2), ('/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_53_4143.jpg', 2), ('/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_49_3135.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_09_4126.jpg', '/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_05_3738.jpg', '/home/nano/Desktop/images/18032025/02/45/image_18032025_02_46_01_4121.jpg', '/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_57_4115.jpg', '/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_53_4143.jpg', '/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_49_3135.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_09_4126.jpg
/home/nano/Desktop/images/18032025/02/46/image_18032025_02_46_05_3738.jpg
/home/nano/Desktop/images/18032025/02/45/image_18032025_02_46_01_4121.jpg
/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_57_4115.jpg
/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_53_4143.jpg
/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_49_3135.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345091994","1345091982","1345092003","1345091990","1345091987","1345091998"],"photo_ids_order":["1345091982","1345091987","1345091990","1345091994","1345091998","1345092003"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/36e5f86a44fb38e96640c1f09ec6c6c6.jpg","text":"TemporaryFile(/tmp/multipartBody7963304210505501355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296052704,"filename":"image_18032025_02_45_57_4115.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/16219f5f3b1942c41412a278bf6e5a1a.jpg","text":"TemporaryFile(/tmp/multipartBody7436900566890387449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296052704,"filename":"image_18032025_02_46_09_4126.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/992af98acae97f702fb599fc39c9c48b.jpg","text":"TemporaryFile(/tmp/multipartBody5048419739682304921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296052704,"filename":"image_18032025_02_45_49_3135.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d1d1035f597741c0184421a8dd67aa96.jpg","text":"TemporaryFile(/tmp/multipartBody2065346648742721249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296052704,"filename":"image_18032025_02_46_01_4121.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/103dc28262ecfd5e55db49cda30002a9.jpg","text":"TemporaryFile(/tmp/multipartBody3035692897059155575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296052704,"filename":"image_18032025_02_46_05_3738.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/58f9d7f04536e47bfa61cfae99c5945b.jpg","text":"TemporaryFile(/tmp/multipartBody4640733275480887271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296052704,"filename":"image_18032025_02_45_53_4143.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345091990","file1":"1345091987","file0":"1345091982","file4":"1345091998","file5":"1345092003","file3":"1345091994"},"map_files_photo_id_array":[{"photo_id":"1345092003","filename":"file5"},{"photo_id":"1345091990","filename":"file2"},{"photo_id":"1345091998","filename":"file4"},{"photo_id":"1345091987","filename":"file1"},{"photo_id":"1345091982","filename":"file0"},{"photo_id":"1345091994","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345091994":["hashtag1","hashtag2"]},{"1345091982":["hashtag1","hashtag2"]},{"1345092003":["hashtag1","hashtag2"]},{"1345091990":["hashtag1","hashtag2"]},{"1345091987":["hashtag1","hashtag2"]},{"1345091998":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345091994, 1345091982, 1345092003, 1345091990, 1345091987, 1345091998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.996347427368164 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:07:32.288635
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_46_4125.jpg', 2), ('/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_42_4151.jpg', 2), ('/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_37_4180.jpg', 2), ('/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_33_4040.jpg', 2), ('/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_29_4114.jpg', 2), ('/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_25_4164.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_46_4125.jpg', '/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_42_4151.jpg', '/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_37_4180.jpg', '/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_33_4040.jpg', '/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_29_4114.jpg', '/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_25_4164.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_46_4125.jpg
/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_42_4151.jpg
/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_37_4180.jpg
/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_33_4040.jpg
/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_29_4114.jpg
/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_25_4164.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345092300","1345092269","1345092178","1345092238","1345092328","1345092208"],"photo_ids_order":["1345092178","1345092208","1345092238","1345092269","1345092300","1345092328"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0b29841a4f8bc4099c8c45c336db0dc0.jpg","text":"TemporaryFile(/tmp/multipartBody4723225887341194384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296112883,"filename":"image_18032025_02_45_29_4114.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/01ff444cd4f49004e546a85a75c675c9.jpg","text":"TemporaryFile(/tmp/multipartBody2448109995908487917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296112883,"filename":"image_18032025_02_45_33_4040.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/697bb499d1f16a0fef569157d7d68ccf.jpg","text":"TemporaryFile(/tmp/multipartBody1483520750101954171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296112883,"filename":"image_18032025_02_45_46_4125.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/769f52969f5f9cabd4ace7a75164f879.jpg","text":"TemporaryFile(/tmp/multipartBody6875950144521889663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296112883,"filename":"image_18032025_02_45_37_4180.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/81c5dd4a8ed9531979fe6aa3abf17060.jpg","text":"TemporaryFile(/tmp/multipartBody6115755655303807985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296112883,"filename":"image_18032025_02_45_25_4164.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a62f6042295c844a24b4d718c72cf301.jpg","text":"TemporaryFile(/tmp/multipartBody8402375046731030241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296112883,"filename":"image_18032025_02_45_42_4151.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345092238","file1":"1345092208","file0":"1345092178","file4":"1345092300","file5":"1345092328","file3":"1345092269"},"map_files_photo_id_array":[{"photo_id":"1345092328","filename":"file5"},{"photo_id":"1345092238","filename":"file2"},{"photo_id":"1345092300","filename":"file4"},{"photo_id":"1345092208","filename":"file1"},{"photo_id":"1345092178","filename":"file0"},{"photo_id":"1345092269","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345092300":["hashtag1","hashtag2"]},{"1345092269":["hashtag1","hashtag2"]},{"1345092178":["hashtag1","hashtag2"]},{"1345092238":["hashtag1","hashtag2"]},{"1345092328":["hashtag1","hashtag2"]},{"1345092208":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345092300, 1345092269, 1345092178, 1345092238, 1345092328, 1345092208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.947344064712524 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:08:32.538423
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_21_4074.jpg', 2), ('/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_17_3180.jpg', 2), ('/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_14_4211.jpg', 2), ('/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_09_4170.jpg', 2), ('/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_05_4080.jpg', 2), ('/home/nano/Desktop/images/18032025/02/44/image_18032025_02_45_01_4287.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_21_4074.jpg', '/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_17_3180.jpg', '/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_14_4211.jpg', '/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_09_4170.jpg', '/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_05_4080.jpg', '/home/nano/Desktop/images/18032025/02/44/image_18032025_02_45_01_4287.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_21_4074.jpg
/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_17_3180.jpg
/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_14_4211.jpg
/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_09_4170.jpg
/home/nano/Desktop/images/18032025/02/45/image_18032025_02_45_05_4080.jpg
/home/nano/Desktop/images/18032025/02/44/image_18032025_02_45_01_4287.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345092601","1345092660","1345092689","1345092680","1345092685","1345092631"],"photo_ids_order":["1345092601","1345092631","1345092660","1345092680","1345092685","1345092689"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/722ac4c9b2ddc0cc7901cf4517147f38.jpg","text":"TemporaryFile(/tmp/multipartBody6129320979230256079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296173086,"filename":"image_18032025_02_45_21_4074.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9470fe56f01b37e68dee7e76320ca8f1.jpg","text":"TemporaryFile(/tmp/multipartBody8549991033343987156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296173086,"filename":"image_18032025_02_45_14_4211.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9a6c47b5b67d9f27b42ccfaca009e94d.jpg","text":"TemporaryFile(/tmp/multipartBody118510434042126896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296173086,"filename":"image_18032025_02_45_01_4287.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/56a14c2ff92a5feeb87392ce4b12a1e0.jpg","text":"TemporaryFile(/tmp/multipartBody7245762387674573033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296173086,"filename":"image_18032025_02_45_09_4170.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/945d53682d36182e859c8f1e2884d731.jpg","text":"TemporaryFile(/tmp/multipartBody902035162707317692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296173086,"filename":"image_18032025_02_45_05_4080.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/92613ed95bf750b251eddd86463c8c90.jpg","text":"TemporaryFile(/tmp/multipartBody5002827385912246708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296173086,"filename":"image_18032025_02_45_17_3180.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345092660","file1":"1345092631","file0":"1345092601","file4":"1345092685","file5":"1345092689","file3":"1345092680"},"map_files_photo_id_array":[{"photo_id":"1345092689","filename":"file5"},{"photo_id":"1345092660","filename":"file2"},{"photo_id":"1345092685","filename":"file4"},{"photo_id":"1345092631","filename":"file1"},{"photo_id":"1345092601","filename":"file0"},{"photo_id":"1345092680","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345092601":["hashtag1","hashtag2"]},{"1345092660":["hashtag1","hashtag2"]},{"1345092689":["hashtag1","hashtag2"]},{"1345092680":["hashtag1","hashtag2"]},{"1345092685":["hashtag1","hashtag2"]},{"1345092631":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345092601, 1345092660, 1345092689, 1345092680, 1345092685, 1345092631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.775125741958618 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:09:32.720176
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_57_3264.jpg', 2), ('/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_54_4095.jpg', 2), ('/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_49_4319.jpg', 2), ('/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_45_4289.jpg', 2), ('/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_41_3956.jpg', 2), ('/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_37_3334.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_57_3264.jpg', '/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_54_4095.jpg', '/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_49_4319.jpg', '/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_45_4289.jpg', '/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_41_3956.jpg', '/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_37_3334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_57_3264.jpg
/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_54_4095.jpg
/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_49_4319.jpg
/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_45_4289.jpg
/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_41_3956.jpg
/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_37_3334.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345092858","1345092807","1345092755","1345092743","1345092841","1345092745"],"photo_ids_order":["1345092743","1345092745","1345092755","1345092807","1345092841","1345092858"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/960a1748d33426b50b6c323d4ad3e59d.jpg","text":"TemporaryFile(/tmp/multipartBody4905713958911367080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296233227,"filename":"image_18032025_02_44_37_3334.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a2918f95cc24cff224fb97b8a31ecb1b.jpg","text":"TemporaryFile(/tmp/multipartBody4920232423208528334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296233227,"filename":"image_18032025_02_44_45_4289.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b82a9dcb83817e1f77aa47cbccdf1810.jpg","text":"TemporaryFile(/tmp/multipartBody9015592972864046666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296233227,"filename":"image_18032025_02_44_49_4319.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/43e1519d2778274490576c729e63d3e4.jpg","text":"TemporaryFile(/tmp/multipartBody2220585954358555993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296233227,"filename":"image_18032025_02_44_57_3264.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e3f97847d6638b8ded342b40bfa5b70f.jpg","text":"TemporaryFile(/tmp/multipartBody2787422012886344180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296233227,"filename":"image_18032025_02_44_41_3956.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6d7b7bc26b9df2a896f45f0c6ee0a55c.jpg","text":"TemporaryFile(/tmp/multipartBody6183390069750621079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296233227,"filename":"image_18032025_02_44_54_4095.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345092755","file1":"1345092745","file0":"1345092743","file4":"1345092841","file5":"1345092858","file3":"1345092807"},"map_files_photo_id_array":[{"photo_id":"1345092858","filename":"file5"},{"photo_id":"1345092755","filename":"file2"},{"photo_id":"1345092841","filename":"file4"},{"photo_id":"1345092745","filename":"file1"},{"photo_id":"1345092743","filename":"file0"},{"photo_id":"1345092807","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345092858":["hashtag1","hashtag2"]},{"1345092807":["hashtag1","hashtag2"]},{"1345092755":["hashtag1","hashtag2"]},{"1345092743":["hashtag1","hashtag2"]},{"1345092841":["hashtag1","hashtag2"]},{"1345092745":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345092858, 1345092807, 1345092755, 1345092743, 1345092841, 1345092745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.416718006134033 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:10:31.868754
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_34_4419.jpg', 2), ('/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_29_4451.jpg', 2), ('/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_25_3309.jpg', 2), ('/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_21_4401.jpg', 2), ('/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_17_3307.jpg', 2), ('/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_14_4003.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_34_4419.jpg', '/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_29_4451.jpg', '/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_25_3309.jpg', '/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_21_4401.jpg', '/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_17_3307.jpg', '/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_14_4003.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_34_4419.jpg
/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_29_4451.jpg
/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_25_3309.jpg
/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_21_4401.jpg
/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_17_3307.jpg
/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_14_4003.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345092904","1345092924","1345092909","1345092920","1345092914","1345092928"],"photo_ids_order":["1345092904","1345092909","1345092914","1345092920","1345092924","1345092928"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0ecbab96d9345fc8bc488d3f8c3c985a.jpg","text":"TemporaryFile(/tmp/multipartBody7925795797989936832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296292356,"filename":"image_18032025_02_44_34_4419.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7ea7dec3cd6b7bbd63f24a51037803ba.jpg","text":"TemporaryFile(/tmp/multipartBody8644574342400602535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296292356,"filename":"image_18032025_02_44_17_3307.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/78ac67466e31eda0bb3553d566bcdba2.jpg","text":"TemporaryFile(/tmp/multipartBody324723775960564139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296292356,"filename":"image_18032025_02_44_29_4451.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3328f663f03a23d6ab6b89829df14168.jpg","text":"TemporaryFile(/tmp/multipartBody5344964549917147968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296292356,"filename":"image_18032025_02_44_21_4401.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/135b5d7f62029da441af9dd76516ffd2.jpg","text":"TemporaryFile(/tmp/multipartBody4836960068939004329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296292356,"filename":"image_18032025_02_44_25_3309.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9a83da4b6ceb80f4eeae12cd6e1ebf19.jpg","text":"TemporaryFile(/tmp/multipartBody6812172127052873564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296292356,"filename":"image_18032025_02_44_14_4003.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345092914","file1":"1345092909","file0":"1345092904","file4":"1345092924","file5":"1345092928","file3":"1345092920"},"map_files_photo_id_array":[{"photo_id":"1345092928","filename":"file5"},{"photo_id":"1345092914","filename":"file2"},{"photo_id":"1345092924","filename":"file4"},{"photo_id":"1345092909","filename":"file1"},{"photo_id":"1345092904","filename":"file0"},{"photo_id":"1345092920","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345092904":["hashtag1","hashtag2"]},{"1345092924":["hashtag1","hashtag2"]},{"1345092909":["hashtag1","hashtag2"]},{"1345092920":["hashtag1","hashtag2"]},{"1345092914":["hashtag1","hashtag2"]},{"1345092928":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345092904, 1345092924, 1345092909, 1345092920, 1345092914, 1345092928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.78574824333191 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:11:32.049806
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_10_4073.jpg', 2), ('/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_06_4643.jpg', 2), ('/home/nano/Desktop/images/18032025/02/43/image_18032025_02_44_01_4126.jpg', 2), ('/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_57_4148.jpg', 2), ('/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_53_3212.jpg', 2), ('/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_49_4338.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_10_4073.jpg', '/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_06_4643.jpg', '/home/nano/Desktop/images/18032025/02/43/image_18032025_02_44_01_4126.jpg', '/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_57_4148.jpg', '/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_53_3212.jpg', '/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_49_4338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_10_4073.jpg
/home/nano/Desktop/images/18032025/02/44/image_18032025_02_44_06_4643.jpg
/home/nano/Desktop/images/18032025/02/43/image_18032025_02_44_01_4126.jpg
/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_57_4148.jpg
/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_53_3212.jpg
/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_49_4338.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345092954","1345092965","1345092962","1345092950","1345092958","1345092943"],"photo_ids_order":["1345092943","1345092950","1345092954","1345092958","1345092962","1345092965"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a0c29494846c64934d1151ed8969147f.jpg","text":"TemporaryFile(/tmp/multipartBody4874504421718530109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296352621,"filename":"image_18032025_02_44_01_4126.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a4a3512e09751fcad3a6579f05d8a7bd.jpg","text":"TemporaryFile(/tmp/multipartBody627097832536766654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296352621,"filename":"image_18032025_02_43_49_4338.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f3733b3d67dbc462812e7ba9e302c791.jpg","text":"TemporaryFile(/tmp/multipartBody3891152015897688979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296352621,"filename":"image_18032025_02_43_53_3212.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4d3a72f3fa330cc4c6c4cf07537474dd.jpg","text":"TemporaryFile(/tmp/multipartBody395266352902975950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296352621,"filename":"image_18032025_02_44_06_4643.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cb8457c07db1d71785a633aa77583bf7.jpg","text":"TemporaryFile(/tmp/multipartBody2056276684660629084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296352621,"filename":"image_18032025_02_43_57_4148.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3771766c52eeb8496da425ecee7288f3.jpg","text":"TemporaryFile(/tmp/multipartBody7094648341056152119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296352621,"filename":"image_18032025_02_44_10_4073.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345092954","file1":"1345092950","file0":"1345092943","file4":"1345092962","file5":"1345092965","file3":"1345092958"},"map_files_photo_id_array":[{"photo_id":"1345092965","filename":"file5"},{"photo_id":"1345092954","filename":"file2"},{"photo_id":"1345092962","filename":"file4"},{"photo_id":"1345092950","filename":"file1"},{"photo_id":"1345092943","filename":"file0"},{"photo_id":"1345092958","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345092954":["hashtag1","hashtag2"]},{"1345092965":["hashtag1","hashtag2"]},{"1345092962":["hashtag1","hashtag2"]},{"1345092950":["hashtag1","hashtag2"]},{"1345092958":["hashtag1","hashtag2"]},{"1345092943":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345092954, 1345092965, 1345092962, 1345092950, 1345092958, 1345092943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.255409955978394 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:12:32.321985
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_45_4181.jpg', 2), ('/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_41_4136.jpg', 2), ('/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_37_3189.jpg', 2), ('/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_34_4200.jpg', 2), ('/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_29_4079.jpg', 2), ('/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_25_4138.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_45_4181.jpg', '/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_41_4136.jpg', '/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_37_3189.jpg', '/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_34_4200.jpg', '/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_29_4079.jpg', '/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_25_4138.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_45_4181.jpg
/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_41_4136.jpg
/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_37_3189.jpg
/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_34_4200.jpg
/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_29_4079.jpg
/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_25_4138.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345092993","1345092981","1345093011","1345093005","1345092986","1345092999"],"photo_ids_order":["1345092981","1345092986","1345092993","1345092999","1345093005","1345093011"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ada74df4cec07449829121d24b2f1d30.jpg","text":"TemporaryFile(/tmp/multipartBody4415538936380758039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296412844,"filename":"image_18032025_02_43_37_3189.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/60619423dfef3a57319b629d4f2333f1.jpg","text":"TemporaryFile(/tmp/multipartBody7229452503304970762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296412844,"filename":"image_18032025_02_43_45_4181.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/45f366cbeac6df5462129ff40b3207c0.jpg","text":"TemporaryFile(/tmp/multipartBody5254601594861492696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296412844,"filename":"image_18032025_02_43_25_4138.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/572a0a4a33fe8a0ed9e2294818d97718.jpg","text":"TemporaryFile(/tmp/multipartBody3483641500739380280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296412844,"filename":"image_18032025_02_43_29_4079.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ac19bc07f03703d0b1f941787af43b3b.jpg","text":"TemporaryFile(/tmp/multipartBody48717931318061076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296412844,"filename":"image_18032025_02_43_41_4136.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/aaf0b49e0096acfcca1075f158e4178e.jpg","text":"TemporaryFile(/tmp/multipartBody1993804668816953341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296412844,"filename":"image_18032025_02_43_34_4200.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345092993","file1":"1345092986","file0":"1345092981","file4":"1345093005","file5":"1345093011","file3":"1345092999"},"map_files_photo_id_array":[{"photo_id":"1345093011","filename":"file5"},{"photo_id":"1345092993","filename":"file2"},{"photo_id":"1345093005","filename":"file4"},{"photo_id":"1345092986","filename":"file1"},{"photo_id":"1345092981","filename":"file0"},{"photo_id":"1345092999","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345092993":["hashtag1","hashtag2"]},{"1345092981":["hashtag1","hashtag2"]},{"1345093011":["hashtag1","hashtag2"]},{"1345093005":["hashtag1","hashtag2"]},{"1345092986":["hashtag1","hashtag2"]},{"1345092999":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345092993, 1345092981, 1345093011, 1345093005, 1345092986, 1345092999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.565014600753784 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:13:32.476391
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_21_4184.jpg', 2), ('/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_17_4213.jpg', 2), ('/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_13_3982.jpg', 2), ('/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_09_4142.jpg', 2), ('/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_05_3472.jpg', 2), ('/home/nano/Desktop/images/18032025/02/42/image_18032025_02_43_01_4175.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_21_4184.jpg', '/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_17_4213.jpg', '/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_13_3982.jpg', '/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_09_4142.jpg', '/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_05_3472.jpg', '/home/nano/Desktop/images/18032025/02/42/image_18032025_02_43_01_4175.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_21_4184.jpg
/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_17_4213.jpg
/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_13_3982.jpg
/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_09_4142.jpg
/home/nano/Desktop/images/18032025/02/43/image_18032025_02_43_05_3472.jpg
/home/nano/Desktop/images/18032025/02/42/image_18032025_02_43_01_4175.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345093026","1345093020","1345093037","1345093042","1345093048","1345093033"],"photo_ids_order":["1345093020","1345093026","1345093033","1345093037","1345093042","1345093048"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2b0fb5ecc4aa00bee9a6d7e227dae5a2.jpg","text":"TemporaryFile(/tmp/multipartBody7832538299213900498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296472988,"filename":"image_18032025_02_43_17_4213.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3f81146196d4687fde79837a0b44ae0c.jpg","text":"TemporaryFile(/tmp/multipartBody69818948329073574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296472988,"filename":"image_18032025_02_43_21_4184.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/03d29a7ca4083ce526fa3f7b9d809b42.jpg","text":"TemporaryFile(/tmp/multipartBody3267021776301934213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296472988,"filename":"image_18032025_02_43_09_4142.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e93af4ab9df875ede1aabaadbea8780e.jpg","text":"TemporaryFile(/tmp/multipartBody4105636185478388949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296472988,"filename":"image_18032025_02_43_05_3472.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/670a33be5e1eaa025e0cc407ba12ccf9.jpg","text":"TemporaryFile(/tmp/multipartBody2566195755715901985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296472988,"filename":"image_18032025_02_43_01_4175.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8bf554427bf9e7add0fd8b59d1a21da3.jpg","text":"TemporaryFile(/tmp/multipartBody8816078760055191636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296472988,"filename":"image_18032025_02_43_13_3982.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345093033","file1":"1345093026","file0":"1345093020","file4":"1345093042","file5":"1345093048","file3":"1345093037"},"map_files_photo_id_array":[{"photo_id":"1345093048","filename":"file5"},{"photo_id":"1345093033","filename":"file2"},{"photo_id":"1345093042","filename":"file4"},{"photo_id":"1345093026","filename":"file1"},{"photo_id":"1345093020","filename":"file0"},{"photo_id":"1345093037","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345093026":["hashtag1","hashtag2"]},{"1345093020":["hashtag1","hashtag2"]},{"1345093037":["hashtag1","hashtag2"]},{"1345093042":["hashtag1","hashtag2"]},{"1345093048":["hashtag1","hashtag2"]},{"1345093033":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345093026, 1345093020, 1345093037, 1345093042, 1345093048, 1345093033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.73746061325073 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:14:32.679953
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_57_4162.jpg', 2), ('/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_53_3201.jpg', 2), ('/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_50_4119.jpg', 2), ('/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_46_4119.jpg', 2), ('/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_41_4086.jpg', 2), ('/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_37_4206.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_57_4162.jpg', '/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_53_3201.jpg', '/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_50_4119.jpg', '/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_46_4119.jpg', '/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_41_4086.jpg', '/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_37_4206.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_57_4162.jpg
/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_53_3201.jpg
/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_50_4119.jpg
/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_46_4119.jpg
/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_41_4086.jpg
/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_37_4206.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345093094","1345093073","1345093087","1345093060","1345093066","1345093080"],"photo_ids_order":["1345093060","1345093066","1345093073","1345093080","1345093087","1345093094"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/834f7a2fac8f810dd40b678e54c0abca.jpg","text":"TemporaryFile(/tmp/multipartBody5259223864099087316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296533172,"filename":"image_18032025_02_42_37_4206.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2d07fa8e02f7f31574c2cf12cefdac09.jpg","text":"TemporaryFile(/tmp/multipartBody7093011994282193325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296533172,"filename":"image_18032025_02_42_50_4119.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/68c2523443279bbd02562e55703d3cf9.jpg","text":"TemporaryFile(/tmp/multipartBody3677542822516611527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296533172,"filename":"image_18032025_02_42_41_4086.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6e7dca43bc0a9399b799207bba80a801.jpg","text":"TemporaryFile(/tmp/multipartBody3608778644485310434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296533172,"filename":"image_18032025_02_42_57_4162.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e0ec65bd2c2194b421dd409d740198b4.jpg","text":"TemporaryFile(/tmp/multipartBody8564118475943391702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296533172,"filename":"image_18032025_02_42_53_3201.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cd034bcd749c4b9683efbaa8e77ce765.jpg","text":"TemporaryFile(/tmp/multipartBody6508421729563284350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296533172,"filename":"image_18032025_02_42_46_4119.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345093073","file1":"1345093066","file0":"1345093060","file4":"1345093087","file5":"1345093094","file3":"1345093080"},"map_files_photo_id_array":[{"photo_id":"1345093094","filename":"file5"},{"photo_id":"1345093073","filename":"file2"},{"photo_id":"1345093087","filename":"file4"},{"photo_id":"1345093066","filename":"file1"},{"photo_id":"1345093060","filename":"file0"},{"photo_id":"1345093080","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345093094":["hashtag1","hashtag2"]},{"1345093073":["hashtag1","hashtag2"]},{"1345093087":["hashtag1","hashtag2"]},{"1345093060":["hashtag1","hashtag2"]},{"1345093066":["hashtag1","hashtag2"]},{"1345093080":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345093094, 1345093073, 1345093087, 1345093060, 1345093066, 1345093080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.91855788230896 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:15:31.844382
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_33_4105.jpg', 2), ('/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_29_4244.jpg', 2), ('/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_25_3219.jpg', 2), ('/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_22_4386.jpg', 2), ('/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_17_4379.jpg', 2), ('/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_13_3947.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_33_4105.jpg', '/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_29_4244.jpg', '/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_25_3219.jpg', '/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_22_4386.jpg', '/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_17_4379.jpg', '/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_13_3947.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_33_4105.jpg
/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_29_4244.jpg
/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_25_3219.jpg
/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_22_4386.jpg
/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_17_4379.jpg
/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_13_3947.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345093119","1345093124","1345093103","1345093114","1345093108","1345093098"],"photo_ids_order":["1345093098","1345093103","1345093108","1345093114","1345093119","1345093124"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/04f24825b9fc9affddb1889e769841cc.jpg","text":"TemporaryFile(/tmp/multipartBody5731899542643135132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296592398,"filename":"image_18032025_02_42_17_4379.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/71e9f370f0efe0ee28033335ee2b4587.jpg","text":"TemporaryFile(/tmp/multipartBody4523360272266922135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296592398,"filename":"image_18032025_02_42_13_3947.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cb0e54ca806fabe44c998165eae12d66.jpg","text":"TemporaryFile(/tmp/multipartBody6520176540626836654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296592398,"filename":"image_18032025_02_42_29_4244.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5a6cd1df9f5cbacc8c4336cc736b9d79.jpg","text":"TemporaryFile(/tmp/multipartBody8665021095899056756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296592398,"filename":"image_18032025_02_42_22_4386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6d98f5e1a3dec8accc4e9caeb5d7372d.jpg","text":"TemporaryFile(/tmp/multipartBody8128437828193621099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296592398,"filename":"image_18032025_02_42_25_3219.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1d39d459101a1789a68052556f8f694c.jpg","text":"TemporaryFile(/tmp/multipartBody3237568613646846865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296592398,"filename":"image_18032025_02_42_33_4105.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345093108","file1":"1345093103","file0":"1345093098","file4":"1345093119","file5":"1345093124","file3":"1345093114"},"map_files_photo_id_array":[{"photo_id":"1345093124","filename":"file5"},{"photo_id":"1345093108","filename":"file2"},{"photo_id":"1345093119","filename":"file4"},{"photo_id":"1345093103","filename":"file1"},{"photo_id":"1345093098","filename":"file0"},{"photo_id":"1345093114","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345093119":["hashtag1","hashtag2"]},{"1345093124":["hashtag1","hashtag2"]},{"1345093103":["hashtag1","hashtag2"]},{"1345093114":["hashtag1","hashtag2"]},{"1345093108":["hashtag1","hashtag2"]},{"1345093098":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345093119, 1345093124, 1345093103, 1345093114, 1345093108, 1345093098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.996410369873047 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:16:32.020823
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_09_3256.jpg', 2), ('/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_06_4065.jpg', 2), ('/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_02_4361.jpg', 2), ('/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_57_4202.jpg', 2), ('/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_53_4173.jpg', 2), ('/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_49_4125.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_09_3256.jpg', '/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_06_4065.jpg', '/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_02_4361.jpg', '/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_57_4202.jpg', '/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_53_4173.jpg', '/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_49_4125.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_09_3256.jpg
/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_06_4065.jpg
/home/nano/Desktop/images/18032025/02/42/image_18032025_02_42_02_4361.jpg
/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_57_4202.jpg
/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_53_4173.jpg
/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_49_4125.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345093140","1345093164","1345093146","1345093136","1345093159","1345093153"],"photo_ids_order":["1345093136","1345093140","1345093146","1345093153","1345093159","1345093164"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cb61e3e12dc9713f0d0f2ac1168f0f29.jpg","text":"TemporaryFile(/tmp/multipartBody634938474401334748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296652532,"filename":"image_18032025_02_42_06_4065.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/53e4ed94a5173878251338d231d0869e.jpg","text":"TemporaryFile(/tmp/multipartBody4658818446822736456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296652532,"filename":"image_18032025_02_41_49_4125.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9505fe77cd89172a63b02f527b3b874e.jpg","text":"TemporaryFile(/tmp/multipartBody5608073912375702693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296652532,"filename":"image_18032025_02_42_02_4361.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0850262e2f78f57601210a2abea05ec7.jpg","text":"TemporaryFile(/tmp/multipartBody7387810687449597357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296652532,"filename":"image_18032025_02_42_09_3256.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e1c05bcdf111149ab9a0e9696e101893.jpg","text":"TemporaryFile(/tmp/multipartBody6519026659565120496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296652532,"filename":"image_18032025_02_41_53_4173.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8bfbbbf9365729d0633c59182d83df18.jpg","text":"TemporaryFile(/tmp/multipartBody2489005326329252189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296652532,"filename":"image_18032025_02_41_57_4202.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345093146","file1":"1345093140","file0":"1345093136","file4":"1345093159","file5":"1345093164","file3":"1345093153"},"map_files_photo_id_array":[{"photo_id":"1345093164","filename":"file5"},{"photo_id":"1345093146","filename":"file2"},{"photo_id":"1345093159","filename":"file4"},{"photo_id":"1345093140","filename":"file1"},{"photo_id":"1345093136","filename":"file0"},{"photo_id":"1345093153","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345093140":["hashtag1","hashtag2"]},{"1345093164":["hashtag1","hashtag2"]},{"1345093146":["hashtag1","hashtag2"]},{"1345093136":["hashtag1","hashtag2"]},{"1345093159":["hashtag1","hashtag2"]},{"1345093153":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345093140, 1345093164, 1345093146, 1345093136, 1345093159, 1345093153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.851694107055664 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:17:32.179790
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_45_3023.jpg', 2), ('/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_42_4189.jpg', 2), ('/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_37_4188.jpg', 2), ('/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_33_3914.jpg', 2), ('/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_29_4187.jpg', 2), ('/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_25_4195.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_45_3023.jpg', '/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_42_4189.jpg', '/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_37_4188.jpg', '/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_33_3914.jpg', '/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_29_4187.jpg', '/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_25_4195.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_45_3023.jpg
/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_42_4189.jpg
/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_37_4188.jpg
/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_33_3914.jpg
/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_29_4187.jpg
/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_25_4195.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345093199","1345093178","1345093174","1345093183","1345093194","1345093188"],"photo_ids_order":["1345093174","1345093178","1345093183","1345093188","1345093194","1345093199"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5d03b4ca77600735a5d8b1c8c7ac9845.jpg","text":"TemporaryFile(/tmp/multipartBody7144249723416865989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296712795,"filename":"image_18032025_02_41_25_4195.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ae8d6311715cbbe1a7f72bb1b898c794.jpg","text":"TemporaryFile(/tmp/multipartBody3241431827770108530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296712795,"filename":"image_18032025_02_41_42_4189.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1dc016202b96387e8ac995329ead0b01.jpg","text":"TemporaryFile(/tmp/multipartBody7618117438236278816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296712795,"filename":"image_18032025_02_41_45_3023.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c15a5a7c69452fe2c9a56f2e4ffd210d.jpg","text":"TemporaryFile(/tmp/multipartBody2818345944841866722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296712795,"filename":"image_18032025_02_41_37_4188.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ccd7459b8921ab8e68292b7a8990c687.jpg","text":"TemporaryFile(/tmp/multipartBody8362632112685071377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296712795,"filename":"image_18032025_02_41_29_4187.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5c98f6e5b266dd5fea4d5fb08bcd8e12.jpg","text":"TemporaryFile(/tmp/multipartBody2564646068492560404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296712795,"filename":"image_18032025_02_41_33_3914.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345093183","file1":"1345093178","file0":"1345093174","file4":"1345093194","file5":"1345093199","file3":"1345093188"},"map_files_photo_id_array":[{"photo_id":"1345093199","filename":"file5"},{"photo_id":"1345093183","filename":"file2"},{"photo_id":"1345093194","filename":"file4"},{"photo_id":"1345093178","filename":"file1"},{"photo_id":"1345093174","filename":"file0"},{"photo_id":"1345093188","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345093199":["hashtag1","hashtag2"]},{"1345093178":["hashtag1","hashtag2"]},{"1345093174":["hashtag1","hashtag2"]},{"1345093183":["hashtag1","hashtag2"]},{"1345093194":["hashtag1","hashtag2"]},{"1345093188":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345093199, 1345093178, 1345093174, 1345093183, 1345093194, 1345093188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.62804627418518 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:18:32.382211
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_21_4217.jpg', 2), ('/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_17_3131.jpg', 2), ('/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_14_3977.jpg', 2), ('/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_10_4100.jpg', 2), ('/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_06_4325.jpg', 2), ('/home/nano/Desktop/images/18032025/02/40/image_18032025_02_41_01_3995.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_21_4217.jpg', '/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_17_3131.jpg', '/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_14_3977.jpg', '/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_10_4100.jpg', '/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_06_4325.jpg', '/home/nano/Desktop/images/18032025/02/40/image_18032025_02_41_01_3995.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_21_4217.jpg
/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_17_3131.jpg
/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_14_3977.jpg
/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_10_4100.jpg
/home/nano/Desktop/images/18032025/02/41/image_18032025_02_41_06_4325.jpg
/home/nano/Desktop/images/18032025/02/40/image_18032025_02_41_01_3995.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345093233","1345093221","1345093215","1345093238","1345093226","1345093211"],"photo_ids_order":["1345093211","1345093215","1345093221","1345093226","1345093233","1345093238"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/98a33a8b3af9505204ff71081066a524.jpg","text":"TemporaryFile(/tmp/multipartBody7112809789379794976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296773070,"filename":"image_18032025_02_41_06_4325.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b09f43887abc2b887c76e49c2e3a5b06.jpg","text":"TemporaryFile(/tmp/multipartBody3935960531488509744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296773070,"filename":"image_18032025_02_41_14_3977.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fc5cd2df051ae2a95ad185baa491527a.jpg","text":"TemporaryFile(/tmp/multipartBody4369372654767533730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296773070,"filename":"image_18032025_02_41_17_3131.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/875b56fd37ac4ef747e39aa68f3a0ffb.jpg","text":"TemporaryFile(/tmp/multipartBody1724037240007624118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296773070,"filename":"image_18032025_02_41_01_3995.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/233f550847aa0946f4bdda842d7bc2b2.jpg","text":"TemporaryFile(/tmp/multipartBody3966164013260094405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296773070,"filename":"image_18032025_02_41_10_4100.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/57c371d6cf036db8075ead40c1b83734.jpg","text":"TemporaryFile(/tmp/multipartBody8886302321294922303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296773070,"filename":"image_18032025_02_41_21_4217.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345093221","file1":"1345093215","file0":"1345093211","file4":"1345093233","file5":"1345093238","file3":"1345093226"},"map_files_photo_id_array":[{"photo_id":"1345093238","filename":"file5"},{"photo_id":"1345093221","filename":"file2"},{"photo_id":"1345093233","filename":"file4"},{"photo_id":"1345093215","filename":"file1"},{"photo_id":"1345093211","filename":"file0"},{"photo_id":"1345093226","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345093233":["hashtag1","hashtag2"]},{"1345093221":["hashtag1","hashtag2"]},{"1345093215":["hashtag1","hashtag2"]},{"1345093238":["hashtag1","hashtag2"]},{"1345093226":["hashtag1","hashtag2"]},{"1345093211":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345093233, 1345093221, 1345093215, 1345093238, 1345093226, 1345093211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.497443199157715 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:19:32.554286
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_57_4228.jpg', 2), ('/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_53_3941.jpg', 2), ('/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_49_4160.jpg', 2), ('/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_45_4128.jpg', 2), ('/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_41_4044.jpg', 2), ('/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_37_3166.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_57_4228.jpg', '/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_53_3941.jpg', '/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_49_4160.jpg', '/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_45_4128.jpg', '/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_41_4044.jpg', '/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_37_3166.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_57_4228.jpg
/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_53_3941.jpg
/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_49_4160.jpg
/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_45_4128.jpg
/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_41_4044.jpg
/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_37_3166.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345093254","1345093295","1345093289","1345093247","1345093267","1345093300"],"photo_ids_order":["1345093247","1345093254","1345093267","1345093289","1345093295","1345093300"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b01c672c44af8ffc67d7600c4f54d160.jpg","text":"TemporaryFile(/tmp/multipartBody4432716289576900763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296833208,"filename":"image_18032025_02_40_53_3941.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0c0956e38872ac121d945d685ba9cb2c.jpg","text":"TemporaryFile(/tmp/multipartBody4600030814237939962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296833208,"filename":"image_18032025_02_40_41_4044.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/80d6a8511de08864a0667f8bc727551c.jpg","text":"TemporaryFile(/tmp/multipartBody6546044229665659641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296833208,"filename":"image_18032025_02_40_45_4128.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/034da574d5d285b1392a9c2ae3da7c07.jpg","text":"TemporaryFile(/tmp/multipartBody2599633244559963623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296833208,"filename":"image_18032025_02_40_57_4228.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6f74f8230443e3c93b300105d1317e96.jpg","text":"TemporaryFile(/tmp/multipartBody7495983325591150161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296833208,"filename":"image_18032025_02_40_49_4160.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e1518a6ef2aebe74490b5b75505010a6.jpg","text":"TemporaryFile(/tmp/multipartBody4737451006999396070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296833208,"filename":"image_18032025_02_40_37_3166.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345093267","file1":"1345093254","file0":"1345093247","file4":"1345093295","file5":"1345093300","file3":"1345093289"},"map_files_photo_id_array":[{"photo_id":"1345093300","filename":"file5"},{"photo_id":"1345093267","filename":"file2"},{"photo_id":"1345093295","filename":"file4"},{"photo_id":"1345093254","filename":"file1"},{"photo_id":"1345093247","filename":"file0"},{"photo_id":"1345093289","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345093254":["hashtag1","hashtag2"]},{"1345093295":["hashtag1","hashtag2"]},{"1345093289":["hashtag1","hashtag2"]},{"1345093247":["hashtag1","hashtag2"]},{"1345093267":["hashtag1","hashtag2"]},{"1345093300":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345093254, 1345093295, 1345093289, 1345093247, 1345093267, 1345093300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.1473491191864 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:20:32.741719
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_34_4170.jpg', 2), ('/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_29_4263.jpg', 2), ('/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_25_4312.jpg', 2), ('/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_21_3379.jpg', 2), ('/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_17_3818.jpg', 2), ('/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_14_4294.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_34_4170.jpg', '/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_29_4263.jpg', '/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_25_4312.jpg', '/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_21_3379.jpg', '/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_17_3818.jpg', '/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_14_4294.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_34_4170.jpg
/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_29_4263.jpg
/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_25_4312.jpg
/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_21_3379.jpg
/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_17_3818.jpg
/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_14_4294.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345093326","1345093331","1345093313","1345093316","1345093336","1345093321"],"photo_ids_order":["1345093313","1345093316","1345093321","1345093326","1345093331","1345093336"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d819749a49f88fade228460ada6337e1.jpg","text":"TemporaryFile(/tmp/multipartBody4280175182538686660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296893348,"filename":"image_18032025_02_40_21_3379.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d464249ab11933f031dea449e35e7e92.jpg","text":"TemporaryFile(/tmp/multipartBody1796348622705373424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296893348,"filename":"image_18032025_02_40_17_3818.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/64ef425fd3ed84fb44d0da46c0e5bf8a.jpg","text":"TemporaryFile(/tmp/multipartBody534896402038869951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296893348,"filename":"image_18032025_02_40_34_4170.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/86f8da61d6f1e6115df075e11f42739f.jpg","text":"TemporaryFile(/tmp/multipartBody5328491110562981353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296893348,"filename":"image_18032025_02_40_29_4263.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c63878eff89c27bf4ccc497ff75cc283.jpg","text":"TemporaryFile(/tmp/multipartBody2666118771189969023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296893348,"filename":"image_18032025_02_40_14_4294.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a1d711621806774cc8888aa00d3e0447.jpg","text":"TemporaryFile(/tmp/multipartBody7089397478585984826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296893348,"filename":"image_18032025_02_40_25_4312.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345093321","file1":"1345093316","file0":"1345093313","file4":"1345093331","file5":"1345093336","file3":"1345093326"},"map_files_photo_id_array":[{"photo_id":"1345093336","filename":"file5"},{"photo_id":"1345093321","filename":"file2"},{"photo_id":"1345093331","filename":"file4"},{"photo_id":"1345093316","filename":"file1"},{"photo_id":"1345093313","filename":"file0"},{"photo_id":"1345093326","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345093326":["hashtag1","hashtag2"]},{"1345093331":["hashtag1","hashtag2"]},{"1345093313":["hashtag1","hashtag2"]},{"1345093316":["hashtag1","hashtag2"]},{"1345093336":["hashtag1","hashtag2"]},{"1345093321":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345093326, 1345093331, 1345093313, 1345093316, 1345093336, 1345093321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59453582763672 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:21:31.978472
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_09_4262.jpg', 2), ('/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_05_4155.jpg', 2), ('/home/nano/Desktop/images/18032025/02/39/image_18032025_02_40_01_4109.jpg', 2), ('/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_57_3193.jpg', 2), ('/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_54_3978.jpg', 2), ('/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_50_4098.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_09_4262.jpg', '/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_05_4155.jpg', '/home/nano/Desktop/images/18032025/02/39/image_18032025_02_40_01_4109.jpg', '/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_57_3193.jpg', '/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_54_3978.jpg', '/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_50_4098.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_09_4262.jpg
/home/nano/Desktop/images/18032025/02/40/image_18032025_02_40_05_4155.jpg
/home/nano/Desktop/images/18032025/02/39/image_18032025_02_40_01_4109.jpg
/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_57_3193.jpg
/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_54_3978.jpg
/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_50_4098.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345093374","1345093355","1345093369","1345093360","1345093348","1345093365"],"photo_ids_order":["1345093348","1345093355","1345093360","1345093365","1345093369","1345093374"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ee7e6df1c23c3858923e64253c01f32a.jpg","text":"TemporaryFile(/tmp/multipartBody4613212418406911551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296952518,"filename":"image_18032025_02_39_50_4098.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/28e00b1802c21958425f95994559e1a1.jpg","text":"TemporaryFile(/tmp/multipartBody5128420603875110975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296952518,"filename":"image_18032025_02_40_05_4155.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/75920df6cdaac2f47cb75ac7f7ac3f83.jpg","text":"TemporaryFile(/tmp/multipartBody7888878522268756144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296952518,"filename":"image_18032025_02_39_54_3978.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d765ef264d95f54e284beafdabe9828d.jpg","text":"TemporaryFile(/tmp/multipartBody4879267196717410335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296952518,"filename":"image_18032025_02_40_01_4109.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2aef2f725035329091f7bf5b748b710a.jpg","text":"TemporaryFile(/tmp/multipartBody6995541953683717896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296952518,"filename":"image_18032025_02_40_09_4262.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e9fff6dd8cea21fe211a8990367d9e10.jpg","text":"TemporaryFile(/tmp/multipartBody8076179229912615042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742296952518,"filename":"image_18032025_02_39_57_3193.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345093360","file1":"1345093355","file0":"1345093348","file4":"1345093369","file5":"1345093374","file3":"1345093365"},"map_files_photo_id_array":[{"photo_id":"1345093374","filename":"file5"},{"photo_id":"1345093360","filename":"file2"},{"photo_id":"1345093369","filename":"file4"},{"photo_id":"1345093355","filename":"file1"},{"photo_id":"1345093348","filename":"file0"},{"photo_id":"1345093365","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345093374":["hashtag1","hashtag2"]},{"1345093355":["hashtag1","hashtag2"]},{"1345093369":["hashtag1","hashtag2"]},{"1345093360":["hashtag1","hashtag2"]},{"1345093348":["hashtag1","hashtag2"]},{"1345093365":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345093374, 1345093355, 1345093369, 1345093360, 1345093348, 1345093365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.432862281799316 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:22:32.151907
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_46_4129.jpg', 2), ('/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_41_4148.jpg', 2), ('/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_37_4226.jpg', 2), ('/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_33_4174.jpg', 2), ('/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_29_4132.jpg', 2), ('/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_25_3153.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_46_4129.jpg', '/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_41_4148.jpg', '/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_37_4226.jpg', '/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_33_4174.jpg', '/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_29_4132.jpg', '/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_25_3153.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_46_4129.jpg
/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_41_4148.jpg
/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_37_4226.jpg
/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_33_4174.jpg
/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_29_4132.jpg
/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_25_3153.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345093407","1345093404","1345093388","1345093382","1345093400","1345093395"],"photo_ids_order":["1345093382","1345093388","1345093395","1345093400","1345093404","1345093407"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fb75da6b6eb66a4217873741c45fd227.jpg","text":"TemporaryFile(/tmp/multipartBody4169785405132081438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297012656,"filename":"image_18032025_02_39_25_3153.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9f6f0c4574844041e6abd237a4fdc75b.jpg","text":"TemporaryFile(/tmp/multipartBody790805107501460001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297012656,"filename":"image_18032025_02_39_29_4132.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/515548b8ff44ee7fc0f0c7605c2b0c7c.jpg","text":"TemporaryFile(/tmp/multipartBody5426826357338990505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297012656,"filename":"image_18032025_02_39_41_4148.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5452effdc4402c22e4e1c8c1069916d4.jpg","text":"TemporaryFile(/tmp/multipartBody3058540108329581809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297012656,"filename":"image_18032025_02_39_46_4129.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/458bc7f84cf4ba368a185ad5cb224c4c.jpg","text":"TemporaryFile(/tmp/multipartBody1408825040743781560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297012656,"filename":"image_18032025_02_39_33_4174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/593a0ebaabe4df28d90a27f5d671d657.jpg","text":"TemporaryFile(/tmp/multipartBody8214182175519605167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297012656,"filename":"image_18032025_02_39_37_4226.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345093395","file1":"1345093388","file0":"1345093382","file4":"1345093404","file5":"1345093407","file3":"1345093400"},"map_files_photo_id_array":[{"photo_id":"1345093407","filename":"file5"},{"photo_id":"1345093395","filename":"file2"},{"photo_id":"1345093404","filename":"file4"},{"photo_id":"1345093388","filename":"file1"},{"photo_id":"1345093382","filename":"file0"},{"photo_id":"1345093400","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345093407":["hashtag1","hashtag2"]},{"1345093404":["hashtag1","hashtag2"]},{"1345093388":["hashtag1","hashtag2"]},{"1345093382":["hashtag1","hashtag2"]},{"1345093400":["hashtag1","hashtag2"]},{"1345093395":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345093407, 1345093404, 1345093388, 1345093382, 1345093400, 1345093395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.577352285385132 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:23:32.308907
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_22_4069.jpg', 2), ('/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_18_4104.jpg', 2), ('/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_13_4133.jpg', 2), ('/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_09_4074.jpg', 2), ('/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_05_3812.jpg', 2), ('/home/nano/Desktop/images/18032025/02/38/image_18032025_02_39_01_4043.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_22_4069.jpg', '/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_18_4104.jpg', '/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_13_4133.jpg', '/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_09_4074.jpg', '/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_05_3812.jpg', '/home/nano/Desktop/images/18032025/02/38/image_18032025_02_39_01_4043.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_22_4069.jpg
/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_18_4104.jpg
/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_13_4133.jpg
/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_09_4074.jpg
/home/nano/Desktop/images/18032025/02/39/image_18032025_02_39_05_3812.jpg
/home/nano/Desktop/images/18032025/02/38/image_18032025_02_39_01_4043.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345093431","1345093422","1345093436","1345093441","1345093444","1345093426"],"photo_ids_order":["1345093422","1345093426","1345093431","1345093436","1345093441","1345093444"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e2ec541ef21d088fbdfa318879c4cdf9.jpg","text":"TemporaryFile(/tmp/multipartBody8468983882319996566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297072816,"filename":"image_18032025_02_39_13_4133.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e6b16eb6cfdf9c1d5a52f54017543bed.jpg","text":"TemporaryFile(/tmp/multipartBody7237326440669700238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297072816,"filename":"image_18032025_02_39_22_4069.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9a311e24cd7a7c59a0eac227aba427b4.jpg","text":"TemporaryFile(/tmp/multipartBody2672578529475146407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297072816,"filename":"image_18032025_02_39_09_4074.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0d67c27b6420d43d6f3eb3683e6d3a20.jpg","text":"TemporaryFile(/tmp/multipartBody603621450734105459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297072816,"filename":"image_18032025_02_39_05_3812.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/61ca7b5a611bd2c84967a63e1453f2f9.jpg","text":"TemporaryFile(/tmp/multipartBody2467691152373788384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297072816,"filename":"image_18032025_02_39_01_4043.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1c6969dba72ee31f696e8badbf3d2399.jpg","text":"TemporaryFile(/tmp/multipartBody157351647257749070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297072816,"filename":"image_18032025_02_39_18_4104.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345093431","file1":"1345093426","file0":"1345093422","file4":"1345093441","file5":"1345093444","file3":"1345093436"},"map_files_photo_id_array":[{"photo_id":"1345093444","filename":"file5"},{"photo_id":"1345093431","filename":"file2"},{"photo_id":"1345093441","filename":"file4"},{"photo_id":"1345093426","filename":"file1"},{"photo_id":"1345093422","filename":"file0"},{"photo_id":"1345093436","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345093431":["hashtag1","hashtag2"]},{"1345093422":["hashtag1","hashtag2"]},{"1345093436":["hashtag1","hashtag2"]},{"1345093441":["hashtag1","hashtag2"]},{"1345093444":["hashtag1","hashtag2"]},{"1345093426":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345093431, 1345093422, 1345093436, 1345093441, 1345093444, 1345093426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.941082239151 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:24:32.474865
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_57_4136.jpg', 2), ('/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_53_4118.jpg', 2), ('/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_49_4136.jpg', 2), ('/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_45_4134.jpg', 2), ('/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_41_3108.jpg', 2), ('/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_38_4153.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_57_4136.jpg', '/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_53_4118.jpg', '/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_49_4136.jpg', '/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_45_4134.jpg', '/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_41_3108.jpg', '/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_38_4153.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_57_4136.jpg
/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_53_4118.jpg
/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_49_4136.jpg
/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_45_4134.jpg
/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_41_3108.jpg
/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_38_4153.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345093473","1345093469","1345093478","1345093463","1345093466","1345093461"],"photo_ids_order":["1345093461","1345093463","1345093466","1345093469","1345093473","1345093478"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b5c4be08ba7862bed6be5e4f2ba947fc.jpg","text":"TemporaryFile(/tmp/multipartBody8898358981438953238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297133016,"filename":"image_18032025_02_38_41_3108.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/af86f5f6b0b5aaf6864f073005e9fa0b.jpg","text":"TemporaryFile(/tmp/multipartBody5666539315951434350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297133016,"filename":"image_18032025_02_38_45_4134.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3e6aac462e98033f8bf356368d275bd4.jpg","text":"TemporaryFile(/tmp/multipartBody8088420835833375267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297133016,"filename":"image_18032025_02_38_38_4153.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/870fd3d475f5aca1859b112b69d6b562.jpg","text":"TemporaryFile(/tmp/multipartBody2048113339067332315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297133016,"filename":"image_18032025_02_38_53_4118.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/96ce0b037f78b38b207456a6031e14ff.jpg","text":"TemporaryFile(/tmp/multipartBody5933921732080210446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297133016,"filename":"image_18032025_02_38_49_4136.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8b255e17dd3a3cd57a8cc26fe5401bd2.jpg","text":"TemporaryFile(/tmp/multipartBody4833942131253832104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297133016,"filename":"image_18032025_02_38_57_4136.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345093466","file1":"1345093463","file0":"1345093461","file4":"1345093473","file5":"1345093478","file3":"1345093469"},"map_files_photo_id_array":[{"photo_id":"1345093478","filename":"file5"},{"photo_id":"1345093466","filename":"file2"},{"photo_id":"1345093473","filename":"file4"},{"photo_id":"1345093463","filename":"file1"},{"photo_id":"1345093461","filename":"file0"},{"photo_id":"1345093469","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345093473":["hashtag1","hashtag2"]},{"1345093469":["hashtag1","hashtag2"]},{"1345093478":["hashtag1","hashtag2"]},{"1345093463":["hashtag1","hashtag2"]},{"1345093466":["hashtag1","hashtag2"]},{"1345093461":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345093473, 1345093469, 1345093478, 1345093463, 1345093466, 1345093461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3040030002594 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:25:32.654023
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_34_4016.jpg', 2), ('/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_30_4073.jpg', 2), ('/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_25_4126.jpg', 2), ('/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_21_4170.jpg', 2), ('/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_17_4141.jpg', 2), ('/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_13_4202.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_34_4016.jpg', '/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_30_4073.jpg', '/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_25_4126.jpg', '/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_21_4170.jpg', '/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_17_4141.jpg', '/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_13_4202.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_34_4016.jpg
/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_30_4073.jpg
/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_25_4126.jpg
/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_21_4170.jpg
/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_17_4141.jpg
/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_13_4202.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345093503","1345093511","1345093505","1345093514","1345093508","1345093516"],"photo_ids_order":["1345093503","1345093505","1345093508","1345093511","1345093514","1345093516"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ea340eb950b5cee9276bf0fb7d870335.jpg","text":"TemporaryFile(/tmp/multipartBody1040923449211822886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297193189,"filename":"image_18032025_02_38_34_4016.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e74fa2b9b353961af8b88880806f9c1c.jpg","text":"TemporaryFile(/tmp/multipartBody7168899785183047739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297193189,"filename":"image_18032025_02_38_21_4170.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/34d043deba07d4c29fe062b68706eb9f.jpg","text":"TemporaryFile(/tmp/multipartBody4943620143910256101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297193189,"filename":"image_18032025_02_38_30_4073.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f616e91bb2f791363090d9dfb308ddd7.jpg","text":"TemporaryFile(/tmp/multipartBody5175614364139491840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297193189,"filename":"image_18032025_02_38_17_4141.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c27cf63da36bb96dd6be0ba36a8b2fcd.jpg","text":"TemporaryFile(/tmp/multipartBody5617993842272868053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297193189,"filename":"image_18032025_02_38_25_4126.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3104b8a641fa0fdaacc95c8188294579.jpg","text":"TemporaryFile(/tmp/multipartBody7438823123769801063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297193189,"filename":"image_18032025_02_38_13_4202.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345093508","file1":"1345093505","file0":"1345093503","file4":"1345093514","file5":"1345093516","file3":"1345093511"},"map_files_photo_id_array":[{"photo_id":"1345093516","filename":"file5"},{"photo_id":"1345093508","filename":"file2"},{"photo_id":"1345093514","filename":"file4"},{"photo_id":"1345093505","filename":"file1"},{"photo_id":"1345093503","filename":"file0"},{"photo_id":"1345093511","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345093503":["hashtag1","hashtag2"]},{"1345093511":["hashtag1","hashtag2"]},{"1345093505":["hashtag1","hashtag2"]},{"1345093514":["hashtag1","hashtag2"]},{"1345093508":["hashtag1","hashtag2"]},{"1345093516":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345093503, 1345093511, 1345093505, 1345093514, 1345093508, 1345093516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.98123073577881 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:26:31.826030
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_09_3158.jpg', 2), ('/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_06_4722.jpg', 2), ('/home/nano/Desktop/images/18032025/02/37/image_18032025_02_38_01_4040.jpg', 2), ('/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_57_4175.jpg', 2), ('/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_53_3168.jpg', 2), ('/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_50_4191.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_09_3158.jpg', '/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_06_4722.jpg', '/home/nano/Desktop/images/18032025/02/37/image_18032025_02_38_01_4040.jpg', '/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_57_4175.jpg', '/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_53_3168.jpg', '/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_50_4191.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_09_3158.jpg
/home/nano/Desktop/images/18032025/02/38/image_18032025_02_38_06_4722.jpg
/home/nano/Desktop/images/18032025/02/37/image_18032025_02_38_01_4040.jpg
/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_57_4175.jpg
/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_53_3168.jpg
/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_50_4191.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345093554","1345093536","1345093550","1345093544","1345093558","1345093542"],"photo_ids_order":["1345093536","1345093542","1345093544","1345093550","1345093554","1345093558"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d637047b51df2834c6d8bd5a9f37a47f.jpg","text":"TemporaryFile(/tmp/multipartBody347953085428083181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297252344,"filename":"image_18032025_02_37_53_3168.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5ad19a672c46e6ad0b35b32b565d222e.jpg","text":"TemporaryFile(/tmp/multipartBody6992033730257145172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297252344,"filename":"image_18032025_02_38_09_3158.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f104f7946285d9aafc7d2291882472df.jpg","text":"TemporaryFile(/tmp/multipartBody2633113695553963927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297252344,"filename":"image_18032025_02_37_57_4175.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/876093eba853436ba41283e54612c2be.jpg","text":"TemporaryFile(/tmp/multipartBody5061696994760494460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297252344,"filename":"image_18032025_02_38_01_4040.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3a1cf1e079c5feedce9508c97b1006b1.jpg","text":"TemporaryFile(/tmp/multipartBody7018675380226048752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297252344,"filename":"image_18032025_02_37_50_4191.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/68e9c28e7a5ab63c62e1fab8f4a3b4dc.jpg","text":"TemporaryFile(/tmp/multipartBody4175140196545270181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297252344,"filename":"image_18032025_02_38_06_4722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345093544","file1":"1345093542","file0":"1345093536","file4":"1345093554","file5":"1345093558","file3":"1345093550"},"map_files_photo_id_array":[{"photo_id":"1345093558","filename":"file5"},{"photo_id":"1345093544","filename":"file2"},{"photo_id":"1345093554","filename":"file4"},{"photo_id":"1345093542","filename":"file1"},{"photo_id":"1345093536","filename":"file0"},{"photo_id":"1345093550","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345093554":["hashtag1","hashtag2"]},{"1345093536":["hashtag1","hashtag2"]},{"1345093550":["hashtag1","hashtag2"]},{"1345093544":["hashtag1","hashtag2"]},{"1345093558":["hashtag1","hashtag2"]},{"1345093542":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345093554, 1345093536, 1345093550, 1345093544, 1345093558, 1345093542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.180843114852905 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:27:32.023834
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_45_4234.jpg', 2), ('/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_41_4130.jpg', 2), ('/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_37_4191.jpg', 2), ('/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_33_3116.jpg', 2), ('/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_30_4036.jpg', 2), ('/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_26_4076.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_45_4234.jpg', '/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_41_4130.jpg', '/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_37_4191.jpg', '/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_33_3116.jpg', '/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_30_4036.jpg', '/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_26_4076.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_45_4234.jpg
/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_41_4130.jpg
/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_37_4191.jpg
/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_33_3116.jpg
/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_30_4036.jpg
/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_26_4076.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345093586","1345093576","1345093591","1345093600","1345093596","1345093581"],"photo_ids_order":["1345093576","1345093581","1345093586","1345093591","1345093596","1345093600"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/899115c58b7c105f1206259bf72c2994.jpg","text":"TemporaryFile(/tmp/multipartBody8704738792550648617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297312535,"filename":"image_18032025_02_37_37_4191.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/efca63d60c5547e07daa802fce9bef0e.jpg","text":"TemporaryFile(/tmp/multipartBody7012823387448843454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297312535,"filename":"image_18032025_02_37_45_4234.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fc4d1739add44183bd2de8dbe1210588.jpg","text":"TemporaryFile(/tmp/multipartBody1297575139277061512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297312535,"filename":"image_18032025_02_37_33_3116.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/896f3f99685b6ec41df5c4b84d908bb2.jpg","text":"TemporaryFile(/tmp/multipartBody8521267709130518845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297312535,"filename":"image_18032025_02_37_26_4076.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8773abbaf782794f6039d48b206afe23.jpg","text":"TemporaryFile(/tmp/multipartBody6517428289938161234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297312535,"filename":"image_18032025_02_37_30_4036.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f39426bb56254452fcdfec1d78dbb581.jpg","text":"TemporaryFile(/tmp/multipartBody629310199972637379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297312535,"filename":"image_18032025_02_37_41_4130.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345093586","file1":"1345093581","file0":"1345093576","file4":"1345093596","file5":"1345093600","file3":"1345093591"},"map_files_photo_id_array":[{"photo_id":"1345093600","filename":"file5"},{"photo_id":"1345093586","filename":"file2"},{"photo_id":"1345093596","filename":"file4"},{"photo_id":"1345093581","filename":"file1"},{"photo_id":"1345093576","filename":"file0"},{"photo_id":"1345093591","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345093586":["hashtag1","hashtag2"]},{"1345093576":["hashtag1","hashtag2"]},{"1345093591":["hashtag1","hashtag2"]},{"1345093600":["hashtag1","hashtag2"]},{"1345093596":["hashtag1","hashtag2"]},{"1345093581":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345093586, 1345093576, 1345093591, 1345093600, 1345093596, 1345093581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.031494140625 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:28:32.238784
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_22_4233.jpg', 2), ('/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_17_4265.jpg', 2), ('/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_13_3457.jpg', 2), ('/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_10_4243.jpg', 2), ('/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_05_4574.jpg', 2), ('/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_01_3281.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_22_4233.jpg', '/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_17_4265.jpg', '/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_13_3457.jpg', '/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_10_4243.jpg', '/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_05_4574.jpg', '/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_01_3281.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_22_4233.jpg
/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_17_4265.jpg
/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_13_3457.jpg
/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_10_4243.jpg
/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_05_4574.jpg
/home/nano/Desktop/images/18032025/02/37/image_18032025_02_37_01_3281.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345093911","1345093905","1345093883","1345093891","1345093873","1345093897"],"photo_ids_order":["1345093873","1345093883","1345093891","1345093897","1345093905","1345093911"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a53bf2aa3a330259ec7cf7aba05210f1.jpg","text":"TemporaryFile(/tmp/multipartBody1418471013663950260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297372721,"filename":"image_18032025_02_37_01_3281.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a27032d49ae3a4dbdf2da5669e7d5f93.jpg","text":"TemporaryFile(/tmp/multipartBody7422288700327235838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297372721,"filename":"image_18032025_02_37_05_4574.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6f1c595aee3046ab8fd29499825fd0fe.jpg","text":"TemporaryFile(/tmp/multipartBody2860389685877348879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297372721,"filename":"image_18032025_02_37_17_4265.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/398fe3f9ddc4efb4c3e87c808d5a4a2c.jpg","text":"TemporaryFile(/tmp/multipartBody333907494772828090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297372721,"filename":"image_18032025_02_37_13_3457.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9541751428dcffbda140993c7f454b7c.jpg","text":"TemporaryFile(/tmp/multipartBody1080529720068664906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297372721,"filename":"image_18032025_02_37_22_4233.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5782c47b90fe452f7e038d198c4ec218.jpg","text":"TemporaryFile(/tmp/multipartBody1545987168122486093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297372721,"filename":"image_18032025_02_37_10_4243.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345093891","file1":"1345093883","file0":"1345093873","file4":"1345093905","file5":"1345093911","file3":"1345093897"},"map_files_photo_id_array":[{"photo_id":"1345093911","filename":"file5"},{"photo_id":"1345093891","filename":"file2"},{"photo_id":"1345093905","filename":"file4"},{"photo_id":"1345093883","filename":"file1"},{"photo_id":"1345093873","filename":"file0"},{"photo_id":"1345093897","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345093911":["hashtag1","hashtag2"]},{"1345093905":["hashtag1","hashtag2"]},{"1345093883":["hashtag1","hashtag2"]},{"1345093891":["hashtag1","hashtag2"]},{"1345093873":["hashtag1","hashtag2"]},{"1345093897":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345093911, 1345093905, 1345093883, 1345093891, 1345093873, 1345093897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.26228308677673 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:29:32.429957
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_58_4205.jpg', 2), ('/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_53_4204.jpg', 2), ('/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_49_4133.jpg', 2), ('/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_45_4237.jpg', 2), ('/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_41_3231.jpg', 2), ('/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_38_4215.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_58_4205.jpg', '/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_53_4204.jpg', '/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_49_4133.jpg', '/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_45_4237.jpg', '/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_41_3231.jpg', '/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_38_4215.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_58_4205.jpg
/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_53_4204.jpg
/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_49_4133.jpg
/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_45_4237.jpg
/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_41_3231.jpg
/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_38_4215.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345093976","1345094015","1345093969","1345093960","1345093998","1345093965"],"photo_ids_order":["1345093960","1345093965","1345093969","1345093976","1345093998","1345094015"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0559f5899662965e8d8dcc4a220223bd.jpg","text":"TemporaryFile(/tmp/multipartBody4629472944953833149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297432929,"filename":"image_18032025_02_36_45_4237.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a1076a0f9315f4f3336c3a3de8576bfe.jpg","text":"TemporaryFile(/tmp/multipartBody4391811000364320421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297432929,"filename":"image_18032025_02_36_38_4215.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5d0e3e9d32f91ca04c31b8c644d2238f.jpg","text":"TemporaryFile(/tmp/multipartBody4258639910990213984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297432929,"filename":"image_18032025_02_36_49_4133.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/873e2f2d73779220459896de424e29d0.jpg","text":"TemporaryFile(/tmp/multipartBody7033413878379731877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297432929,"filename":"image_18032025_02_36_58_4205.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f4d86ca19adfa9f13b51a5b81ba1cad0.jpg","text":"TemporaryFile(/tmp/multipartBody3600922582234995099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297432929,"filename":"image_18032025_02_36_41_3231.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3e1ef5a90be88f32ed541c9cbf4824f0.jpg","text":"TemporaryFile(/tmp/multipartBody2302166416167443613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297432929,"filename":"image_18032025_02_36_53_4204.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345093969","file1":"1345093965","file0":"1345093960","file4":"1345093998","file5":"1345094015","file3":"1345093976"},"map_files_photo_id_array":[{"photo_id":"1345094015","filename":"file5"},{"photo_id":"1345093969","filename":"file2"},{"photo_id":"1345093998","filename":"file4"},{"photo_id":"1345093965","filename":"file1"},{"photo_id":"1345093960","filename":"file0"},{"photo_id":"1345093976","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345093976":["hashtag1","hashtag2"]},{"1345094015":["hashtag1","hashtag2"]},{"1345093969":["hashtag1","hashtag2"]},{"1345093960":["hashtag1","hashtag2"]},{"1345093998":["hashtag1","hashtag2"]},{"1345093965":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345093976, 1345094015, 1345093969, 1345093960, 1345093998, 1345093965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.21956419944763 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:30:32.593084
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_33_4206.jpg', 2), ('/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_29_4228.jpg', 2), ('/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_25_3264.jpg', 2), ('/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_22_4186.jpg', 2), ('/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_17_4231.jpg', 2), ('/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_13_4237.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_33_4206.jpg', '/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_29_4228.jpg', '/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_25_3264.jpg', '/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_22_4186.jpg', '/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_17_4231.jpg', '/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_13_4237.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_33_4206.jpg
/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_29_4228.jpg
/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_25_3264.jpg
/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_22_4186.jpg
/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_17_4231.jpg
/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_13_4237.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345094045","1345094039","1345094041","1345094035","1345094052","1345094049"],"photo_ids_order":["1345094035","1345094039","1345094041","1345094045","1345094049","1345094052"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/adfb1d06ec10a9463ad00dcc14f0e91f.jpg","text":"TemporaryFile(/tmp/multipartBody5918029478703295236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297493112,"filename":"image_18032025_02_36_22_4186.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/72b72479a630ee0db0017952d391a1e2.jpg","text":"TemporaryFile(/tmp/multipartBody2127132011823244079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297493112,"filename":"image_18032025_02_36_29_4228.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/887a80ce812371251855c5ef3d1e1457.jpg","text":"TemporaryFile(/tmp/multipartBody8209636283518028982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297493112,"filename":"image_18032025_02_36_25_3264.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/32253fa79d0aaaf76072f01deb459076.jpg","text":"TemporaryFile(/tmp/multipartBody4903759079056902613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297493112,"filename":"image_18032025_02_36_33_4206.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a131153a2aa425bbc6fea93d8403216a.jpg","text":"TemporaryFile(/tmp/multipartBody4909738243488551214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297493112,"filename":"image_18032025_02_36_13_4237.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0293251844706a75a395f8bf9eeaaddf.jpg","text":"TemporaryFile(/tmp/multipartBody1139890783228444093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297493112,"filename":"image_18032025_02_36_17_4231.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345094041","file1":"1345094039","file0":"1345094035","file4":"1345094049","file5":"1345094052","file3":"1345094045"},"map_files_photo_id_array":[{"photo_id":"1345094052","filename":"file5"},{"photo_id":"1345094041","filename":"file2"},{"photo_id":"1345094049","filename":"file4"},{"photo_id":"1345094039","filename":"file1"},{"photo_id":"1345094035","filename":"file0"},{"photo_id":"1345094045","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345094045":["hashtag1","hashtag2"]},{"1345094039":["hashtag1","hashtag2"]},{"1345094041":["hashtag1","hashtag2"]},{"1345094035":["hashtag1","hashtag2"]},{"1345094052":["hashtag1","hashtag2"]},{"1345094049":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345094045, 1345094039, 1345094041, 1345094035, 1345094052, 1345094049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.420262098312378 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:31:32.774542
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_09_4080.jpg', 2), ('/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_05_3720.jpg', 2), ('/home/nano/Desktop/images/18032025/02/35/image_18032025_02_36_01_4140.jpg', 2), ('/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_57_4188.jpg', 2), ('/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_53_3206.jpg', 2), ('/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_50_4181.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_09_4080.jpg', '/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_05_3720.jpg', '/home/nano/Desktop/images/18032025/02/35/image_18032025_02_36_01_4140.jpg', '/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_57_4188.jpg', '/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_53_3206.jpg', '/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_50_4181.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_09_4080.jpg
/home/nano/Desktop/images/18032025/02/36/image_18032025_02_36_05_3720.jpg
/home/nano/Desktop/images/18032025/02/35/image_18032025_02_36_01_4140.jpg
/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_57_4188.jpg
/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_53_3206.jpg
/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_50_4181.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345094087","1345094089","1345094074","1345094083","1345094079","1345094070"],"photo_ids_order":["1345094070","1345094074","1345094079","1345094083","1345094087","1345094089"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b246b7a6ebbb5b6657261dbe6aeddcec.jpg","text":"TemporaryFile(/tmp/multipartBody3021284054617390477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297553293,"filename":"image_18032025_02_35_53_3206.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c9a3c4f6b1c8dc5c946da39bddf4f930.jpg","text":"TemporaryFile(/tmp/multipartBody573353164799173054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297553293,"filename":"image_18032025_02_35_50_4181.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3f95f42398fdec111107ae8412500970.jpg","text":"TemporaryFile(/tmp/multipartBody7879545256845209892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297553293,"filename":"image_18032025_02_36_05_3720.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7638872e0b9855138ed3b36e7d50347f.jpg","text":"TemporaryFile(/tmp/multipartBody3085763298929175798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297553293,"filename":"image_18032025_02_35_57_4188.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1f69624fb73a23e76b451a84eefd7649.jpg","text":"TemporaryFile(/tmp/multipartBody8282995752767451632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297553293,"filename":"image_18032025_02_36_01_4140.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f175d597d493124e4cc834cad38fbab6.jpg","text":"TemporaryFile(/tmp/multipartBody3338323756966775976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297553293,"filename":"image_18032025_02_36_09_4080.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345094079","file1":"1345094074","file0":"1345094070","file4":"1345094087","file5":"1345094089","file3":"1345094083"},"map_files_photo_id_array":[{"photo_id":"1345094089","filename":"file5"},{"photo_id":"1345094079","filename":"file2"},{"photo_id":"1345094087","filename":"file4"},{"photo_id":"1345094074","filename":"file1"},{"photo_id":"1345094070","filename":"file0"},{"photo_id":"1345094083","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345094087":["hashtag1","hashtag2"]},{"1345094089":["hashtag1","hashtag2"]},{"1345094074":["hashtag1","hashtag2"]},{"1345094083":["hashtag1","hashtag2"]},{"1345094079":["hashtag1","hashtag2"]},{"1345094070":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345094087, 1345094089, 1345094074, 1345094083, 1345094079, 1345094070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.96259880065918 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:32:31.942264
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_45_4221.jpg', 2), ('/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_41_4353.jpg', 2), ('/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_37_3266.jpg', 2), ('/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_34_4304.jpg', 2), ('/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_29_4380.jpg', 2), ('/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_25_3983.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_45_4221.jpg', '/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_41_4353.jpg', '/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_37_3266.jpg', '/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_34_4304.jpg', '/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_29_4380.jpg', '/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_25_3983.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_45_4221.jpg
/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_41_4353.jpg
/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_37_3266.jpg
/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_34_4304.jpg
/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_29_4380.jpg
/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_25_3983.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345094162","1345094132","1345094278","1345094224","1345094193","1345094104"],"photo_ids_order":["1345094104","1345094132","1345094162","1345094193","1345094224","1345094278"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7ec35a1c581f30823a6dcbb384ee4d08.jpg","text":"TemporaryFile(/tmp/multipartBody8004747757268666544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297612571,"filename":"image_18032025_02_35_37_3266.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/30cb60c6034e2b91ed27820809855d30.jpg","text":"TemporaryFile(/tmp/multipartBody3943921417286893945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297612571,"filename":"image_18032025_02_35_41_4353.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f235eb5796934c7a4cb70009ea957754.jpg","text":"TemporaryFile(/tmp/multipartBody8085595220605863520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297612571,"filename":"image_18032025_02_35_25_3983.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/74b0294d8dd839d26d4c54356d7fd73a.jpg","text":"TemporaryFile(/tmp/multipartBody8471835091537923811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297612571,"filename":"image_18032025_02_35_29_4380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7408deb98ecf9663f0386bdfc6b8de5d.jpg","text":"TemporaryFile(/tmp/multipartBody8550953530737899773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297612571,"filename":"image_18032025_02_35_34_4304.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e84fb6589720d8ea087b966e8e8ef157.jpg","text":"TemporaryFile(/tmp/multipartBody5002372164657179902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297612571,"filename":"image_18032025_02_35_45_4221.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345094162","file1":"1345094132","file0":"1345094104","file4":"1345094224","file5":"1345094278","file3":"1345094193"},"map_files_photo_id_array":[{"photo_id":"1345094278","filename":"file5"},{"photo_id":"1345094162","filename":"file2"},{"photo_id":"1345094224","filename":"file4"},{"photo_id":"1345094132","filename":"file1"},{"photo_id":"1345094104","filename":"file0"},{"photo_id":"1345094193","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345094162":["hashtag1","hashtag2"]},{"1345094132":["hashtag1","hashtag2"]},{"1345094278":["hashtag1","hashtag2"]},{"1345094224":["hashtag1","hashtag2"]},{"1345094193":["hashtag1","hashtag2"]},{"1345094104":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345094162, 1345094132, 1345094278, 1345094224, 1345094193, 1345094104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.16120147705078 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:33:32.226326
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_21_4158.jpg', 2), ('/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_17_3487.jpg', 2), ('/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_13_4311.jpg', 2), ('/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_09_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_05_3744.jpg', 2), ('/home/nano/Desktop/images/18032025/02/34/image_18032025_02_35_01_4122.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_21_4158.jpg', '/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_17_3487.jpg', '/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_13_4311.jpg', '/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_09_4146.jpg', '/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_05_3744.jpg', '/home/nano/Desktop/images/18032025/02/34/image_18032025_02_35_01_4122.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_21_4158.jpg
/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_17_3487.jpg
/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_13_4311.jpg
/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_09_4146.jpg
/home/nano/Desktop/images/18032025/02/35/image_18032025_02_35_05_3744.jpg
/home/nano/Desktop/images/18032025/02/34/image_18032025_02_35_01_4122.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345094400","1345094387","1345094587","1345094383","1345094743","1345094379"],"photo_ids_order":["1345094379","1345094383","1345094387","1345094400","1345094587","1345094743"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/87b782bc4cd6e72926c0a2bef0908810.jpg","text":"TemporaryFile(/tmp/multipartBody5837855449000957242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297672928,"filename":"image_18032025_02_35_09_4146.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/791d244ad1ee0d2fce34bf28f3537631.jpg","text":"TemporaryFile(/tmp/multipartBody1950112471112856194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297672928,"filename":"image_18032025_02_35_13_4311.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5089ac0443242e6820dfbb0da1a46a99.jpg","text":"TemporaryFile(/tmp/multipartBody8566229586074814652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297672928,"filename":"image_18032025_02_35_05_3744.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/68be358077d49216197011836d9fa6cd.jpg","text":"TemporaryFile(/tmp/multipartBody9064850781528435450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297672928,"filename":"image_18032025_02_35_17_3487.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e52cf378621731a952cd92a7033edfa0.jpg","text":"TemporaryFile(/tmp/multipartBody7696355115619370569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297672928,"filename":"image_18032025_02_35_01_4122.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c1aa3f1e2d489e6222a0be7f7d713ba6.jpg","text":"TemporaryFile(/tmp/multipartBody7904172817431424594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297672928,"filename":"image_18032025_02_35_21_4158.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345094387","file1":"1345094383","file0":"1345094379","file4":"1345094587","file5":"1345094743","file3":"1345094400"},"map_files_photo_id_array":[{"photo_id":"1345094743","filename":"file5"},{"photo_id":"1345094387","filename":"file2"},{"photo_id":"1345094587","filename":"file4"},{"photo_id":"1345094383","filename":"file1"},{"photo_id":"1345094379","filename":"file0"},{"photo_id":"1345094400","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345094400":["hashtag1","hashtag2"]},{"1345094387":["hashtag1","hashtag2"]},{"1345094587":["hashtag1","hashtag2"]},{"1345094383":["hashtag1","hashtag2"]},{"1345094743":["hashtag1","hashtag2"]},{"1345094379":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345094400, 1345094387, 1345094587, 1345094383, 1345094743, 1345094379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.457441091537476 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:34:32.385769
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_57_4054.jpg', 2), ('/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_53_3203.jpg', 2), ('/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_50_4234.jpg', 2), ('/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_45_4141.jpg', 2), ('/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_41_4290.jpg', 2), ('/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_37_3328.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_57_4054.jpg', '/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_53_3203.jpg', '/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_50_4234.jpg', '/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_45_4141.jpg', '/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_41_4290.jpg', '/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_37_3328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_57_4054.jpg
/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_53_3203.jpg
/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_50_4234.jpg
/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_45_4141.jpg
/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_41_4290.jpg
/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_37_3328.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345095155","1345095113","1345095277","1345095256","1345095127","1345095121"],"photo_ids_order":["1345095113","1345095121","1345095127","1345095155","1345095256","1345095277"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e3664c35fc6f293d3c897d2f291405b5.jpg","text":"TemporaryFile(/tmp/multipartBody5358821594667875968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297733042,"filename":"image_18032025_02_34_45_4141.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6f6127550e1ba191626ebe42726cc739.jpg","text":"TemporaryFile(/tmp/multipartBody2129464160967013789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297733042,"filename":"image_18032025_02_34_57_4054.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4b4c71645d0437844261908543c4208e.jpg","text":"TemporaryFile(/tmp/multipartBody3244473068179394822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297733042,"filename":"image_18032025_02_34_37_3328.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/891575e1693dc60cdce09ea79da26161.jpg","text":"TemporaryFile(/tmp/multipartBody2392498659521468091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297733042,"filename":"image_18032025_02_34_41_4290.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4cb0c2ec3e5d5677fe8fbd30bf61ff27.jpg","text":"TemporaryFile(/tmp/multipartBody633982974055151393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297733042,"filename":"image_18032025_02_34_50_4234.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e02ee47708c340137bd98376fc93a92e.jpg","text":"TemporaryFile(/tmp/multipartBody2015960474429900238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297733042,"filename":"image_18032025_02_34_53_3203.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345095127","file1":"1345095121","file0":"1345095113","file4":"1345095256","file5":"1345095277","file3":"1345095155"},"map_files_photo_id_array":[{"photo_id":"1345095277","filename":"file5"},{"photo_id":"1345095127","filename":"file2"},{"photo_id":"1345095256","filename":"file4"},{"photo_id":"1345095121","filename":"file1"},{"photo_id":"1345095113","filename":"file0"},{"photo_id":"1345095155","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345095155":["hashtag1","hashtag2"]},{"1345095113":["hashtag1","hashtag2"]},{"1345095277":["hashtag1","hashtag2"]},{"1345095256":["hashtag1","hashtag2"]},{"1345095127":["hashtag1","hashtag2"]},{"1345095121":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345095155, 1345095113, 1345095277, 1345095256, 1345095127, 1345095121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.829621076583862 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:35:32.557531
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_34_4286.jpg', 2), ('/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_29_4263.jpg', 2), ('/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_25_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_21_4106.jpg', 2), ('/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_17_4166.jpg', 2), ('/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_13_3159.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_34_4286.jpg', '/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_29_4263.jpg', '/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_25_4045.jpg', '/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_21_4106.jpg', '/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_17_4166.jpg', '/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_13_3159.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_34_4286.jpg
/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_29_4263.jpg
/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_25_4045.jpg
/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_21_4106.jpg
/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_17_4166.jpg
/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_13_3159.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345095431","1345095440","1345095428","1345095435","1345095438","1345095443"],"photo_ids_order":["1345095428","1345095431","1345095435","1345095438","1345095440","1345095443"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/76289025d35b2d6f5b19836001f1c5e3.jpg","text":"TemporaryFile(/tmp/multipartBody5710704195725350608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297793089,"filename":"image_18032025_02_34_29_4263.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9647079ff7f0fde462519d97b33f2d09.jpg","text":"TemporaryFile(/tmp/multipartBody3113757666596839103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297793089,"filename":"image_18032025_02_34_17_4166.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1e1750bf572623d813df666d25c08a56.jpg","text":"TemporaryFile(/tmp/multipartBody7361390172765771808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297793089,"filename":"image_18032025_02_34_34_4286.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6d97f32ce47d6db5f09dbcf7465e4e33.jpg","text":"TemporaryFile(/tmp/multipartBody2581909074494433298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297793089,"filename":"image_18032025_02_34_25_4045.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a939572c7fff7634b7297d4bea1213b5.jpg","text":"TemporaryFile(/tmp/multipartBody1051426345560142782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297793089,"filename":"image_18032025_02_34_21_4106.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ef10de8694683fdcd0672af846cbca38.jpg","text":"TemporaryFile(/tmp/multipartBody1072457239690549570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297793089,"filename":"image_18032025_02_34_13_3159.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345095435","file1":"1345095431","file0":"1345095428","file4":"1345095440","file5":"1345095443","file3":"1345095438"},"map_files_photo_id_array":[{"photo_id":"1345095443","filename":"file5"},{"photo_id":"1345095435","filename":"file2"},{"photo_id":"1345095440","filename":"file4"},{"photo_id":"1345095431","filename":"file1"},{"photo_id":"1345095428","filename":"file0"},{"photo_id":"1345095438","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345095431":["hashtag1","hashtag2"]},{"1345095440":["hashtag1","hashtag2"]},{"1345095428":["hashtag1","hashtag2"]},{"1345095435":["hashtag1","hashtag2"]},{"1345095438":["hashtag1","hashtag2"]},{"1345095443":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345095431, 1345095440, 1345095428, 1345095435, 1345095438, 1345095443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.448338270187378 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:36:32.721626
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_10_4176.jpg', 2), ('/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_05_4764.jpg', 2), ('/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_01_3156.jpg', 2), ('/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_58_4082.jpg', 2), ('/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_53_4036.jpg', 2), ('/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_49_4177.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_10_4176.jpg', '/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_05_4764.jpg', '/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_01_3156.jpg', '/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_58_4082.jpg', '/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_53_4036.jpg', '/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_49_4177.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_10_4176.jpg
/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_05_4764.jpg
/home/nano/Desktop/images/18032025/02/34/image_18032025_02_34_01_3156.jpg
/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_58_4082.jpg
/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_53_4036.jpg
/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_49_4177.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345095572","1345095484","1345095604","1345095514","1345095645","1345095542"],"photo_ids_order":["1345095484","1345095514","1345095542","1345095572","1345095604","1345095645"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8cbe3ae36a79a8f5756369bc027f3b16.jpg","text":"TemporaryFile(/tmp/multipartBody2975876817679982808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297853235,"filename":"image_18032025_02_33_58_4082.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9d53af9cc542e26d96d0756ce48298cb.jpg","text":"TemporaryFile(/tmp/multipartBody1469503929915421596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297853235,"filename":"image_18032025_02_34_10_4176.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a7095231f5e58bf00ddc43e2be92a6cb.jpg","text":"TemporaryFile(/tmp/multipartBody7316378908159063658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297853235,"filename":"image_18032025_02_33_53_4036.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e7a3a5a6dffd26c95c1dccc599d6ea87.jpg","text":"TemporaryFile(/tmp/multipartBody9222901521720460753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297853235,"filename":"image_18032025_02_34_05_4764.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2aeb5ec27daa0b705beb9219538ecb5b.jpg","text":"TemporaryFile(/tmp/multipartBody371564719731694605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297853235,"filename":"image_18032025_02_33_49_4177.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/103a1842eb07487a2dc8362341af75f7.jpg","text":"TemporaryFile(/tmp/multipartBody5278206345406233538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297853235,"filename":"image_18032025_02_34_01_3156.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345095542","file1":"1345095514","file0":"1345095484","file4":"1345095604","file5":"1345095645","file3":"1345095572"},"map_files_photo_id_array":[{"photo_id":"1345095645","filename":"file5"},{"photo_id":"1345095542","filename":"file2"},{"photo_id":"1345095604","filename":"file4"},{"photo_id":"1345095514","filename":"file1"},{"photo_id":"1345095484","filename":"file0"},{"photo_id":"1345095572","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345095572":["hashtag1","hashtag2"]},{"1345095484":["hashtag1","hashtag2"]},{"1345095604":["hashtag1","hashtag2"]},{"1345095514":["hashtag1","hashtag2"]},{"1345095645":["hashtag1","hashtag2"]},{"1345095542":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345095572, 1345095484, 1345095604, 1345095514, 1345095645, 1345095542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.302533864974976 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:37:31.927121
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_45_4163.jpg', 2), ('/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_41_4198.jpg', 2), ('/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_37_3198.jpg', 2), ('/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_34_4134.jpg', 2), ('/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_30_4180.jpg', 2), ('/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_25_4063.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_45_4163.jpg', '/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_41_4198.jpg', '/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_37_3198.jpg', '/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_34_4134.jpg', '/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_30_4180.jpg', '/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_25_4063.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_45_4163.jpg
/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_41_4198.jpg
/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_37_3198.jpg
/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_34_4134.jpg
/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_30_4180.jpg
/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_25_4063.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345096072","1345096188","1345096035","1345096158","1345096125","1345096220"],"photo_ids_order":["1345096035","1345096072","1345096125","1345096158","1345096188","1345096220"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0eff2639f3ce9fb77930618db5e8ff74.jpg","text":"TemporaryFile(/tmp/multipartBody4376200870254655253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297912449,"filename":"image_18032025_02_33_41_4198.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5803ff3e0feae2df9fbcd90bcf46f401.jpg","text":"TemporaryFile(/tmp/multipartBody2769521121325515487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297912449,"filename":"image_18032025_02_33_30_4180.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1d52241344a26c8ddc01cada9004925e.jpg","text":"TemporaryFile(/tmp/multipartBody2625652712261116176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297912449,"filename":"image_18032025_02_33_45_4163.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6d0335a845d3cc2e954e58cb1f89ca6d.jpg","text":"TemporaryFile(/tmp/multipartBody966536938215233518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297912449,"filename":"image_18032025_02_33_34_4134.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dc0db17ad331cf8ae57808d29d1d6cc3.jpg","text":"TemporaryFile(/tmp/multipartBody545640255833195986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297912449,"filename":"image_18032025_02_33_37_3198.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f6ea7f698f392bef3d7336b51d6ee663.jpg","text":"TemporaryFile(/tmp/multipartBody4798972265781676006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297912449,"filename":"image_18032025_02_33_25_4063.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345096125","file1":"1345096072","file0":"1345096035","file4":"1345096188","file5":"1345096220","file3":"1345096158"},"map_files_photo_id_array":[{"photo_id":"1345096220","filename":"file5"},{"photo_id":"1345096125","filename":"file2"},{"photo_id":"1345096188","filename":"file4"},{"photo_id":"1345096072","filename":"file1"},{"photo_id":"1345096035","filename":"file0"},{"photo_id":"1345096158","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345096072":["hashtag1","hashtag2"]},{"1345096188":["hashtag1","hashtag2"]},{"1345096035":["hashtag1","hashtag2"]},{"1345096158":["hashtag1","hashtag2"]},{"1345096125":["hashtag1","hashtag2"]},{"1345096220":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345096072, 1345096188, 1345096035, 1345096158, 1345096125, 1345096220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.66671633720398 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:38:32.099455
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_21_4071.jpg', 2), ('/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_17_4058.jpg', 2), ('/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_13_4273.jpg', 2), ('/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_09_3250.jpg', 2), ('/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_06_4625.jpg', 2), ('/home/nano/Desktop/images/18032025/02/32/image_18032025_02_33_01_4306.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_21_4071.jpg', '/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_17_4058.jpg', '/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_13_4273.jpg', '/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_09_3250.jpg', '/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_06_4625.jpg', '/home/nano/Desktop/images/18032025/02/32/image_18032025_02_33_01_4306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_21_4071.jpg
/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_17_4058.jpg
/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_13_4273.jpg
/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_09_3250.jpg
/home/nano/Desktop/images/18032025/02/33/image_18032025_02_33_06_4625.jpg
/home/nano/Desktop/images/18032025/02/32/image_18032025_02_33_01_4306.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345096906","1345096764","1345096818","1345096707","1345096667","1345096853"],"photo_ids_order":["1345096667","1345096707","1345096764","1345096818","1345096853","1345096906"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b5c30d1bf42b2d00f8a3bab153f5bb0c.jpg","text":"TemporaryFile(/tmp/multipartBody1214036561075271212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297972607,"filename":"image_18032025_02_33_01_4306.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fe9cf7af9ed10600806c69a4d7b2ed5d.jpg","text":"TemporaryFile(/tmp/multipartBody4470223192556524962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297972607,"filename":"image_18032025_02_33_13_4273.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/50e55ea2cf24f65f461f21550c1f7ac5.jpg","text":"TemporaryFile(/tmp/multipartBody1547948667786922627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297972607,"filename":"image_18032025_02_33_09_3250.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c38f99f86dc0629f07f0ca59ef02abfd.jpg","text":"TemporaryFile(/tmp/multipartBody2966220524333551758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297972607,"filename":"image_18032025_02_33_17_4058.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d8b37260f91b7f1f06b65f0be1c502b8.jpg","text":"TemporaryFile(/tmp/multipartBody7600255434918888269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297972607,"filename":"image_18032025_02_33_21_4071.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/41cdde654497dd5f39dd00f351d795df.jpg","text":"TemporaryFile(/tmp/multipartBody5784835161406006603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742297972607,"filename":"image_18032025_02_33_06_4625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345096764","file1":"1345096707","file0":"1345096667","file4":"1345096853","file5":"1345096906","file3":"1345096818"},"map_files_photo_id_array":[{"photo_id":"1345096906","filename":"file5"},{"photo_id":"1345096764","filename":"file2"},{"photo_id":"1345096853","filename":"file4"},{"photo_id":"1345096707","filename":"file1"},{"photo_id":"1345096667","filename":"file0"},{"photo_id":"1345096818","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345096906":["hashtag1","hashtag2"]},{"1345096764":["hashtag1","hashtag2"]},{"1345096818":["hashtag1","hashtag2"]},{"1345096707":["hashtag1","hashtag2"]},{"1345096667":["hashtag1","hashtag2"]},{"1345096853":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345096906, 1345096764, 1345096818, 1345096707, 1345096667, 1345096853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.556785821914673 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:39:32.300183
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_57_3415.jpg', 2), ('/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_53_4363.jpg', 2), ('/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_49_4140.jpg', 2), ('/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_45_4080.jpg', 2), ('/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_41_3051.jpg', 2), ('/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_38_4075.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_57_3415.jpg', '/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_53_4363.jpg', '/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_49_4140.jpg', '/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_45_4080.jpg', '/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_41_3051.jpg', '/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_38_4075.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_57_3415.jpg
/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_53_4363.jpg
/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_49_4140.jpg
/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_45_4080.jpg
/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_41_3051.jpg
/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_38_4075.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345097976","1345097877","1345097472","1345097538","1345097631","1345097753"],"photo_ids_order":["1345097472","1345097538","1345097631","1345097753","1345097877","1345097976"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/33dcd744e66795550334a023076cebe0.jpg","text":"TemporaryFile(/tmp/multipartBody3788161439962525247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298032808,"filename":"image_18032025_02_32_38_4075.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f15241e0ad03567c073cb7fb46872da9.jpg","text":"TemporaryFile(/tmp/multipartBody5013193854176743711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298032808,"filename":"image_18032025_02_32_41_3051.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cf99cb6375b4c6fcc3fc97b866e2363f.jpg","text":"TemporaryFile(/tmp/multipartBody2367480421005466674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298032808,"filename":"image_18032025_02_32_57_3415.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7042719072bf296cbd738d73ebbcfb83.jpg","text":"TemporaryFile(/tmp/multipartBody3654285857182296217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298032808,"filename":"image_18032025_02_32_53_4363.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/47c17470d0fa7489412b5808f9bd142f.jpg","text":"TemporaryFile(/tmp/multipartBody4013553387248608936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298032808,"filename":"image_18032025_02_32_49_4140.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9639bc7b50fca615b543f20dcc030d90.jpg","text":"TemporaryFile(/tmp/multipartBody5587251404087663354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298032808,"filename":"image_18032025_02_32_45_4080.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345097631","file1":"1345097538","file0":"1345097472","file4":"1345097877","file5":"1345097976","file3":"1345097753"},"map_files_photo_id_array":[{"photo_id":"1345097976","filename":"file5"},{"photo_id":"1345097631","filename":"file2"},{"photo_id":"1345097877","filename":"file4"},{"photo_id":"1345097538","filename":"file1"},{"photo_id":"1345097472","filename":"file0"},{"photo_id":"1345097753","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345097976":["hashtag1","hashtag2"]},{"1345097877":["hashtag1","hashtag2"]},{"1345097472":["hashtag1","hashtag2"]},{"1345097538":["hashtag1","hashtag2"]},{"1345097631":["hashtag1","hashtag2"]},{"1345097753":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345097976, 1345097877, 1345097472, 1345097538, 1345097631, 1345097753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.070886850357056 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:40:32.495830
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_34_4838.jpg', 2), ('/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_29_3225.jpg', 2), ('/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_26_4172.jpg', 2), ('/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_21_4253.jpg', 2), ('/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_17_4201.jpg', 2), ('/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_13_4153.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_34_4838.jpg', '/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_29_3225.jpg', '/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_26_4172.jpg', '/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_21_4253.jpg', '/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_17_4201.jpg', '/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_13_4153.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_34_4838.jpg
/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_29_3225.jpg
/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_26_4172.jpg
/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_21_4253.jpg
/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_17_4201.jpg
/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_13_4153.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345099155","1345099302","1345099058","1345098933","1345098848","1345098715"],"photo_ids_order":["1345098715","1345098848","1345098933","1345099058","1345099155","1345099302"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1b5c0072fdaa5711d9bdb3f8b5a5f769.jpg","text":"TemporaryFile(/tmp/multipartBody8330375901585810375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298092981,"filename":"image_18032025_02_32_17_4201.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2a9874fc39c61550e74800357fab2fef.jpg","text":"TemporaryFile(/tmp/multipartBody2482150592218756157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298092981,"filename":"image_18032025_02_32_13_4153.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3b3b969f285cf4ad9765910b94ad6eaf.jpg","text":"TemporaryFile(/tmp/multipartBody8878099230246546781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298092981,"filename":"image_18032025_02_32_21_4253.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/854c6897089b2c298ad3e577c2d39ae0.jpg","text":"TemporaryFile(/tmp/multipartBody4888702862689917180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298092981,"filename":"image_18032025_02_32_26_4172.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/873e482b4d7f1ba976adb262a0e0e517.jpg","text":"TemporaryFile(/tmp/multipartBody3443107395936881973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298092981,"filename":"image_18032025_02_32_29_3225.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/792cb10cd8a31bbc774c972888d955e4.jpg","text":"TemporaryFile(/tmp/multipartBody7006420510559138145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298092981,"filename":"image_18032025_02_32_34_4838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345098933","file1":"1345098848","file0":"1345098715","file4":"1345099155","file5":"1345099302","file3":"1345099058"},"map_files_photo_id_array":[{"photo_id":"1345099302","filename":"file5"},{"photo_id":"1345098933","filename":"file2"},{"photo_id":"1345099155","filename":"file4"},{"photo_id":"1345098848","filename":"file1"},{"photo_id":"1345098715","filename":"file0"},{"photo_id":"1345099058","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345099155":["hashtag1","hashtag2"]},{"1345099302":["hashtag1","hashtag2"]},{"1345099058":["hashtag1","hashtag2"]},{"1345098933":["hashtag1","hashtag2"]},{"1345098848":["hashtag1","hashtag2"]},{"1345098715":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345099155, 1345099302, 1345099058, 1345098933, 1345098848, 1345098715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.832093000411987 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:41:32.747955
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_09_3146.jpg', 2), ('/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_06_4489.jpg', 2), ('/home/nano/Desktop/images/18032025/02/31/image_18032025_02_32_01_4134.jpg', 2), ('/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_57_4144.jpg', 2), ('/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_53_4114.jpg', 2), ('/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_49_3110.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_09_3146.jpg', '/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_06_4489.jpg', '/home/nano/Desktop/images/18032025/02/31/image_18032025_02_32_01_4134.jpg', '/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_57_4144.jpg', '/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_53_4114.jpg', '/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_49_3110.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_09_3146.jpg
/home/nano/Desktop/images/18032025/02/32/image_18032025_02_32_06_4489.jpg
/home/nano/Desktop/images/18032025/02/31/image_18032025_02_32_01_4134.jpg
/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_57_4144.jpg
/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_53_4114.jpg
/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_49_3110.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345100135","1345100473","1345100220","1345100043","1345100282","1345100384"],"photo_ids_order":["1345100043","1345100135","1345100220","1345100282","1345100384","1345100473"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/002b4d8acc7cf0355e664ba0dd95759c.jpg","text":"TemporaryFile(/tmp/multipartBody8652228337163494207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298153256,"filename":"image_18032025_02_32_06_4489.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7a3a6c21d03d60fbf7164768d50ebade.jpg","text":"TemporaryFile(/tmp/multipartBody3678793594855278447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298153256,"filename":"image_18032025_02_31_49_3110.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/715a1a4b60351f9039f3c6788269a64e.jpg","text":"TemporaryFile(/tmp/multipartBody5682742213090325371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298153256,"filename":"image_18032025_02_32_01_4134.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6e6426a9c6977ea978773fb9345fbe24.jpg","text":"TemporaryFile(/tmp/multipartBody180973516654857865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298153256,"filename":"image_18032025_02_32_09_3146.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dd0ab6fdba3be90b6f54d70c87b0c8a9.jpg","text":"TemporaryFile(/tmp/multipartBody504799245586720897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298153256,"filename":"image_18032025_02_31_57_4144.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/299385b5341ccc06d062214df74f229b.jpg","text":"TemporaryFile(/tmp/multipartBody7743819233146521242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298153256,"filename":"image_18032025_02_31_53_4114.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345100220","file1":"1345100135","file0":"1345100043","file4":"1345100384","file5":"1345100473","file3":"1345100282"},"map_files_photo_id_array":[{"photo_id":"1345100473","filename":"file5"},{"photo_id":"1345100220","filename":"file2"},{"photo_id":"1345100384","filename":"file4"},{"photo_id":"1345100135","filename":"file1"},{"photo_id":"1345100043","filename":"file0"},{"photo_id":"1345100282","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345100135":["hashtag1","hashtag2"]},{"1345100473":["hashtag1","hashtag2"]},{"1345100220":["hashtag1","hashtag2"]},{"1345100043":["hashtag1","hashtag2"]},{"1345100282":["hashtag1","hashtag2"]},{"1345100384":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345100135, 1345100473, 1345100220, 1345100043, 1345100282, 1345100384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.821885108947754 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:42:31.915380
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_46_4103.jpg', 2), ('/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_42_4114.jpg', 2), ('/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_37_4166.jpg', 2), ('/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_33_4105.jpg', 2), ('/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_29_4188.jpg', 2), ('/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_25_4178.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_46_4103.jpg', '/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_42_4114.jpg', '/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_37_4166.jpg', '/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_33_4105.jpg', '/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_29_4188.jpg', '/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_25_4178.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_46_4103.jpg
/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_42_4114.jpg
/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_37_4166.jpg
/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_33_4105.jpg
/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_29_4188.jpg
/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_25_4178.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345101308","1345101850","1345101469","1345101585","1345102026","1345101689"],"photo_ids_order":["1345101308","1345101469","1345101585","1345101689","1345101850","1345102026"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9ffbfbb51246d3951eae1e2876d36f26.jpg","text":"TemporaryFile(/tmp/multipartBody1907608268961870043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298212403,"filename":"image_18032025_02_31_46_4103.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e46aa9c76e2ad58e8f090d05c08a13b4.jpg","text":"TemporaryFile(/tmp/multipartBody7861908322587933657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298212403,"filename":"image_18032025_02_31_29_4188.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/257ae56cba57093de1cd16f8d218fedd.jpg","text":"TemporaryFile(/tmp/multipartBody174955242519289996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298212403,"filename":"image_18032025_02_31_42_4114.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d107867e32a013b729d21519b22459f2.jpg","text":"TemporaryFile(/tmp/multipartBody4675786000177432477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298212403,"filename":"image_18032025_02_31_37_4166.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e3010b803f542f4536fa1d808fa90464.jpg","text":"TemporaryFile(/tmp/multipartBody4401969483934303617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298212403,"filename":"image_18032025_02_31_25_4178.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f6c8f1d816361a59b47a1d387eef7221.jpg","text":"TemporaryFile(/tmp/multipartBody824518630864929528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298212403,"filename":"image_18032025_02_31_33_4105.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345101585","file1":"1345101469","file0":"1345101308","file4":"1345101850","file5":"1345102026","file3":"1345101689"},"map_files_photo_id_array":[{"photo_id":"1345102026","filename":"file5"},{"photo_id":"1345101585","filename":"file2"},{"photo_id":"1345101850","filename":"file4"},{"photo_id":"1345101469","filename":"file1"},{"photo_id":"1345101308","filename":"file0"},{"photo_id":"1345101689","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345101308":["hashtag1","hashtag2"]},{"1345101850":["hashtag1","hashtag2"]},{"1345101469":["hashtag1","hashtag2"]},{"1345101585":["hashtag1","hashtag2"]},{"1345102026":["hashtag1","hashtag2"]},{"1345101689":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345101308, 1345101850, 1345101469, 1345101585, 1345102026, 1345101689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.27363610267639 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:43:32.088119
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_21_3189.jpg', 2), ('/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_18_4149.jpg', 2), ('/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_13_4265.jpg', 2), ('/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_09_4175.jpg', 2), ('/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_05_3651.jpg', 2), ('/home/nano/Desktop/images/18032025/02/30/image_18032025_02_31_01_4115.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_21_3189.jpg', '/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_18_4149.jpg', '/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_13_4265.jpg', '/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_09_4175.jpg', '/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_05_3651.jpg', '/home/nano/Desktop/images/18032025/02/30/image_18032025_02_31_01_4115.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_21_3189.jpg
/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_18_4149.jpg
/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_13_4265.jpg
/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_09_4175.jpg
/home/nano/Desktop/images/18032025/02/31/image_18032025_02_31_05_3651.jpg
/home/nano/Desktop/images/18032025/02/30/image_18032025_02_31_01_4115.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345103130","1345102872","1345102748","1345102795","1345103032","1345102951"],"photo_ids_order":["1345102748","1345102795","1345102872","1345102951","1345103032","1345103130"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4a053c347585d0a3d47058950547a5bc.jpg","text":"TemporaryFile(/tmp/multipartBody8446350610179408961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298272596,"filename":"image_18032025_02_31_01_4115.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e78c3cb7140b1228c292da765e3646cf.jpg","text":"TemporaryFile(/tmp/multipartBody9009526777449575567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298272596,"filename":"image_18032025_02_31_13_4265.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/433c3aedc2a44af6f571b1f45670e68e.jpg","text":"TemporaryFile(/tmp/multipartBody9047171472955001525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298272596,"filename":"image_18032025_02_31_21_3189.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9ba8565323ff209d99c2ba27e456c78e.jpg","text":"TemporaryFile(/tmp/multipartBody3781351793713734920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298272596,"filename":"image_18032025_02_31_18_4149.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6149c9fada8b9967aec5b17c0b7ceec0.jpg","text":"TemporaryFile(/tmp/multipartBody5013256506788180191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298272596,"filename":"image_18032025_02_31_05_3651.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ac9fe54dce559431cfa08d2813f56e5a.jpg","text":"TemporaryFile(/tmp/multipartBody7016155605918361044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298272596,"filename":"image_18032025_02_31_09_4175.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345102872","file1":"1345102795","file0":"1345102748","file4":"1345103032","file5":"1345103130","file3":"1345102951"},"map_files_photo_id_array":[{"photo_id":"1345103130","filename":"file5"},{"photo_id":"1345102872","filename":"file2"},{"photo_id":"1345103032","filename":"file4"},{"photo_id":"1345102795","filename":"file1"},{"photo_id":"1345102748","filename":"file0"},{"photo_id":"1345102951","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345103130":["hashtag1","hashtag2"]},{"1345102872":["hashtag1","hashtag2"]},{"1345102748":["hashtag1","hashtag2"]},{"1345102795":["hashtag1","hashtag2"]},{"1345103032":["hashtag1","hashtag2"]},{"1345102951":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345103130, 1345102872, 1345102748, 1345102795, 1345103032, 1345102951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.761260271072388 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:44:32.326336
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_57_4186.jpg', 2), ('/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_53_4230.jpg', 2), ('/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_49_3204.jpg', 2), ('/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_46_4217.jpg', 2), ('/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_41_4245.jpg', 2), ('/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_37_4255.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_57_4186.jpg', '/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_53_4230.jpg', '/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_49_3204.jpg', '/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_46_4217.jpg', '/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_41_4245.jpg', '/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_37_4255.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_57_4186.jpg
/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_53_4230.jpg
/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_49_3204.jpg
/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_46_4217.jpg
/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_41_4245.jpg
/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_37_4255.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345104102","1345104296","1345104179","1345104437","1345104344","1345104239"],"photo_ids_order":["1345104102","1345104179","1345104239","1345104296","1345104344","1345104437"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4350a12ed0ec2130d29c5c4e4c30da4d.jpg","text":"TemporaryFile(/tmp/multipartBody3142133313283792057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298332974,"filename":"image_18032025_02_30_57_4186.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/50ed07cad16471b8db4d8752811d2c8b.jpg","text":"TemporaryFile(/tmp/multipartBody2580840267695434722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298332974,"filename":"image_18032025_02_30_46_4217.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/460c4069a8cc20c6240ef9891acecf94.jpg","text":"TemporaryFile(/tmp/multipartBody1623348830563395940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298332974,"filename":"image_18032025_02_30_53_4230.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5d1a690ea9285db67f0bb5a3cd6d1bcf.jpg","text":"TemporaryFile(/tmp/multipartBody4941286164095579053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298332974,"filename":"image_18032025_02_30_37_4255.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ed3bd7b815f38763230982a6a3bb3e71.jpg","text":"TemporaryFile(/tmp/multipartBody7161715495725880904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298332974,"filename":"image_18032025_02_30_41_4245.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6c7085765e9b474c5655c1f881bab1d9.jpg","text":"TemporaryFile(/tmp/multipartBody4739232989132798874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298332974,"filename":"image_18032025_02_30_49_3204.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345104239","file1":"1345104179","file0":"1345104102","file4":"1345104344","file5":"1345104437","file3":"1345104296"},"map_files_photo_id_array":[{"photo_id":"1345104437","filename":"file5"},{"photo_id":"1345104239","filename":"file2"},{"photo_id":"1345104344","filename":"file4"},{"photo_id":"1345104179","filename":"file1"},{"photo_id":"1345104102","filename":"file0"},{"photo_id":"1345104296","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345104102":["hashtag1","hashtag2"]},{"1345104296":["hashtag1","hashtag2"]},{"1345104179":["hashtag1","hashtag2"]},{"1345104437":["hashtag1","hashtag2"]},{"1345104344":["hashtag1","hashtag2"]},{"1345104239":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345104102, 1345104296, 1345104179, 1345104437, 1345104344, 1345104239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.142508029937744 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:45:32.520329
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_33_3263.jpg', 2), ('/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_30_4269.jpg', 2), ('/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_25_3903.jpg', 2), ('/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_21_4095.jpg', 2), ('/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_17_4244.jpg', 2), ('/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_13_4223.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_33_3263.jpg', '/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_30_4269.jpg', '/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_25_3903.jpg', '/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_21_4095.jpg', '/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_17_4244.jpg', '/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_13_4223.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_33_3263.jpg
/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_30_4269.jpg
/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_25_3903.jpg
/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_21_4095.jpg
/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_17_4244.jpg
/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_13_4223.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345105297","1345104932","1345105423","1345104895","1345105158","1345105047"],"photo_ids_order":["1345104895","1345104932","1345105047","1345105158","1345105297","1345105423"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/10de316ee66fd13fddea397b77cfbb53.jpg","text":"TemporaryFile(/tmp/multipartBody2645700584092378770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298393231,"filename":"image_18032025_02_30_17_4244.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/60f496ddc42e06a0137e06ea8e860f1a.jpg","text":"TemporaryFile(/tmp/multipartBody9035624357388460260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298393231,"filename":"image_18032025_02_30_30_4269.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f45ff686f2a6c82d09eb0482fbaed843.jpg","text":"TemporaryFile(/tmp/multipartBody32725264889023188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298393231,"filename":"image_18032025_02_30_13_4223.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3a8d18e982bb96795a7f3e25972d1b3d.jpg","text":"TemporaryFile(/tmp/multipartBody7498210119131618565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298393231,"filename":"image_18032025_02_30_33_3263.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a8934f4cf461edbb57f3ad1a8ed8a611.jpg","text":"TemporaryFile(/tmp/multipartBody8090767271027154981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298393231,"filename":"image_18032025_02_30_21_4095.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/de11b7d7ad6d913fc5e0c852896da6db.jpg","text":"TemporaryFile(/tmp/multipartBody7031759624969072591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298393231,"filename":"image_18032025_02_30_25_3903.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345105047","file1":"1345104932","file0":"1345104895","file4":"1345105297","file5":"1345105423","file3":"1345105158"},"map_files_photo_id_array":[{"photo_id":"1345105423","filename":"file5"},{"photo_id":"1345105047","filename":"file2"},{"photo_id":"1345105297","filename":"file4"},{"photo_id":"1345104932","filename":"file1"},{"photo_id":"1345104895","filename":"file0"},{"photo_id":"1345105158","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345105297":["hashtag1","hashtag2"]},{"1345104932":["hashtag1","hashtag2"]},{"1345105423":["hashtag1","hashtag2"]},{"1345104895":["hashtag1","hashtag2"]},{"1345105158":["hashtag1","hashtag2"]},{"1345105047":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345105297, 1345104932, 1345105423, 1345104895, 1345105158, 1345105047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.313668251037598 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:46:32.715577
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_09_4055.jpg', 2), ('/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_05_3838.jpg', 2), ('/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_01_3301.jpg', 2), ('/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_58_4312.jpg', 2), ('/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_53_4328.jpg', 2), ('/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_49_3341.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_09_4055.jpg', '/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_05_3838.jpg', '/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_01_3301.jpg', '/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_58_4312.jpg', '/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_53_4328.jpg', '/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_49_3341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_09_4055.jpg
/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_05_3838.jpg
/home/nano/Desktop/images/18032025/02/30/image_18032025_02_30_01_3301.jpg
/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_58_4312.jpg
/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_53_4328.jpg
/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_49_3341.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345105865","1345105679","1345105777","1345105927","1345105822","1345105898"],"photo_ids_order":["1345105679","1345105777","1345105822","1345105865","1345105898","1345105927"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1efa9b8602708321cfc3218602a8c0ff.jpg","text":"TemporaryFile(/tmp/multipartBody2784793712680118866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298453417,"filename":"image_18032025_02_29_58_4312.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f0aaf09ec8d32eac0d25be26ff6ddb1b.jpg","text":"TemporaryFile(/tmp/multipartBody5615779884964167050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298453417,"filename":"image_18032025_02_30_09_4055.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8a949f8a92436a28e5c5485c73baf97b.jpg","text":"TemporaryFile(/tmp/multipartBody7056983400806626040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298453417,"filename":"image_18032025_02_30_05_3838.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6e05b560f084929a4b2e4589cb51f83a.jpg","text":"TemporaryFile(/tmp/multipartBody8111309027506450704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298453417,"filename":"image_18032025_02_29_49_3341.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/33c21fc0cfa3b7c8017e525dd906e07f.jpg","text":"TemporaryFile(/tmp/multipartBody1197095546183699434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298453417,"filename":"image_18032025_02_30_01_3301.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5a124f7112308a60c8cea36054464d25.jpg","text":"TemporaryFile(/tmp/multipartBody381163510812452731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298453417,"filename":"image_18032025_02_29_53_4328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345105822","file1":"1345105777","file0":"1345105679","file4":"1345105898","file5":"1345105927","file3":"1345105865"},"map_files_photo_id_array":[{"photo_id":"1345105927","filename":"file5"},{"photo_id":"1345105822","filename":"file2"},{"photo_id":"1345105898","filename":"file4"},{"photo_id":"1345105777","filename":"file1"},{"photo_id":"1345105679","filename":"file0"},{"photo_id":"1345105865","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345105865":["hashtag1","hashtag2"]},{"1345105679":["hashtag1","hashtag2"]},{"1345105777":["hashtag1","hashtag2"]},{"1345105927":["hashtag1","hashtag2"]},{"1345105822":["hashtag1","hashtag2"]},{"1345105898":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345105865, 1345105679, 1345105777, 1345105927, 1345105822, 1345105898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.0262668132782 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:47:31.897763
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_46_4247.jpg', 2), ('/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_41_4341.jpg', 2), ('/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_37_4281.jpg', 2), ('/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_33_3267.jpg', 2), ('/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_30_4313.jpg', 2), ('/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_25_4433.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_46_4247.jpg', '/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_41_4341.jpg', '/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_37_4281.jpg', '/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_33_3267.jpg', '/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_30_4313.jpg', '/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_25_4433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_46_4247.jpg
/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_41_4341.jpg
/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_37_4281.jpg
/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_33_3267.jpg
/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_30_4313.jpg
/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_25_4433.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6391212940216064 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:48:02.686193
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_46_4247.jpg', 2), ('/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_41_4341.jpg', 2), ('/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_37_4281.jpg', 2), ('/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_33_3267.jpg', 2), ('/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_30_4313.jpg', 2), ('/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_25_4433.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_46_4247.jpg', '/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_41_4341.jpg', '/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_37_4281.jpg', '/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_33_3267.jpg', '/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_30_4313.jpg', '/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_25_4433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_46_4247.jpg
/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_41_4341.jpg
/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_37_4281.jpg
/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_33_3267.jpg
/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_30_4313.jpg
/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_25_4433.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345106558","1345106711","1345106659","1345106488","1345106430","1345106616"],"photo_ids_order":["1345106430","1345106488","1345106558","1345106616","1345106659","1345106711"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6a3812e4d862fe6c08ae2f9985b3048f.jpg","text":"TemporaryFile(/tmp/multipartBody5634355949681359313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298543252,"filename":"image_18032025_02_29_37_4281.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7935e8ccf5b39304eea99d9744d0d3b7.jpg","text":"TemporaryFile(/tmp/multipartBody583225010778289073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298543252,"filename":"image_18032025_02_29_25_4433.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f6723e3a3111fbaecb0d7c4aec2ec367.jpg","text":"TemporaryFile(/tmp/multipartBody94295141871026604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298543252,"filename":"image_18032025_02_29_30_4313.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/79db54255d7a4c0283d7bbe93c3e3f21.jpg","text":"TemporaryFile(/tmp/multipartBody5633492308224430133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298543252,"filename":"image_18032025_02_29_41_4341.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/aedffa4ff22601e84e44b8ebd467689d.jpg","text":"TemporaryFile(/tmp/multipartBody6961362277124987697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298543252,"filename":"image_18032025_02_29_46_4247.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f525ceb4750e04e8c856b361f0f371d8.jpg","text":"TemporaryFile(/tmp/multipartBody5610250454072082973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298543252,"filename":"image_18032025_02_29_33_3267.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345106558","file1":"1345106488","file0":"1345106430","file4":"1345106659","file5":"1345106711","file3":"1345106616"},"map_files_photo_id_array":[{"photo_id":"1345106711","filename":"file5"},{"photo_id":"1345106558","filename":"file2"},{"photo_id":"1345106659","filename":"file4"},{"photo_id":"1345106488","filename":"file1"},{"photo_id":"1345106430","filename":"file0"},{"photo_id":"1345106616","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345106558":["hashtag1","hashtag2"]},{"1345106711":["hashtag1","hashtag2"]},{"1345106659":["hashtag1","hashtag2"]},{"1345106488":["hashtag1","hashtag2"]},{"1345106430":["hashtag1","hashtag2"]},{"1345106616":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345106558, 1345106711, 1345106659, 1345106488, 1345106430, 1345106616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.01597237586975 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:49:03.358659
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_21_3280.jpg', 2), ('/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_18_4293.jpg', 2), ('/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_13_4282.jpg', 2), ('/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_09_3274.jpg', 2), ('/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_06_4849.jpg', 2), ('/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_01_3254.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_21_3280.jpg', '/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_18_4293.jpg', '/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_13_4282.jpg', '/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_09_3274.jpg', '/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_06_4849.jpg', '/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_01_3254.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_21_3280.jpg
/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_18_4293.jpg
/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_13_4282.jpg
/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_09_3274.jpg
/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_06_4849.jpg
/home/nano/Desktop/images/18032025/02/29/image_18032025_02_29_01_3254.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345107184","1345107226","1345107081","1345107255","1345107164","1345107134"],"photo_ids_order":["1345107081","1345107134","1345107164","1345107184","1345107226","1345107255"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/afc33f122b518e07cb86e50de618c43e.jpg","text":"TemporaryFile(/tmp/multipartBody1873952870529828887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298603896,"filename":"image_18032025_02_29_09_3274.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9887c002e96f6b864ee615322e8a9667.jpg","text":"TemporaryFile(/tmp/multipartBody805009636380903410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298603896,"filename":"image_18032025_02_29_06_4849.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7748fd329c9768e7fdcbf298683cf5e3.jpg","text":"TemporaryFile(/tmp/multipartBody862533395333744250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298603896,"filename":"image_18032025_02_29_21_3280.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b559e0857007f9d12dd49d209d4cc74e.jpg","text":"TemporaryFile(/tmp/multipartBody3343573354267226315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298603896,"filename":"image_18032025_02_29_01_3254.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fabf41f1df237723b1cf6754f5166c1c.jpg","text":"TemporaryFile(/tmp/multipartBody6309251017035692659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298603896,"filename":"image_18032025_02_29_13_4282.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ade74e7e388ed864278672b6e89ea80b.jpg","text":"TemporaryFile(/tmp/multipartBody5780433552045193064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298603896,"filename":"image_18032025_02_29_18_4293.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345107164","file1":"1345107134","file0":"1345107081","file4":"1345107226","file5":"1345107255","file3":"1345107184"},"map_files_photo_id_array":[{"photo_id":"1345107255","filename":"file5"},{"photo_id":"1345107164","filename":"file2"},{"photo_id":"1345107226","filename":"file4"},{"photo_id":"1345107134","filename":"file1"},{"photo_id":"1345107081","filename":"file0"},{"photo_id":"1345107184","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345107184":["hashtag1","hashtag2"]},{"1345107226":["hashtag1","hashtag2"]},{"1345107081":["hashtag1","hashtag2"]},{"1345107255":["hashtag1","hashtag2"]},{"1345107164":["hashtag1","hashtag2"]},{"1345107134":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345107184, 1345107226, 1345107081, 1345107255, 1345107164, 1345107134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.225353717803955 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:50:02.797652
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_58_4288.jpg', 2), ('/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_53_4280.jpg', 2), ('/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_49_4307.jpg', 2), ('/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_45_3269.jpg', 2), ('/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_41_4272.jpg', 2), ('/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_37_4290.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_58_4288.jpg', '/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_53_4280.jpg', '/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_49_4307.jpg', '/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_45_3269.jpg', '/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_41_4272.jpg', '/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_37_4290.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_58_4288.jpg
/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_53_4280.jpg
/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_49_4307.jpg
/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_45_3269.jpg
/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_41_4272.jpg
/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_37_4290.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345107684","1345107945","1345107884","1345107794","1345108039","1345107679"],"photo_ids_order":["1345107679","1345107684","1345107794","1345107884","1345107945","1345108039"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8ee4c22c81787b617cc1dd336e61933b.jpg","text":"TemporaryFile(/tmp/multipartBody4884567779514387068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298663347,"filename":"image_18032025_02_28_53_4280.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/17ad425d83af827aa33e358f7fd3a21e.jpg","text":"TemporaryFile(/tmp/multipartBody4297131074165091534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298663347,"filename":"image_18032025_02_28_41_4272.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f566912cc789dc17c59b9fe8b90cfc96.jpg","text":"TemporaryFile(/tmp/multipartBody6713577857870315389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298663347,"filename":"image_18032025_02_28_45_3269.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e6f14164af596a053adc4e5a17412269.jpg","text":"TemporaryFile(/tmp/multipartBody714233104390044174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298663347,"filename":"image_18032025_02_28_49_4307.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fe795b2f2a29d41f1471f23ca1254942.jpg","text":"TemporaryFile(/tmp/multipartBody1235340251708057096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298663347,"filename":"image_18032025_02_28_37_4290.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/178d2d0ad8688c5d8ee290bbd38b985c.jpg","text":"TemporaryFile(/tmp/multipartBody8313585249926223831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298663347,"filename":"image_18032025_02_28_58_4288.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345107794","file1":"1345107684","file0":"1345107679","file4":"1345107945","file5":"1345108039","file3":"1345107884"},"map_files_photo_id_array":[{"photo_id":"1345108039","filename":"file5"},{"photo_id":"1345107794","filename":"file2"},{"photo_id":"1345107945","filename":"file4"},{"photo_id":"1345107684","filename":"file1"},{"photo_id":"1345107679","filename":"file0"},{"photo_id":"1345107884","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345107684":["hashtag1","hashtag2"]},{"1345107945":["hashtag1","hashtag2"]},{"1345107884":["hashtag1","hashtag2"]},{"1345107794":["hashtag1","hashtag2"]},{"1345108039":["hashtag1","hashtag2"]},{"1345107679":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345107684, 1345107945, 1345107884, 1345107794, 1345108039, 1345107679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.64475440979004 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:51:03.250052
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_33_3252.jpg', 2), ('/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_30_4259.jpg', 2), ('/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_25_4306.jpg', 2), ('/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_21_4287.jpg', 2), ('/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_17_3268.jpg', 2), ('/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_13_4302.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_33_3252.jpg', '/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_30_4259.jpg', '/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_25_4306.jpg', '/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_21_4287.jpg', '/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_17_3268.jpg', '/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_13_4302.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_33_3252.jpg
/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_30_4259.jpg
/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_25_4306.jpg
/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_21_4287.jpg
/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_17_3268.jpg
/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_13_4302.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345109091","1345108816","1345109160","1345108968","1345109021","1345108910"],"photo_ids_order":["1345108816","1345108910","1345108968","1345109021","1345109091","1345109160"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bcea40e08f83f82a24f5db043d5ed26b.jpg","text":"TemporaryFile(/tmp/multipartBody1455064011864838142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298723783,"filename":"image_18032025_02_28_17_3268.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c8aa037b60a98df6efd7698409cb0913.jpg","text":"TemporaryFile(/tmp/multipartBody6020550329853701227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298723783,"filename":"image_18032025_02_28_33_3252.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b2fecdc9181b5dd3c48aa48313ff744f.jpg","text":"TemporaryFile(/tmp/multipartBody3157923542604955989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298723783,"filename":"image_18032025_02_28_13_4302.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/45889beef8333e330cc0217d6ffc68d9.jpg","text":"TemporaryFile(/tmp/multipartBody8475627702147700531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298723783,"filename":"image_18032025_02_28_25_4306.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/360d20f98cc5530455e68881fbafb6bf.jpg","text":"TemporaryFile(/tmp/multipartBody5902365813721069115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298723783,"filename":"image_18032025_02_28_21_4287.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b9814aa9336ded1549838dffbb495daa.jpg","text":"TemporaryFile(/tmp/multipartBody171980955714539348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298723783,"filename":"image_18032025_02_28_30_4259.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345108968","file1":"1345108910","file0":"1345108816","file4":"1345109091","file5":"1345109160","file3":"1345109021"},"map_files_photo_id_array":[{"photo_id":"1345109160","filename":"file5"},{"photo_id":"1345108968","filename":"file2"},{"photo_id":"1345109091","filename":"file4"},{"photo_id":"1345108910","filename":"file1"},{"photo_id":"1345108816","filename":"file0"},{"photo_id":"1345109021","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345109091":["hashtag1","hashtag2"]},{"1345108816":["hashtag1","hashtag2"]},{"1345109160":["hashtag1","hashtag2"]},{"1345108968":["hashtag1","hashtag2"]},{"1345109021":["hashtag1","hashtag2"]},{"1345108910":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345109091, 1345108816, 1345109160, 1345108968, 1345109021, 1345108910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.99602961540222 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:52:03.404230
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_09_4338.jpg', 2), ('/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_05_3866.jpg', 2), ('/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_01_3295.jpg', 2), ('/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_58_4303.jpg', 2), ('/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_53_3886.jpg', 2), ('/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_50_4364.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_09_4338.jpg', '/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_05_3866.jpg', '/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_01_3295.jpg', '/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_58_4303.jpg', '/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_53_3886.jpg', '/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_50_4364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_09_4338.jpg
/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_05_3866.jpg
/home/nano/Desktop/images/18032025/02/28/image_18032025_02_28_01_3295.jpg
/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_58_4303.jpg
/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_53_3886.jpg
/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_50_4364.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345109672","1345109627","1345109770","1345109644","1345109647","1345109728"],"photo_ids_order":["1345109627","1345109644","1345109647","1345109672","1345109728","1345109770"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/87e0f9d8fb818b48f47870c8f882401b.jpg","text":"TemporaryFile(/tmp/multipartBody5901311680336508414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298783918,"filename":"image_18032025_02_27_58_4303.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1088b7a002826e03f2c76089ac4b4da2.jpg","text":"TemporaryFile(/tmp/multipartBody4519822628113869617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298783918,"filename":"image_18032025_02_28_09_4338.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/130408b370418e14d1c8317f06d831ac.jpg","text":"TemporaryFile(/tmp/multipartBody3781745484277719370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298783918,"filename":"image_18032025_02_27_50_4364.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5a39420ae999ae5b1b3e3e13d94016f7.jpg","text":"TemporaryFile(/tmp/multipartBody7038356104040725431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298783918,"filename":"image_18032025_02_28_05_3866.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/da8dab863bfccab44c88e0ac97f80d17.jpg","text":"TemporaryFile(/tmp/multipartBody4468105243835450812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298783918,"filename":"image_18032025_02_28_01_3295.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7c7366616d9cb97688240d7c477126aa.jpg","text":"TemporaryFile(/tmp/multipartBody9031320155416772577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298783918,"filename":"image_18032025_02_27_53_3886.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345109647","file1":"1345109644","file0":"1345109627","file4":"1345109728","file5":"1345109770","file3":"1345109672"},"map_files_photo_id_array":[{"photo_id":"1345109770","filename":"file5"},{"photo_id":"1345109647","filename":"file2"},{"photo_id":"1345109728","filename":"file4"},{"photo_id":"1345109644","filename":"file1"},{"photo_id":"1345109627","filename":"file0"},{"photo_id":"1345109672","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345109672":["hashtag1","hashtag2"]},{"1345109627":["hashtag1","hashtag2"]},{"1345109770":["hashtag1","hashtag2"]},{"1345109644":["hashtag1","hashtag2"]},{"1345109647":["hashtag1","hashtag2"]},{"1345109728":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345109672, 1345109627, 1345109770, 1345109644, 1345109647, 1345109728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.18733239173889 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:53:02.839754
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_45_4335.jpg', 2), ('/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_41_3207.jpg', 2), ('/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_38_4221.jpg', 2), ('/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_33_4095.jpg', 2), ('/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_29_4132.jpg', 2), ('/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_25_4154.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_45_4335.jpg', '/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_41_3207.jpg', '/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_38_4221.jpg', '/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_33_4095.jpg', '/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_29_4132.jpg', '/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_25_4154.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_45_4335.jpg
/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_41_3207.jpg
/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_38_4221.jpg
/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_33_4095.jpg
/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_29_4132.jpg
/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_25_4154.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345110124","1345110205","1345110087","1345110035","1345110008","1345109982"],"photo_ids_order":["1345109982","1345110008","1345110035","1345110087","1345110124","1345110205"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a7123596c5a05341570e4c4804c91a94.jpg","text":"TemporaryFile(/tmp/multipartBody1462719806563511365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298843382,"filename":"image_18032025_02_27_29_4132.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1c9a8f1656b13b7769d30c8e57e32c5b.jpg","text":"TemporaryFile(/tmp/multipartBody5027559231321444093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298843382,"filename":"image_18032025_02_27_25_4154.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f25dc4926341beba0b9afc6d53d911bf.jpg","text":"TemporaryFile(/tmp/multipartBody8833858889836578970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298843382,"filename":"image_18032025_02_27_33_4095.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dd7135e65edcdf4ababd9f565ee7706c.jpg","text":"TemporaryFile(/tmp/multipartBody2990559671096369788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298843382,"filename":"image_18032025_02_27_38_4221.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ffe390848d30509dcf3b045eae58095e.jpg","text":"TemporaryFile(/tmp/multipartBody8415673857347822587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298843382,"filename":"image_18032025_02_27_41_3207.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0c023e82f3eda7123f9d51e1345c8239.jpg","text":"TemporaryFile(/tmp/multipartBody996735569677319606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298843382,"filename":"image_18032025_02_27_45_4335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345110035","file1":"1345110008","file0":"1345109982","file4":"1345110124","file5":"1345110205","file3":"1345110087"},"map_files_photo_id_array":[{"photo_id":"1345110205","filename":"file5"},{"photo_id":"1345110035","filename":"file2"},{"photo_id":"1345110124","filename":"file4"},{"photo_id":"1345110008","filename":"file1"},{"photo_id":"1345109982","filename":"file0"},{"photo_id":"1345110087","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345110124":["hashtag1","hashtag2"]},{"1345110205":["hashtag1","hashtag2"]},{"1345110087":["hashtag1","hashtag2"]},{"1345110035":["hashtag1","hashtag2"]},{"1345110008":["hashtag1","hashtag2"]},{"1345109982":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345110124, 1345110205, 1345110087, 1345110035, 1345110008, 1345109982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.340665340423584 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:54:03.255311
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_21_4173.jpg', 2), ('/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_17_3185.jpg', 2), ('/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_14_4195.jpg', 2), ('/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_09_4134.jpg', 2), ('/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_05_4585.jpg', 2), ('/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_01_3177.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_21_4173.jpg', '/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_17_3185.jpg', '/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_14_4195.jpg', '/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_09_4134.jpg', '/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_05_4585.jpg', '/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_01_3177.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_21_4173.jpg
/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_17_3185.jpg
/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_14_4195.jpg
/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_09_4134.jpg
/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_05_4585.jpg
/home/nano/Desktop/images/18032025/02/27/image_18032025_02_27_01_3177.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345111661","1345111478","1345111385","1345111304","1345111567","1345111791"],"photo_ids_order":["1345111304","1345111385","1345111478","1345111567","1345111661","1345111791"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c130830b2b2029c611b1a93adc107e1a.jpg","text":"TemporaryFile(/tmp/multipartBody8719318718954236338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298903821,"filename":"image_18032025_02_27_05_4585.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ecffb2f28f087f3876c900edcc9e92bb.jpg","text":"TemporaryFile(/tmp/multipartBody5574346929515960857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298903821,"filename":"image_18032025_02_27_14_4195.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a928ce033e4c45de98db7b1024b17f6e.jpg","text":"TemporaryFile(/tmp/multipartBody6947628741601818412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298903821,"filename":"image_18032025_02_27_17_3185.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a0b1fb2139687e943fdf7bc6407e63ff.jpg","text":"TemporaryFile(/tmp/multipartBody9064506200875555415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298903821,"filename":"image_18032025_02_27_21_4173.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/39f5608c3e6bdc3fc86a59528a10f250.jpg","text":"TemporaryFile(/tmp/multipartBody2980284594250838465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298903821,"filename":"image_18032025_02_27_09_4134.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/47424bd74ab889395a2d27de043aaab0.jpg","text":"TemporaryFile(/tmp/multipartBody3151098942965139441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298903821,"filename":"image_18032025_02_27_01_3177.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345111478","file1":"1345111385","file0":"1345111304","file4":"1345111661","file5":"1345111791","file3":"1345111567"},"map_files_photo_id_array":[{"photo_id":"1345111791","filename":"file5"},{"photo_id":"1345111478","filename":"file2"},{"photo_id":"1345111661","filename":"file4"},{"photo_id":"1345111385","filename":"file1"},{"photo_id":"1345111304","filename":"file0"},{"photo_id":"1345111567","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345111661":["hashtag1","hashtag2"]},{"1345111478":["hashtag1","hashtag2"]},{"1345111385":["hashtag1","hashtag2"]},{"1345111304":["hashtag1","hashtag2"]},{"1345111567":["hashtag1","hashtag2"]},{"1345111791":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345111661, 1345111478, 1345111385, 1345111304, 1345111567, 1345111791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.39948272705078 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:55:03.155099
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_58_4136.jpg', 2), ('/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_53_4209.jpg', 2), ('/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_49_4160.jpg', 2), ('/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_45_4228.jpg', 2), ('/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_41_4108.jpg', 2), ('/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_37_3165.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_58_4136.jpg', '/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_53_4209.jpg', '/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_49_4160.jpg', '/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_45_4228.jpg', '/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_41_4108.jpg', '/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_37_3165.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_58_4136.jpg
/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_53_4209.jpg
/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_49_4160.jpg
/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_45_4228.jpg
/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_41_4108.jpg
/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_37_3165.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345112628","1345112699","1345112546","1345112479","1345112499","1345112769"],"photo_ids_order":["1345112479","1345112499","1345112546","1345112628","1345112699","1345112769"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/35588aeb1237b8e97da4355f767baada.jpg","text":"TemporaryFile(/tmp/multipartBody8830483574976678841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298963690,"filename":"image_18032025_02_26_45_4228.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8fea5c95856a8f6821b9f070ca0ebf71.jpg","text":"TemporaryFile(/tmp/multipartBody7623899828222159045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298963690,"filename":"image_18032025_02_26_41_4108.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4227f9c51b4ee999297409ae4109418f.jpg","text":"TemporaryFile(/tmp/multipartBody7176954294634929150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298963690,"filename":"image_18032025_02_26_49_4160.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5f2ea8ff179a3d995e3b1690f626202d.jpg","text":"TemporaryFile(/tmp/multipartBody8555029332887593594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298963690,"filename":"image_18032025_02_26_58_4136.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d157ec59d249c534189eb65f2f63b836.jpg","text":"TemporaryFile(/tmp/multipartBody7338862567202142024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298963690,"filename":"image_18032025_02_26_53_4209.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6af4412bf86664b8ea2ad872a20343c7.jpg","text":"TemporaryFile(/tmp/multipartBody4019602084762092216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742298963690,"filename":"image_18032025_02_26_37_3165.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345112546","file1":"1345112499","file0":"1345112479","file4":"1345112699","file5":"1345112769","file3":"1345112628"},"map_files_photo_id_array":[{"photo_id":"1345112769","filename":"file5"},{"photo_id":"1345112546","filename":"file2"},{"photo_id":"1345112699","filename":"file4"},{"photo_id":"1345112499","filename":"file1"},{"photo_id":"1345112479","filename":"file0"},{"photo_id":"1345112628","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345112628":["hashtag1","hashtag2"]},{"1345112699":["hashtag1","hashtag2"]},{"1345112546":["hashtag1","hashtag2"]},{"1345112479":["hashtag1","hashtag2"]},{"1345112499":["hashtag1","hashtag2"]},{"1345112769":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345112628, 1345112699, 1345112546, 1345112479, 1345112499, 1345112769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.55430197715759 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:56:03.149466
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_34_4142.jpg', 2), ('/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_29_4087.jpg', 2), ('/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_25_4101.jpg', 2), ('/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_21_4097.jpg', 2), ('/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_17_4133.jpg', 2), ('/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_13_4075.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_34_4142.jpg', '/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_29_4087.jpg', '/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_25_4101.jpg', '/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_21_4097.jpg', '/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_17_4133.jpg', '/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_13_4075.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_34_4142.jpg
/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_29_4087.jpg
/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_25_4101.jpg
/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_21_4097.jpg
/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_17_4133.jpg
/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_13_4075.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345113341","1345113472","1345113385","1345113319","1345113579","1345113549"],"photo_ids_order":["1345113319","1345113341","1345113385","1345113472","1345113549","1345113579"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2f711002e00d586e6415136c247a382c.jpg","text":"TemporaryFile(/tmp/multipartBody6290146348183052661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299023717,"filename":"image_18032025_02_26_29_4087.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/604d21f7c07abcea2942b7d38c9df343.jpg","text":"TemporaryFile(/tmp/multipartBody8570868431769756279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299023717,"filename":"image_18032025_02_26_21_4097.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ecbcf4d0791b655b854f0cf36d0dc7f6.jpg","text":"TemporaryFile(/tmp/multipartBody4580087929199586511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299023717,"filename":"image_18032025_02_26_25_4101.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/790017ee691b28b8e311495524adc528.jpg","text":"TemporaryFile(/tmp/multipartBody671234284691804228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299023717,"filename":"image_18032025_02_26_34_4142.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4052e3599e3ef0d62f0e37cd8d2f47f1.jpg","text":"TemporaryFile(/tmp/multipartBody3010687921538413158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299023717,"filename":"image_18032025_02_26_13_4075.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6cba7a0e00b6fd1b39e9049ae2bce2fb.jpg","text":"TemporaryFile(/tmp/multipartBody3197519245507104248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299023717,"filename":"image_18032025_02_26_17_4133.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345113385","file1":"1345113341","file0":"1345113319","file4":"1345113549","file5":"1345113579","file3":"1345113472"},"map_files_photo_id_array":[{"photo_id":"1345113579","filename":"file5"},{"photo_id":"1345113385","filename":"file2"},{"photo_id":"1345113549","filename":"file4"},{"photo_id":"1345113341","filename":"file1"},{"photo_id":"1345113319","filename":"file0"},{"photo_id":"1345113472","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345113341":["hashtag1","hashtag2"]},{"1345113472":["hashtag1","hashtag2"]},{"1345113385":["hashtag1","hashtag2"]},{"1345113319":["hashtag1","hashtag2"]},{"1345113579":["hashtag1","hashtag2"]},{"1345113549":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345113341, 1345113472, 1345113385, 1345113319, 1345113579, 1345113549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.67127299308777 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:57:03.528174
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_09_4171.jpg', 2), ('/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_05_3364.jpg', 2), ('/home/nano/Desktop/images/18032025/02/25/image_18032025_02_26_01_4115.jpg', 2), ('/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_57_4172.jpg', 2), ('/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_53_4185.jpg', 2), ('/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_49_4193.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_09_4171.jpg', '/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_05_3364.jpg', '/home/nano/Desktop/images/18032025/02/25/image_18032025_02_26_01_4115.jpg', '/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_57_4172.jpg', '/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_53_4185.jpg', '/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_49_4193.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_09_4171.jpg
/home/nano/Desktop/images/18032025/02/26/image_18032025_02_26_05_3364.jpg
/home/nano/Desktop/images/18032025/02/25/image_18032025_02_26_01_4115.jpg
/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_57_4172.jpg
/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_53_4185.jpg
/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_49_4193.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345114607","1345114514","1345114415","1345114848","1345114697","1345114961"],"photo_ids_order":["1345114415","1345114514","1345114607","1345114697","1345114848","1345114961"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/35dad19aa68132b843d0edf334ff1529.jpg","text":"TemporaryFile(/tmp/multipartBody31764691914228642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299084067,"filename":"image_18032025_02_26_01_4115.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b40162525650d040f9592c658eeac8e9.jpg","text":"TemporaryFile(/tmp/multipartBody3471777981747908726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299084067,"filename":"image_18032025_02_26_05_3364.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/29ae6069c8af64decde629985bea94b1.jpg","text":"TemporaryFile(/tmp/multipartBody7906599120531748777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299084067,"filename":"image_18032025_02_26_09_4171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0703d570e5d03e76291b7a007ed437c1.jpg","text":"TemporaryFile(/tmp/multipartBody3257192351959626887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299084067,"filename":"image_18032025_02_25_53_4185.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/48787ac350a596d7e5c1142be727f9d8.jpg","text":"TemporaryFile(/tmp/multipartBody5446391779137002161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299084067,"filename":"image_18032025_02_25_57_4172.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/77ea85afd3361cb93688dbe541089664.jpg","text":"TemporaryFile(/tmp/multipartBody2405409013260988100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299084067,"filename":"image_18032025_02_25_49_4193.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345114607","file1":"1345114514","file0":"1345114415","file4":"1345114848","file5":"1345114961","file3":"1345114697"},"map_files_photo_id_array":[{"photo_id":"1345114961","filename":"file5"},{"photo_id":"1345114607","filename":"file2"},{"photo_id":"1345114848","filename":"file4"},{"photo_id":"1345114514","filename":"file1"},{"photo_id":"1345114415","filename":"file0"},{"photo_id":"1345114697","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345114607":["hashtag1","hashtag2"]},{"1345114514":["hashtag1","hashtag2"]},{"1345114415":["hashtag1","hashtag2"]},{"1345114848":["hashtag1","hashtag2"]},{"1345114697":["hashtag1","hashtag2"]},{"1345114961":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345114607, 1345114514, 1345114415, 1345114848, 1345114697, 1345114961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.46393370628357 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:58:03.356061
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_45_3078.jpg', 2), ('/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_42_4140.jpg', 2), ('/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_37_4062.jpg', 2), ('/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_33_4164.jpg', 2), ('/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_29_4334.jpg', 2), ('/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_25_3305.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_45_3078.jpg', '/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_42_4140.jpg', '/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_37_4062.jpg', '/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_33_4164.jpg', '/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_29_4334.jpg', '/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_25_3305.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_45_3078.jpg
/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_42_4140.jpg
/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_37_4062.jpg
/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_33_4164.jpg
/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_29_4334.jpg
/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_25_3305.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345116396","1345116183","1345116522","1345116446","1345116341","1345116085"],"photo_ids_order":["1345116085","1345116183","1345116341","1345116396","1345116446","1345116522"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a64fb99093d97d73817f7e2f9022d780.jpg","text":"TemporaryFile(/tmp/multipartBody7533539285948543163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299143847,"filename":"image_18032025_02_25_33_4164.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8a23cb51cd0f9b312f7ffdae11b7bdf9.jpg","text":"TemporaryFile(/tmp/multipartBody6882505158875854871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299143847,"filename":"image_18032025_02_25_42_4140.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2600d467f500229eedc35672e7ecbb54.jpg","text":"TemporaryFile(/tmp/multipartBody5746483161658362261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299143847,"filename":"image_18032025_02_25_25_3305.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cae0e9a451de51052e3d603ec11b259e.jpg","text":"TemporaryFile(/tmp/multipartBody6565713985528109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299143847,"filename":"image_18032025_02_25_29_4334.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9579e8d73baeb2c340d3deb8da578dbb.jpg","text":"TemporaryFile(/tmp/multipartBody7943784797183054815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299143847,"filename":"image_18032025_02_25_37_4062.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6b6cd5612beebb6f6fe008d0d7b74d1c.jpg","text":"TemporaryFile(/tmp/multipartBody5808835106165414309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299143847,"filename":"image_18032025_02_25_45_3078.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345116341","file1":"1345116183","file0":"1345116085","file4":"1345116446","file5":"1345116522","file3":"1345116396"},"map_files_photo_id_array":[{"photo_id":"1345116522","filename":"file5"},{"photo_id":"1345116341","filename":"file2"},{"photo_id":"1345116446","filename":"file4"},{"photo_id":"1345116183","filename":"file1"},{"photo_id":"1345116085","filename":"file0"},{"photo_id":"1345116396","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345116396":["hashtag1","hashtag2"]},{"1345116183":["hashtag1","hashtag2"]},{"1345116522":["hashtag1","hashtag2"]},{"1345116446":["hashtag1","hashtag2"]},{"1345116341":["hashtag1","hashtag2"]},{"1345116085":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345116396, 1345116183, 1345116522, 1345116446, 1345116341, 1345116085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.30644154548645 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 12:59:03.892262
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_22_4225.jpg', 2), ('/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_17_4474.jpg', 2), ('/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_13_3414.jpg', 2), ('/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_09_4291.jpg', 2), ('/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_05_3690.jpg', 2), ('/home/nano/Desktop/images/18032025/02/24/image_18032025_02_25_02_4095.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_22_4225.jpg', '/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_17_4474.jpg', '/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_13_3414.jpg', '/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_09_4291.jpg', '/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_05_3690.jpg', '/home/nano/Desktop/images/18032025/02/24/image_18032025_02_25_02_4095.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_22_4225.jpg
/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_17_4474.jpg
/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_13_3414.jpg
/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_09_4291.jpg
/home/nano/Desktop/images/18032025/02/25/image_18032025_02_25_05_3690.jpg
/home/nano/Desktop/images/18032025/02/24/image_18032025_02_25_02_4095.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345117386","1345117350","1345117190","1345117103","1345117246","1345117306"],"photo_ids_order":["1345117103","1345117190","1345117246","1345117306","1345117350","1345117386"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c96d705660dd177bd54c414e5a4bbbb6.jpg","text":"TemporaryFile(/tmp/multipartBody4338257004143200382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299204458,"filename":"image_18032025_02_25_02_4095.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e6e0a2e99451fadc026cb46026bcfd64.jpg","text":"TemporaryFile(/tmp/multipartBody7157178758140641939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299204458,"filename":"image_18032025_02_25_05_3690.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/54825b7840da5ad62b6d4a2873c45deb.jpg","text":"TemporaryFile(/tmp/multipartBody3041997682841797303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299204458,"filename":"image_18032025_02_25_17_4474.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d6d0383fafe23afbb20a605cf43cc9e0.jpg","text":"TemporaryFile(/tmp/multipartBody7502804938395960994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299204458,"filename":"image_18032025_02_25_22_4225.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8ac70f770d5000c579c8bde7081bfc2f.jpg","text":"TemporaryFile(/tmp/multipartBody4698266446386828408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299204458,"filename":"image_18032025_02_25_13_3414.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/389fed597b3507dbce91dfcea84eeeb0.jpg","text":"TemporaryFile(/tmp/multipartBody308800545470235546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299204458,"filename":"image_18032025_02_25_09_4291.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345117246","file1":"1345117190","file0":"1345117103","file4":"1345117350","file5":"1345117386","file3":"1345117306"},"map_files_photo_id_array":[{"photo_id":"1345117386","filename":"file5"},{"photo_id":"1345117246","filename":"file2"},{"photo_id":"1345117350","filename":"file4"},{"photo_id":"1345117190","filename":"file1"},{"photo_id":"1345117103","filename":"file0"},{"photo_id":"1345117306","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345117386":["hashtag1","hashtag2"]},{"1345117350":["hashtag1","hashtag2"]},{"1345117190":["hashtag1","hashtag2"]},{"1345117103":["hashtag1","hashtag2"]},{"1345117246":["hashtag1","hashtag2"]},{"1345117306":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345117386, 1345117350, 1345117190, 1345117103, 1345117246, 1345117306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61563801765442 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:00:02.807880
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_57_4200.jpg', 2), ('/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_53_4034.jpg', 2), ('/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_49_4095.jpg', 2), ('/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_45_3996.jpg', 2), ('/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_41_4005.jpg', 2), ('/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_37_4068.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_57_4200.jpg', '/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_53_4034.jpg', '/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_49_4095.jpg', '/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_45_3996.jpg', '/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_41_4005.jpg', '/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_37_4068.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_57_4200.jpg
/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_53_4034.jpg
/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_49_4095.jpg
/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_45_3996.jpg
/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_41_4005.jpg
/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_37_4068.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345117908","1345117667","1345117619","1345117861","1345117762","1345117959"],"photo_ids_order":["1345117619","1345117667","1345117762","1345117861","1345117908","1345117959"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9cb531ac5436457ec5d94753d866c912.jpg","text":"TemporaryFile(/tmp/multipartBody8869735694303555097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299263347,"filename":"image_18032025_02_24_41_4005.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/22c2330c004f96d758dd1b018a0fc93d.jpg","text":"TemporaryFile(/tmp/multipartBody2392004708376318690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299263347,"filename":"image_18032025_02_24_53_4034.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f8be0078e919cc01002ab908ed742f0e.jpg","text":"TemporaryFile(/tmp/multipartBody6123007684976674939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299263347,"filename":"image_18032025_02_24_57_4200.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d96dd5c2c2fd5f03bc1b4b7f3d50352f.jpg","text":"TemporaryFile(/tmp/multipartBody6245737729622526290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299263347,"filename":"image_18032025_02_24_45_3996.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8465999050e39dc5a25b0df79edd6128.jpg","text":"TemporaryFile(/tmp/multipartBody178273384301969911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299263347,"filename":"image_18032025_02_24_49_4095.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fc3559e5df690c5c9c0101eb4f3a97a7.jpg","text":"TemporaryFile(/tmp/multipartBody5717843371444293340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299263347,"filename":"image_18032025_02_24_37_4068.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345117762","file1":"1345117667","file0":"1345117619","file4":"1345117908","file5":"1345117959","file3":"1345117861"},"map_files_photo_id_array":[{"photo_id":"1345117959","filename":"file5"},{"photo_id":"1345117762","filename":"file2"},{"photo_id":"1345117908","filename":"file4"},{"photo_id":"1345117667","filename":"file1"},{"photo_id":"1345117619","filename":"file0"},{"photo_id":"1345117861","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345117908":["hashtag1","hashtag2"]},{"1345117667":["hashtag1","hashtag2"]},{"1345117619":["hashtag1","hashtag2"]},{"1345117861":["hashtag1","hashtag2"]},{"1345117762":["hashtag1","hashtag2"]},{"1345117959":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345117908, 1345117667, 1345117619, 1345117861, 1345117762, 1345117959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.11215949058533 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:01:02.852037
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_33_4275.jpg', 2), ('/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_29_3260.jpg', 2), ('/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_25_4061.jpg', 2), ('/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_21_4166.jpg', 2), ('/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_17_4210.jpg', 2), ('/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_13_4135.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_33_4275.jpg', '/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_29_3260.jpg', '/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_25_4061.jpg', '/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_21_4166.jpg', '/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_17_4210.jpg', '/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_13_4135.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_33_4275.jpg
/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_29_3260.jpg
/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_25_4061.jpg
/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_21_4166.jpg
/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_17_4210.jpg
/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_13_4135.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345118201","1345118269","1345118233","1345118227","1345118169","1345118241"],"photo_ids_order":["1345118169","1345118201","1345118227","1345118233","1345118241","1345118269"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/98ad1ff41321a2d9634e7110b3531d20.jpg","text":"TemporaryFile(/tmp/multipartBody4109729213136650295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299323389,"filename":"image_18032025_02_24_29_3260.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ce7ebe4a5a0654b4f180e29b036e3a88.jpg","text":"TemporaryFile(/tmp/multipartBody7074934703188316434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299323389,"filename":"image_18032025_02_24_13_4135.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/caefb70b77db6c9b278dab64166513fb.jpg","text":"TemporaryFile(/tmp/multipartBody2401648789762844135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299323389,"filename":"image_18032025_02_24_21_4166.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e4288a5d1e072d207af933dbc4ac39fd.jpg","text":"TemporaryFile(/tmp/multipartBody6135858250854470036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299323389,"filename":"image_18032025_02_24_25_4061.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2c9f8daf917a44d879dfc9a89c1f5260.jpg","text":"TemporaryFile(/tmp/multipartBody4240238296830726208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299323389,"filename":"image_18032025_02_24_33_4275.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/95d3221c09f7ff0374467ca8bdcad639.jpg","text":"TemporaryFile(/tmp/multipartBody5493733230356318453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299323389,"filename":"image_18032025_02_24_17_4210.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345118227","file1":"1345118201","file0":"1345118169","file4":"1345118241","file5":"1345118269","file3":"1345118233"},"map_files_photo_id_array":[{"photo_id":"1345118269","filename":"file5"},{"photo_id":"1345118227","filename":"file2"},{"photo_id":"1345118241","filename":"file4"},{"photo_id":"1345118201","filename":"file1"},{"photo_id":"1345118169","filename":"file0"},{"photo_id":"1345118233","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345118201":["hashtag1","hashtag2"]},{"1345118269":["hashtag1","hashtag2"]},{"1345118233":["hashtag1","hashtag2"]},{"1345118227":["hashtag1","hashtag2"]},{"1345118169":["hashtag1","hashtag2"]},{"1345118241":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345118201, 1345118269, 1345118233, 1345118227, 1345118169, 1345118241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.262815952301025 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:02:03.131437
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_09_3971.jpg', 2), ('/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_05_3336.jpg', 2), ('/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_02_4128.jpg', 2), ('/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_57_4105.jpg', 2), ('/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_53_4103.jpg', 2), ('/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_49_4055.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_09_3971.jpg', '/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_05_3336.jpg', '/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_02_4128.jpg', '/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_57_4105.jpg', '/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_53_4103.jpg', '/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_49_4055.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_09_3971.jpg
/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_05_3336.jpg
/home/nano/Desktop/images/18032025/02/24/image_18032025_02_24_02_4128.jpg
/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_57_4105.jpg
/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_53_4103.jpg
/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_49_4055.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345118513","1345118411","1345118479","1345118386","1345118446","1345118535"],"photo_ids_order":["1345118386","1345118411","1345118446","1345118479","1345118513","1345118535"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/aa2926dcc301b2e9a487a889b83876e6.jpg","text":"TemporaryFile(/tmp/multipartBody3620983127396530621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299383620,"filename":"image_18032025_02_23_53_4103.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0e8745d4ba0f434befff9bfb739788c7.jpg","text":"TemporaryFile(/tmp/multipartBody8910852619041639041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299383620,"filename":"image_18032025_02_24_05_3336.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/77837501a14073540847383d333cf8c2.jpg","text":"TemporaryFile(/tmp/multipartBody198748765131379588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299383620,"filename":"image_18032025_02_23_57_4105.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/028d763fa74186b2812f7fa4a1a8702f.jpg","text":"TemporaryFile(/tmp/multipartBody6529946646125332307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299383620,"filename":"image_18032025_02_24_09_3971.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/44d492c65b9d00b02e0a6f9ab2e664c6.jpg","text":"TemporaryFile(/tmp/multipartBody2949541326714617972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299383620,"filename":"image_18032025_02_24_02_4128.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/79f201b4e9b302f3b31853fe7810ae54.jpg","text":"TemporaryFile(/tmp/multipartBody1770022761120783925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299383620,"filename":"image_18032025_02_23_49_4055.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345118446","file1":"1345118411","file0":"1345118386","file4":"1345118513","file5":"1345118535","file3":"1345118479"},"map_files_photo_id_array":[{"photo_id":"1345118535","filename":"file5"},{"photo_id":"1345118446","filename":"file2"},{"photo_id":"1345118513","filename":"file4"},{"photo_id":"1345118411","filename":"file1"},{"photo_id":"1345118386","filename":"file0"},{"photo_id":"1345118479","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345118513":["hashtag1","hashtag2"]},{"1345118411":["hashtag1","hashtag2"]},{"1345118479":["hashtag1","hashtag2"]},{"1345118386":["hashtag1","hashtag2"]},{"1345118446":["hashtag1","hashtag2"]},{"1345118535":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345118513, 1345118411, 1345118479, 1345118386, 1345118446, 1345118535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.69223690032959 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:03:03.236376
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_45_4053.jpg', 2), ('/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_41_4239.jpg', 2), ('/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_37_4049.jpg', 2), ('/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_33_3217.jpg', 2), ('/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_30_4013.jpg', 2), ('/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_26_4023.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_45_4053.jpg', '/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_41_4239.jpg', '/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_37_4049.jpg', '/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_33_3217.jpg', '/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_30_4013.jpg', '/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_26_4023.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_45_4053.jpg
/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_41_4239.jpg
/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_37_4049.jpg
/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_33_3217.jpg
/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_30_4013.jpg
/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_26_4023.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345119095","1345119089","1345119080","1345119056","1345119091","1345119085"],"photo_ids_order":["1345119056","1345119080","1345119085","1345119089","1345119091","1345119095"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/eb0f2d801132529f0e0698d61bd512ef.jpg","text":"TemporaryFile(/tmp/multipartBody419622197720824374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299443730,"filename":"image_18032025_02_23_26_4023.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/50c8b8f37571d0f77477aee2bbc73249.jpg","text":"TemporaryFile(/tmp/multipartBody7080079699769627086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299443730,"filename":"image_18032025_02_23_33_3217.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e817bff60bdb7a7be26566305b43e3a0.jpg","text":"TemporaryFile(/tmp/multipartBody3593342789755428764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299443730,"filename":"image_18032025_02_23_41_4239.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5abf4ae88723d0e96725f157b19f4b91.jpg","text":"TemporaryFile(/tmp/multipartBody5877204214185489609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299443730,"filename":"image_18032025_02_23_45_4053.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/743d74e7c562d96c939e40e363b35150.jpg","text":"TemporaryFile(/tmp/multipartBody881019412743210528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299443730,"filename":"image_18032025_02_23_30_4013.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b0eea8f9a1dfae29e77e0364e5c94c8c.jpg","text":"TemporaryFile(/tmp/multipartBody7913996927251550550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299443730,"filename":"image_18032025_02_23_37_4049.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345119085","file1":"1345119080","file0":"1345119056","file4":"1345119091","file5":"1345119095","file3":"1345119089"},"map_files_photo_id_array":[{"photo_id":"1345119095","filename":"file5"},{"photo_id":"1345119085","filename":"file2"},{"photo_id":"1345119091","filename":"file4"},{"photo_id":"1345119080","filename":"file1"},{"photo_id":"1345119056","filename":"file0"},{"photo_id":"1345119089","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345119095":["hashtag1","hashtag2"]},{"1345119089":["hashtag1","hashtag2"]},{"1345119080":["hashtag1","hashtag2"]},{"1345119056":["hashtag1","hashtag2"]},{"1345119091":["hashtag1","hashtag2"]},{"1345119085":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345119095, 1345119089, 1345119080, 1345119056, 1345119091, 1345119085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.543890953063965 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:04:03.831417
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_22_4020.jpg', 2), ('/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_18_4822.jpg', 2), ('/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_13_3978.jpg', 2), ('/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_09_4017.jpg', 2), ('/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_05_3161.jpg', 2), ('/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_02_4215.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_22_4020.jpg', '/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_18_4822.jpg', '/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_13_3978.jpg', '/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_09_4017.jpg', '/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_05_3161.jpg', '/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_02_4215.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_22_4020.jpg
/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_18_4822.jpg
/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_13_3978.jpg
/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_09_4017.jpg
/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_05_3161.jpg
/home/nano/Desktop/images/18032025/02/23/image_18032025_02_23_02_4215.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345119877","1345119787","1345119949","1345119657","1345119702","1345119618"],"photo_ids_order":["1345119618","1345119657","1345119702","1345119787","1345119877","1345119949"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b9312f35c0c6f8d9c200ba195d753d0b.jpg","text":"TemporaryFile(/tmp/multipartBody5219218275319201444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299504728,"filename":"image_18032025_02_23_05_3161.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ddded6c6f2afbfff94f0afab2ef98b83.jpg","text":"TemporaryFile(/tmp/multipartBody2900289534931602451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299504728,"filename":"image_18032025_02_23_09_4017.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0f7a4c20f70776fd15ee8e5ff6b710fd.jpg","text":"TemporaryFile(/tmp/multipartBody445161341664783402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299504728,"filename":"image_18032025_02_23_02_4215.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1033fa737ddf3d08ea1165d58f2e1323.jpg","text":"TemporaryFile(/tmp/multipartBody7820084840009945583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299504728,"filename":"image_18032025_02_23_18_4822.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7ab97859217b6156d43d9fa71c9b0fc1.jpg","text":"TemporaryFile(/tmp/multipartBody274585520812374051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299504728,"filename":"image_18032025_02_23_13_3978.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5f651a302b3e730a66dcd1be0b7b9fc0.jpg","text":"TemporaryFile(/tmp/multipartBody599957476218255181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299504728,"filename":"image_18032025_02_23_22_4020.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345119702","file1":"1345119657","file0":"1345119618","file4":"1345119877","file5":"1345119949","file3":"1345119787"},"map_files_photo_id_array":[{"photo_id":"1345119949","filename":"file5"},{"photo_id":"1345119702","filename":"file2"},{"photo_id":"1345119877","filename":"file4"},{"photo_id":"1345119657","filename":"file1"},{"photo_id":"1345119618","filename":"file0"},{"photo_id":"1345119787","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345119877":["hashtag1","hashtag2"]},{"1345119787":["hashtag1","hashtag2"]},{"1345119949":["hashtag1","hashtag2"]},{"1345119657":["hashtag1","hashtag2"]},{"1345119702":["hashtag1","hashtag2"]},{"1345119618":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345119877, 1345119787, 1345119949, 1345119657, 1345119702, 1345119618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.30316972732544 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:05:03.512160
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_57_4202.jpg', 2), ('/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_53_4300.jpg', 2), ('/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_49_3297.jpg', 2), ('/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_46_4008.jpg', 2), ('/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_42_4314.jpg', 2), ('/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_37_4367.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_57_4202.jpg', '/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_53_4300.jpg', '/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_49_3297.jpg', '/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_46_4008.jpg', '/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_42_4314.jpg', '/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_37_4367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_57_4202.jpg
/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_53_4300.jpg
/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_49_3297.jpg
/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_46_4008.jpg
/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_42_4314.jpg
/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_37_4367.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345120806","1345120385","1345120602","1345120766","1345120680","1345120506"],"photo_ids_order":["1345120385","1345120506","1345120602","1345120680","1345120766","1345120806"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9bc48e868ec825d1a56a343627008881.jpg","text":"TemporaryFile(/tmp/multipartBody8922224308638069093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299564078,"filename":"image_18032025_02_22_37_4367.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b4bb66226de43c8381fdd0c3214de5cd.jpg","text":"TemporaryFile(/tmp/multipartBody7442246101204246553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299564078,"filename":"image_18032025_02_22_57_4202.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/714cd301ec271cba6acdce19ee42ba76.jpg","text":"TemporaryFile(/tmp/multipartBody4792143963987377103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299564078,"filename":"image_18032025_02_22_49_3297.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/da3b85149dac9b9f31faf9a83a322ea3.jpg","text":"TemporaryFile(/tmp/multipartBody1349964465709629031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299564078,"filename":"image_18032025_02_22_42_4314.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4806b7c982b1c9123300801e4be2114c.jpg","text":"TemporaryFile(/tmp/multipartBody2732325208963255458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299564078,"filename":"image_18032025_02_22_46_4008.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8460551aee9585109722ac00d41cade9.jpg","text":"TemporaryFile(/tmp/multipartBody4717536725567622400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299564078,"filename":"image_18032025_02_22_53_4300.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345120602","file1":"1345120506","file0":"1345120385","file4":"1345120766","file5":"1345120806","file3":"1345120680"},"map_files_photo_id_array":[{"photo_id":"1345120806","filename":"file5"},{"photo_id":"1345120602","filename":"file2"},{"photo_id":"1345120766","filename":"file4"},{"photo_id":"1345120506","filename":"file1"},{"photo_id":"1345120385","filename":"file0"},{"photo_id":"1345120680","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345120806":["hashtag1","hashtag2"]},{"1345120385":["hashtag1","hashtag2"]},{"1345120602":["hashtag1","hashtag2"]},{"1345120766":["hashtag1","hashtag2"]},{"1345120680":["hashtag1","hashtag2"]},{"1345120506":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345120806, 1345120385, 1345120602, 1345120766, 1345120680, 1345120506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.51650595664978 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:06:02.801957
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_33_3333.jpg', 2), ('/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_30_4206.jpg', 2), ('/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_25_4118.jpg', 2), ('/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_21_4000.jpg', 2), ('/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_17_4208.jpg', 2), ('/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_13_4197.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_33_3333.jpg', '/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_30_4206.jpg', '/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_25_4118.jpg', '/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_21_4000.jpg', '/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_17_4208.jpg', '/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_13_4197.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_33_3333.jpg
/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_30_4206.jpg
/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_25_4118.jpg
/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_21_4000.jpg
/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_17_4208.jpg
/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_13_4197.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345121255","1345121405","1345121457","1345121358","1345121232","1345121297"],"photo_ids_order":["1345121232","1345121255","1345121297","1345121358","1345121405","1345121457"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8f4ff265f75bf5b4cc15f98420767f6e.jpg","text":"TemporaryFile(/tmp/multipartBody7674380747454529339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299623297,"filename":"image_18032025_02_22_30_4206.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/af38c5c7ad34694d087f06b5f8dd309b.jpg","text":"TemporaryFile(/tmp/multipartBody8052927851876878459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299623297,"filename":"image_18032025_02_22_17_4208.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d67e227f5f8bd2aa4ad6e657dfe1a3fa.jpg","text":"TemporaryFile(/tmp/multipartBody5187823794602562265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299623297,"filename":"image_18032025_02_22_13_4197.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/366e77080f764eec26d28d18321c4b06.jpg","text":"TemporaryFile(/tmp/multipartBody8979926829379430697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299623297,"filename":"image_18032025_02_22_21_4000.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7dd73c1db75ba9ada36a80a9cbb23847.jpg","text":"TemporaryFile(/tmp/multipartBody7154873436419343626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299623297,"filename":"image_18032025_02_22_33_3333.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/922ea1b64ebb7f7357b646bee533efbd.jpg","text":"TemporaryFile(/tmp/multipartBody6541720689661082237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299623297,"filename":"image_18032025_02_22_25_4118.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345121297","file1":"1345121255","file0":"1345121232","file4":"1345121405","file5":"1345121457","file3":"1345121358"},"map_files_photo_id_array":[{"photo_id":"1345121457","filename":"file5"},{"photo_id":"1345121297","filename":"file2"},{"photo_id":"1345121405","filename":"file4"},{"photo_id":"1345121255","filename":"file1"},{"photo_id":"1345121232","filename":"file0"},{"photo_id":"1345121358","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345121255":["hashtag1","hashtag2"]},{"1345121405":["hashtag1","hashtag2"]},{"1345121457":["hashtag1","hashtag2"]},{"1345121358":["hashtag1","hashtag2"]},{"1345121232":["hashtag1","hashtag2"]},{"1345121297":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345121255, 1345121405, 1345121457, 1345121358, 1345121232, 1345121297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.920500993728638 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:07:03.062600
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_09_3254.jpg', 2), ('/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_06_4575.jpg', 2), ('/home/nano/Desktop/images/18032025/02/21/image_18032025_02_22_01_4266.jpg', 2), ('/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_57_3066.jpg', 2), ('/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_54_4234.jpg', 2), ('/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_49_4269.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_09_3254.jpg', '/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_06_4575.jpg', '/home/nano/Desktop/images/18032025/02/21/image_18032025_02_22_01_4266.jpg', '/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_57_3066.jpg', '/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_54_4234.jpg', '/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_49_4269.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_09_3254.jpg
/home/nano/Desktop/images/18032025/02/22/image_18032025_02_22_06_4575.jpg
/home/nano/Desktop/images/18032025/02/21/image_18032025_02_22_01_4266.jpg
/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_57_3066.jpg
/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_54_4234.jpg
/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_49_4269.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345121879","1345121870","1345121875","1345121854","1345121874","1345121882"],"photo_ids_order":["1345121854","1345121870","1345121874","1345121875","1345121879","1345121882"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/84254f9af677eb835f0a565abd829c73.jpg","text":"TemporaryFile(/tmp/multipartBody4200129065911789440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299683638,"filename":"image_18032025_02_21_54_4234.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/366392eedb1adaafab8d690fd5cddf19.jpg","text":"TemporaryFile(/tmp/multipartBody7490830368132386112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299683638,"filename":"image_18032025_02_22_06_4575.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/da857fea74673ef50769965be35cffbb.jpg","text":"TemporaryFile(/tmp/multipartBody8261358903587536885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299683638,"filename":"image_18032025_02_21_57_3066.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/be3f2efff5802d309b2f2014943c7951.jpg","text":"TemporaryFile(/tmp/multipartBody8252894664400974043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299683638,"filename":"image_18032025_02_22_09_3254.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e2b5f8f86bf6046c194722f782193a9c.jpg","text":"TemporaryFile(/tmp/multipartBody1071811207272627230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299683638,"filename":"image_18032025_02_22_01_4266.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/684b9d0536d9fe0a6947a90d968c1f0c.jpg","text":"TemporaryFile(/tmp/multipartBody7065498376897649466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299683638,"filename":"image_18032025_02_21_49_4269.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345121874","file1":"1345121870","file0":"1345121854","file4":"1345121879","file5":"1345121882","file3":"1345121875"},"map_files_photo_id_array":[{"photo_id":"1345121882","filename":"file5"},{"photo_id":"1345121874","filename":"file2"},{"photo_id":"1345121879","filename":"file4"},{"photo_id":"1345121870","filename":"file1"},{"photo_id":"1345121854","filename":"file0"},{"photo_id":"1345121875","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345121879":["hashtag1","hashtag2"]},{"1345121870":["hashtag1","hashtag2"]},{"1345121875":["hashtag1","hashtag2"]},{"1345121854":["hashtag1","hashtag2"]},{"1345121874":["hashtag1","hashtag2"]},{"1345121882":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345121879, 1345121870, 1345121875, 1345121854, 1345121874, 1345121882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.673975944519043 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:08:03.135717
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_45_4248.jpg', 2), ('/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_41_4217.jpg', 2), ('/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_37_3184.jpg', 2), ('/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_34_4194.jpg', 2), ('/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_29_4197.jpg', 2), ('/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_25_4140.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_45_4248.jpg', '/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_41_4217.jpg', '/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_37_3184.jpg', '/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_34_4194.jpg', '/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_29_4197.jpg', '/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_25_4140.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_45_4248.jpg
/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_41_4217.jpg
/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_37_3184.jpg
/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_34_4194.jpg
/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_29_4197.jpg
/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_25_4140.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345122157","1345122369","1345122204","1345122284","1345122359","1345122338"],"photo_ids_order":["1345122157","1345122204","1345122284","1345122338","1345122359","1345122369"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5f50a16af02493975001001887825e40.jpg","text":"TemporaryFile(/tmp/multipartBody239204056446581102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299743684,"filename":"image_18032025_02_21_45_4248.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3e5a1c3c13e48770a20155ef53cf4c01.jpg","text":"TemporaryFile(/tmp/multipartBody30297993906071297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299743684,"filename":"image_18032025_02_21_25_4140.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/681b4848b0d4dda60f007ab22ce7f7e1.jpg","text":"TemporaryFile(/tmp/multipartBody873012959416174062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299743684,"filename":"image_18032025_02_21_41_4217.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b01bc5e486eae1057eb3b4578b84ced4.jpg","text":"TemporaryFile(/tmp/multipartBody3559220174577319418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299743684,"filename":"image_18032025_02_21_37_3184.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fe257d908653bd54bf90658dcb580d12.jpg","text":"TemporaryFile(/tmp/multipartBody2791912739294739112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299743684,"filename":"image_18032025_02_21_29_4197.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c6e5e769b06bd20a4b04b6db147d5b27.jpg","text":"TemporaryFile(/tmp/multipartBody3355491926076633174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299743684,"filename":"image_18032025_02_21_34_4194.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345122284","file1":"1345122204","file0":"1345122157","file4":"1345122359","file5":"1345122369","file3":"1345122338"},"map_files_photo_id_array":[{"photo_id":"1345122369","filename":"file5"},{"photo_id":"1345122284","filename":"file2"},{"photo_id":"1345122359","filename":"file4"},{"photo_id":"1345122204","filename":"file1"},{"photo_id":"1345122157","filename":"file0"},{"photo_id":"1345122338","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345122157":["hashtag1","hashtag2"]},{"1345122369":["hashtag1","hashtag2"]},{"1345122204":["hashtag1","hashtag2"]},{"1345122284":["hashtag1","hashtag2"]},{"1345122359":["hashtag1","hashtag2"]},{"1345122338":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345122157, 1345122369, 1345122204, 1345122284, 1345122359, 1345122338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.98631834983826 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:09:03.676861
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_21_4265.jpg', 2), ('/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_17_3215.jpg', 2), ('/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_13_4251.jpg', 2), ('/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_09_4213.jpg', 2), ('/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_05_3767.jpg', 2), ('/home/nano/Desktop/images/18032025/02/20/image_18032025_02_21_01_4193.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_21_4265.jpg', '/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_17_3215.jpg', '/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_13_4251.jpg', '/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_09_4213.jpg', '/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_05_3767.jpg', '/home/nano/Desktop/images/18032025/02/20/image_18032025_02_21_01_4193.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_21_4265.jpg
/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_17_3215.jpg
/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_13_4251.jpg
/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_09_4213.jpg
/home/nano/Desktop/images/18032025/02/21/image_18032025_02_21_05_3767.jpg
/home/nano/Desktop/images/18032025/02/20/image_18032025_02_21_01_4193.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345122394","1345122397","1345122403","1345122396","1345122399","1345122398"],"photo_ids_order":["1345122394","1345122396","1345122397","1345122398","1345122399","1345122403"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e1c472aced0cbb3676b6c24b27f09791.jpg","text":"TemporaryFile(/tmp/multipartBody5885130115321802329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299804192,"filename":"image_18032025_02_21_21_4265.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/902884e232cb12e3a7bc637c23b89807.jpg","text":"TemporaryFile(/tmp/multipartBody887199777928015835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299804192,"filename":"image_18032025_02_21_13_4251.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e2f1d86e42c8e614e9d4490e4b839985.jpg","text":"TemporaryFile(/tmp/multipartBody8125747753451620661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299804192,"filename":"image_18032025_02_21_01_4193.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/929a8f9c9bf8e29dab2124a9281b9696.jpg","text":"TemporaryFile(/tmp/multipartBody1257506389887706221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299804192,"filename":"image_18032025_02_21_17_3215.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/745b853daf9dd6a741873405c0da282a.jpg","text":"TemporaryFile(/tmp/multipartBody7266929087860280235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299804192,"filename":"image_18032025_02_21_05_3767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6c93ef07888b1efdfe62b56a8ce80043.jpg","text":"TemporaryFile(/tmp/multipartBody8913144902601247940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299804192,"filename":"image_18032025_02_21_09_4213.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345122397","file1":"1345122396","file0":"1345122394","file4":"1345122399","file5":"1345122403","file3":"1345122398"},"map_files_photo_id_array":[{"photo_id":"1345122403","filename":"file5"},{"photo_id":"1345122397","filename":"file2"},{"photo_id":"1345122399","filename":"file4"},{"photo_id":"1345122396","filename":"file1"},{"photo_id":"1345122394","filename":"file0"},{"photo_id":"1345122398","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345122394":["hashtag1","hashtag2"]},{"1345122397":["hashtag1","hashtag2"]},{"1345122403":["hashtag1","hashtag2"]},{"1345122396":["hashtag1","hashtag2"]},{"1345122399":["hashtag1","hashtag2"]},{"1345122398":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345122394, 1345122397, 1345122403, 1345122396, 1345122399, 1345122398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.43539261817932 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:10:03.461168
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_57_4288.jpg', 2), ('/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_53_3310.jpg', 2), ('/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_49_4301.jpg', 2), ('/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_45_4347.jpg', 2), ('/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_41_3415.jpg', 2), ('/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_37_4266.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_57_4288.jpg', '/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_53_3310.jpg', '/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_49_4301.jpg', '/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_45_4347.jpg', '/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_41_3415.jpg', '/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_37_4266.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_57_4288.jpg
/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_53_3310.jpg
/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_49_4301.jpg
/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_45_4347.jpg
/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_41_3415.jpg
/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_37_4266.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345122472","1345122469","1345122477","1345122471","1345122474","1345122467"],"photo_ids_order":["1345122467","1345122469","1345122471","1345122472","1345122474","1345122477"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fa989594aa66788f5f71363d061d3c56.jpg","text":"TemporaryFile(/tmp/multipartBody8017010372687817574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299864095,"filename":"image_18032025_02_20_45_4347.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f24b3c78f44747f7fe4ec17cd78b6d9e.jpg","text":"TemporaryFile(/tmp/multipartBody8799055015528713277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299864095,"filename":"image_18032025_02_20_53_3310.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7712ac20eaf936e92dd7276e5ed9f202.jpg","text":"TemporaryFile(/tmp/multipartBody7613099712635061837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299864095,"filename":"image_18032025_02_20_37_4266.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4689c10f51112534edc9f1c2504fae0b.jpg","text":"TemporaryFile(/tmp/multipartBody5094647022899572465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299864095,"filename":"image_18032025_02_20_49_4301.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a864f547687c051f6d4dbddcf946f315.jpg","text":"TemporaryFile(/tmp/multipartBody2110589465754829169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299864095,"filename":"image_18032025_02_20_41_3415.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1aac750b891593295af7b2c60a51b5db.jpg","text":"TemporaryFile(/tmp/multipartBody492437727835803633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299864095,"filename":"image_18032025_02_20_57_4288.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345122471","file1":"1345122469","file0":"1345122467","file4":"1345122474","file5":"1345122477","file3":"1345122472"},"map_files_photo_id_array":[{"photo_id":"1345122477","filename":"file5"},{"photo_id":"1345122471","filename":"file2"},{"photo_id":"1345122474","filename":"file4"},{"photo_id":"1345122469","filename":"file1"},{"photo_id":"1345122467","filename":"file0"},{"photo_id":"1345122472","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345122472":["hashtag1","hashtag2"]},{"1345122469":["hashtag1","hashtag2"]},{"1345122477":["hashtag1","hashtag2"]},{"1345122471":["hashtag1","hashtag2"]},{"1345122474":["hashtag1","hashtag2"]},{"1345122467":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345122472, 1345122469, 1345122477, 1345122471, 1345122474, 1345122467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.610005140304565 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:11:02.563703
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_33_4262.jpg', 2), ('/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_29_3259.jpg', 2), ('/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_26_4277.jpg', 2), ('/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_21_4090.jpg', 2), ('/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_17_4054.jpg', 2), ('/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_13_4136.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_33_4262.jpg', '/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_29_3259.jpg', '/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_26_4277.jpg', '/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_21_4090.jpg', '/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_17_4054.jpg', '/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_13_4136.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_33_4262.jpg
/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_29_3259.jpg
/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_26_4277.jpg
/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_21_4090.jpg
/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_17_4054.jpg
/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_13_4136.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345122614","1345122685","1345122721","1345122709","1345122637","1345122659"],"photo_ids_order":["1345122614","1345122637","1345122659","1345122685","1345122709","1345122721"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/703e115365371e14114792f9dabecdc5.jpg","text":"TemporaryFile(/tmp/multipartBody3510148717513098482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299923081,"filename":"image_18032025_02_20_33_4262.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bd2f6e206d1883204de6f67d1093a040.jpg","text":"TemporaryFile(/tmp/multipartBody8498464846667089453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299923081,"filename":"image_18032025_02_20_21_4090.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d88ff2f2472025c3606752291ced8bf4.jpg","text":"TemporaryFile(/tmp/multipartBody6779446797141534724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299923081,"filename":"image_18032025_02_20_13_4136.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a40b1166c50c81157b3816fff0ecc135.jpg","text":"TemporaryFile(/tmp/multipartBody4731934532389773768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299923081,"filename":"image_18032025_02_20_17_4054.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/850161d1280213a7342453ae7234ace9.jpg","text":"TemporaryFile(/tmp/multipartBody6086187429418409787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299923081,"filename":"image_18032025_02_20_29_3259.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7c6e6b2a46d32d3da170224ad4fc70dc.jpg","text":"TemporaryFile(/tmp/multipartBody1976384048931791345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299923081,"filename":"image_18032025_02_20_26_4277.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345122659","file1":"1345122637","file0":"1345122614","file4":"1345122709","file5":"1345122721","file3":"1345122685"},"map_files_photo_id_array":[{"photo_id":"1345122721","filename":"file5"},{"photo_id":"1345122659","filename":"file2"},{"photo_id":"1345122709","filename":"file4"},{"photo_id":"1345122637","filename":"file1"},{"photo_id":"1345122614","filename":"file0"},{"photo_id":"1345122685","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345122614":["hashtag1","hashtag2"]},{"1345122685":["hashtag1","hashtag2"]},{"1345122721":["hashtag1","hashtag2"]},{"1345122709":["hashtag1","hashtag2"]},{"1345122637":["hashtag1","hashtag2"]},{"1345122659":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345122614, 1345122685, 1345122721, 1345122709, 1345122637, 1345122659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.25904059410095 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:12:02.818152
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_09_4127.jpg', 2), ('/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_05_3720.jpg', 2), ('/home/nano/Desktop/images/18032025/02/19/image_18032025_02_20_01_3968.jpg', 2), ('/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_57_4083.jpg', 2), ('/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_53_4057.jpg', 2), ('/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_49_3877.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_09_4127.jpg', '/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_05_3720.jpg', '/home/nano/Desktop/images/18032025/02/19/image_18032025_02_20_01_3968.jpg', '/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_57_4083.jpg', '/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_53_4057.jpg', '/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_49_3877.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_09_4127.jpg
/home/nano/Desktop/images/18032025/02/20/image_18032025_02_20_05_3720.jpg
/home/nano/Desktop/images/18032025/02/19/image_18032025_02_20_01_3968.jpg
/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_57_4083.jpg
/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_53_4057.jpg
/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_49_3877.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345122812","1345122894","1345122900","1345122845","1345122869","1345122902"],"photo_ids_order":["1345122812","1345122845","1345122869","1345122894","1345122900","1345122902"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/509bd8286c960253ba00d51f2c3f960b.jpg","text":"TemporaryFile(/tmp/multipartBody2959556633940569214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299983313,"filename":"image_18032025_02_20_09_4127.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/15c2e98c5b10db4ae6fd36479ed50091.jpg","text":"TemporaryFile(/tmp/multipartBody7671532707899823431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299983313,"filename":"image_18032025_02_19_57_4083.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a098e72d680fff72d4b3dd9781f5268b.jpg","text":"TemporaryFile(/tmp/multipartBody922999056890786329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299983313,"filename":"image_18032025_02_19_53_4057.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/032f0f5c51212893591ab7103c129b82.jpg","text":"TemporaryFile(/tmp/multipartBody7033213676170072998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299983313,"filename":"image_18032025_02_20_05_3720.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0052851bccf8d53cf8b016357ad0b1a9.jpg","text":"TemporaryFile(/tmp/multipartBody2627669931518921446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299983313,"filename":"image_18032025_02_20_01_3968.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3b67c647e518078de3a7602994036f6f.jpg","text":"TemporaryFile(/tmp/multipartBody7303654858995498526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742299983313,"filename":"image_18032025_02_19_49_3877.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345122869","file1":"1345122845","file0":"1345122812","file4":"1345122900","file5":"1345122902","file3":"1345122894"},"map_files_photo_id_array":[{"photo_id":"1345122902","filename":"file5"},{"photo_id":"1345122869","filename":"file2"},{"photo_id":"1345122900","filename":"file4"},{"photo_id":"1345122845","filename":"file1"},{"photo_id":"1345122812","filename":"file0"},{"photo_id":"1345122894","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345122812":["hashtag1","hashtag2"]},{"1345122894":["hashtag1","hashtag2"]},{"1345122900":["hashtag1","hashtag2"]},{"1345122845":["hashtag1","hashtag2"]},{"1345122869":["hashtag1","hashtag2"]},{"1345122902":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345122812, 1345122894, 1345122900, 1345122845, 1345122869, 1345122902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.895774126052856 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:13:03.039846
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_45_4194.jpg', 2), ('/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_41_4044.jpg', 2), ('/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_37_4149.jpg', 2), ('/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_33_4147.jpg', 2), ('/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_29_3138.jpg', 2), ('/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_26_4181.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_45_4194.jpg', '/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_41_4044.jpg', '/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_37_4149.jpg', '/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_33_4147.jpg', '/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_29_3138.jpg', '/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_26_4181.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_45_4194.jpg
/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_41_4044.jpg
/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_37_4149.jpg
/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_33_4147.jpg
/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_29_3138.jpg
/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_26_4181.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345123036","1345122985","1345122979","1345123068","1345122978","1345123011"],"photo_ids_order":["1345122978","1345122979","1345122985","1345123011","1345123036","1345123068"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/06ede9063fd05e4d0a165436c06ff38c.jpg","text":"TemporaryFile(/tmp/multipartBody6196231161356751699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300043565,"filename":"image_18032025_02_19_29_3138.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/13a5d8dc573ac4ca5574dcada6bea3c4.jpg","text":"TemporaryFile(/tmp/multipartBody4129197265852271118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300043565,"filename":"image_18032025_02_19_37_4149.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c7a25ecf1d2444b39087feb6fa1c9092.jpg","text":"TemporaryFile(/tmp/multipartBody8149687507289198809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300043565,"filename":"image_18032025_02_19_41_4044.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5fb0ca8c4d60d35bf4cbc69223b7a085.jpg","text":"TemporaryFile(/tmp/multipartBody2276659108180608011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300043565,"filename":"image_18032025_02_19_26_4181.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/de441b5d6c598e4c11b305f5d81684a6.jpg","text":"TemporaryFile(/tmp/multipartBody7995727948646213218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300043565,"filename":"image_18032025_02_19_45_4194.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7e66a0201cab95cf437c1775cf876866.jpg","text":"TemporaryFile(/tmp/multipartBody5928992969198369182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300043565,"filename":"image_18032025_02_19_33_4147.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345122985","file1":"1345122979","file0":"1345122978","file4":"1345123036","file5":"1345123068","file3":"1345123011"},"map_files_photo_id_array":[{"photo_id":"1345123068","filename":"file5"},{"photo_id":"1345122985","filename":"file2"},{"photo_id":"1345123036","filename":"file4"},{"photo_id":"1345122979","filename":"file1"},{"photo_id":"1345122978","filename":"file0"},{"photo_id":"1345123011","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345123036":["hashtag1","hashtag2"]},{"1345122985":["hashtag1","hashtag2"]},{"1345122979":["hashtag1","hashtag2"]},{"1345123068":["hashtag1","hashtag2"]},{"1345122978":["hashtag1","hashtag2"]},{"1345123011":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345123036, 1345122985, 1345122979, 1345123068, 1345122978, 1345123011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.95415735244751 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:14:03.569052
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_21_4062.jpg', 2), ('/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_17_3990.jpg', 2), ('/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_13_4049.jpg', 2), ('/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_09_4009.jpg', 2), ('/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_05_4394.jpg', 2), ('/home/nano/Desktop/images/18032025/02/18/image_18032025_02_19_01_3860.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_21_4062.jpg', '/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_17_3990.jpg', '/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_13_4049.jpg', '/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_09_4009.jpg', '/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_05_4394.jpg', '/home/nano/Desktop/images/18032025/02/18/image_18032025_02_19_01_3860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_21_4062.jpg
/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_17_3990.jpg
/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_13_4049.jpg
/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_09_4009.jpg
/home/nano/Desktop/images/18032025/02/19/image_18032025_02_19_05_4394.jpg
/home/nano/Desktop/images/18032025/02/18/image_18032025_02_19_01_3860.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345123377","1345123425","1345123475","1345123451","1345123498","1345123399"],"photo_ids_order":["1345123377","1345123399","1345123425","1345123451","1345123475","1345123498"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cf156f1c4cbbe71c8289297a40d17626.jpg","text":"TemporaryFile(/tmp/multipartBody7307711311467580967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300104120,"filename":"image_18032025_02_19_21_4062.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/166b1bf75819f565a650cfd9d434cdc3.jpg","text":"TemporaryFile(/tmp/multipartBody3134649571293635113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300104120,"filename":"image_18032025_02_19_13_4049.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a7802818c757bb1f2aa8e8b3adfb16eb.jpg","text":"TemporaryFile(/tmp/multipartBody7373635415571645769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300104120,"filename":"image_18032025_02_19_05_4394.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5c4582ec75765806947621a53ea7e0c1.jpg","text":"TemporaryFile(/tmp/multipartBody3069368964824578150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300104120,"filename":"image_18032025_02_19_09_4009.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3dd6f16a08ca512be1530a5a6dccc72a.jpg","text":"TemporaryFile(/tmp/multipartBody711313649872086715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300104120,"filename":"image_18032025_02_19_01_3860.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a6ee72fee8945c61398be3f4694f001d.jpg","text":"TemporaryFile(/tmp/multipartBody7071616918718552540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300104120,"filename":"image_18032025_02_19_17_3990.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345123425","file1":"1345123399","file0":"1345123377","file4":"1345123475","file5":"1345123498","file3":"1345123451"},"map_files_photo_id_array":[{"photo_id":"1345123498","filename":"file5"},{"photo_id":"1345123425","filename":"file2"},{"photo_id":"1345123475","filename":"file4"},{"photo_id":"1345123399","filename":"file1"},{"photo_id":"1345123377","filename":"file0"},{"photo_id":"1345123451","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345123377":["hashtag1","hashtag2"]},{"1345123425":["hashtag1","hashtag2"]},{"1345123475":["hashtag1","hashtag2"]},{"1345123451":["hashtag1","hashtag2"]},{"1345123498":["hashtag1","hashtag2"]},{"1345123399":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345123377, 1345123425, 1345123475, 1345123451, 1345123498, 1345123399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.1973934173584 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:15:03.503252
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_57_4089.jpg', 2), ('/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_53_4034.jpg', 2), ('/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_49_3955.jpg', 2), ('/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_45_4052.jpg', 2), ('/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_41_3258.jpg', 2), ('/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_38_4315.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_57_4089.jpg', '/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_53_4034.jpg', '/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_49_3955.jpg', '/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_45_4052.jpg', '/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_41_3258.jpg', '/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_38_4315.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_57_4089.jpg
/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_53_4034.jpg
/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_49_3955.jpg
/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_45_4052.jpg
/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_41_3258.jpg
/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_38_4315.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345123767","1345123758","1345123760","1345123754","1345123762","1345123756"],"photo_ids_order":["1345123754","1345123756","1345123758","1345123760","1345123762","1345123767"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f2825262f89173061ab5cfb437c82c5d.jpg","text":"TemporaryFile(/tmp/multipartBody8126699373228576015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300163978,"filename":"image_18032025_02_18_38_4315.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/658af24896bea21cd2b32d0922ef4771.jpg","text":"TemporaryFile(/tmp/multipartBody5528079783646652961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300163978,"filename":"image_18032025_02_18_49_3955.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/400abb19593fc73b68d7383d5e557bb6.jpg","text":"TemporaryFile(/tmp/multipartBody8049483592981070173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300163978,"filename":"image_18032025_02_18_45_4052.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7349bdb720bcb72e758758561aa34fab.jpg","text":"TemporaryFile(/tmp/multipartBody3586630943661390378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300163978,"filename":"image_18032025_02_18_57_4089.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b148ac399343aad155a37d0fb13aa7fe.jpg","text":"TemporaryFile(/tmp/multipartBody8322662394304205955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300163978,"filename":"image_18032025_02_18_41_3258.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c8cfad6f24fab7a2c96f7b802473b4bb.jpg","text":"TemporaryFile(/tmp/multipartBody2571960649882059527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300163978,"filename":"image_18032025_02_18_53_4034.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345123758","file1":"1345123756","file0":"1345123754","file4":"1345123762","file5":"1345123767","file3":"1345123760"},"map_files_photo_id_array":[{"photo_id":"1345123767","filename":"file5"},{"photo_id":"1345123758","filename":"file2"},{"photo_id":"1345123762","filename":"file4"},{"photo_id":"1345123756","filename":"file1"},{"photo_id":"1345123754","filename":"file0"},{"photo_id":"1345123760","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345123767":["hashtag1","hashtag2"]},{"1345123758":["hashtag1","hashtag2"]},{"1345123760":["hashtag1","hashtag2"]},{"1345123754":["hashtag1","hashtag2"]},{"1345123762":["hashtag1","hashtag2"]},{"1345123756":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345123767, 1345123758, 1345123760, 1345123754, 1345123762, 1345123756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.06127142906189 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:16:02.657078
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_33_4166.jpg', 2), ('/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_29_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_25_4100.jpg', 2), ('/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_21_3194.jpg', 2), ('/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_18_4941.jpg', 2), ('/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_13_3115.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_33_4166.jpg', '/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_29_4146.jpg', '/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_25_4100.jpg', '/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_21_3194.jpg', '/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_18_4941.jpg', '/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_13_3115.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_33_4166.jpg
/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_29_4146.jpg
/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_25_4100.jpg
/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_21_3194.jpg
/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_18_4941.jpg
/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_13_3115.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345123846","1345123818","1345123937","1345123904","1345123873","1345123795"],"photo_ids_order":["1345123795","1345123818","1345123846","1345123873","1345123904","1345123937"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9cad560d3ced1ef81060e792cc51ebab.jpg","text":"TemporaryFile(/tmp/multipartBody923883413262077008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300223197,"filename":"image_18032025_02_18_25_4100.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1c2b54d4f8c703809442a07035dc37b6.jpg","text":"TemporaryFile(/tmp/multipartBody4151398043623755565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300223197,"filename":"image_18032025_02_18_29_4146.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e0f967aa919eb9354113dba2f1fe7588.jpg","text":"TemporaryFile(/tmp/multipartBody2491007588563337139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300223197,"filename":"image_18032025_02_18_13_3115.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/62170f71055f63a1acf09f5198d443d9.jpg","text":"TemporaryFile(/tmp/multipartBody7531816172936466524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300223197,"filename":"image_18032025_02_18_18_4941.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/85e1b348ed6f5490511084426a1ccb45.jpg","text":"TemporaryFile(/tmp/multipartBody1965296233525167390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300223197,"filename":"image_18032025_02_18_21_3194.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e940c1c19b5b5e3d1277dba5b55da793.jpg","text":"TemporaryFile(/tmp/multipartBody7349278740542955417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300223197,"filename":"image_18032025_02_18_33_4166.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345123846","file1":"1345123818","file0":"1345123795","file4":"1345123904","file5":"1345123937","file3":"1345123873"},"map_files_photo_id_array":[{"photo_id":"1345123937","filename":"file5"},{"photo_id":"1345123846","filename":"file2"},{"photo_id":"1345123904","filename":"file4"},{"photo_id":"1345123818","filename":"file1"},{"photo_id":"1345123795","filename":"file0"},{"photo_id":"1345123873","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345123846":["hashtag1","hashtag2"]},{"1345123818":["hashtag1","hashtag2"]},{"1345123937":["hashtag1","hashtag2"]},{"1345123904":["hashtag1","hashtag2"]},{"1345123873":["hashtag1","hashtag2"]},{"1345123795":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345123846, 1345123818, 1345123937, 1345123904, 1345123873, 1345123795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.964240312576294 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:17:02.646278
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_10_4091.jpg', 2), ('/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_06_4651.jpg', 2), ('/home/nano/Desktop/images/18032025/02/17/image_18032025_02_18_01_4065.jpg', 2), ('/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_57_4024.jpg', 2), ('/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_53_4047.jpg', 2), ('/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_49_3974.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_10_4091.jpg', '/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_06_4651.jpg', '/home/nano/Desktop/images/18032025/02/17/image_18032025_02_18_01_4065.jpg', '/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_57_4024.jpg', '/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_53_4047.jpg', '/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_49_3974.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_10_4091.jpg
/home/nano/Desktop/images/18032025/02/18/image_18032025_02_18_06_4651.jpg
/home/nano/Desktop/images/18032025/02/17/image_18032025_02_18_01_4065.jpg
/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_57_4024.jpg
/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_53_4047.jpg
/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_49_3974.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345124172","1345124171","1345124234","1345124177","1345124201","1345124173"],"photo_ids_order":["1345124171","1345124172","1345124173","1345124177","1345124201","1345124234"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/673961bdacd481ea1faf88305d89a2ea.jpg","text":"TemporaryFile(/tmp/multipartBody3711432549274703905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300283161,"filename":"image_18032025_02_18_06_4651.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/80e528e19323773f15fd4361adab23be.jpg","text":"TemporaryFile(/tmp/multipartBody1491569527448205313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300283161,"filename":"image_18032025_02_18_10_4091.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0e34b858e3f9c7191acfdabab5909177.jpg","text":"TemporaryFile(/tmp/multipartBody4166294936807414392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300283161,"filename":"image_18032025_02_17_49_3974.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2f7ff134e31509b8434076f3c86910aa.jpg","text":"TemporaryFile(/tmp/multipartBody4147454348105068171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300283161,"filename":"image_18032025_02_17_57_4024.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/01ac18988dff40e1e9628369a76f5a52.jpg","text":"TemporaryFile(/tmp/multipartBody4037568421504596150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300283161,"filename":"image_18032025_02_17_53_4047.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f51c13ad1c7b0ada78272ee26968868d.jpg","text":"TemporaryFile(/tmp/multipartBody2137886697609427650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300283161,"filename":"image_18032025_02_18_01_4065.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345124173","file1":"1345124172","file0":"1345124171","file4":"1345124201","file5":"1345124234","file3":"1345124177"},"map_files_photo_id_array":[{"photo_id":"1345124234","filename":"file5"},{"photo_id":"1345124173","filename":"file2"},{"photo_id":"1345124201","filename":"file4"},{"photo_id":"1345124172","filename":"file1"},{"photo_id":"1345124171","filename":"file0"},{"photo_id":"1345124177","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345124172":["hashtag1","hashtag2"]},{"1345124171":["hashtag1","hashtag2"]},{"1345124234":["hashtag1","hashtag2"]},{"1345124177":["hashtag1","hashtag2"]},{"1345124201":["hashtag1","hashtag2"]},{"1345124173":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345124172, 1345124171, 1345124234, 1345124177, 1345124201, 1345124173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.157471656799316 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:18:03.128474
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_45_3982.jpg', 2), ('/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_41_3803.jpg', 2), ('/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_37_4115.jpg', 2), ('/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_33_3210.jpg', 2), ('/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_30_4233.jpg', 2), ('/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_25_4190.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_45_3982.jpg', '/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_41_3803.jpg', '/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_37_4115.jpg', '/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_33_3210.jpg', '/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_30_4233.jpg', '/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_25_4190.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_45_3982.jpg
/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_41_3803.jpg
/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_37_4115.jpg
/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_33_3210.jpg
/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_30_4233.jpg
/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_25_4190.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345124292","1345124295","1345124301","1345124294","1345124288","1345124299"],"photo_ids_order":["1345124288","1345124292","1345124294","1345124295","1345124299","1345124301"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5952b6907ac3c0029ab72298e4339ae5.jpg","text":"TemporaryFile(/tmp/multipartBody5686843006107895975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300343663,"filename":"image_18032025_02_17_41_3803.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a805f7923046fc60b3ac00b29c0d7625.jpg","text":"TemporaryFile(/tmp/multipartBody5464122981250647999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300343663,"filename":"image_18032025_02_17_33_3210.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6a67d251347ed6db5e7997c5d3ae0ed6.jpg","text":"TemporaryFile(/tmp/multipartBody1119209691548769977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300343663,"filename":"image_18032025_02_17_25_4190.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/93c10ad7485f0364484ea2c7ea43d231.jpg","text":"TemporaryFile(/tmp/multipartBody4522539923190523918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300343663,"filename":"image_18032025_02_17_37_4115.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4c87ed1f722bf315699df4700f0c40ac.jpg","text":"TemporaryFile(/tmp/multipartBody7422571806562346962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300343663,"filename":"image_18032025_02_17_45_3982.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a25f5962b3b6b640dae2c9f4f831b382.jpg","text":"TemporaryFile(/tmp/multipartBody2484148489975352009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300343663,"filename":"image_18032025_02_17_30_4233.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345124294","file1":"1345124292","file0":"1345124288","file4":"1345124299","file5":"1345124301","file3":"1345124295"},"map_files_photo_id_array":[{"photo_id":"1345124301","filename":"file5"},{"photo_id":"1345124294","filename":"file2"},{"photo_id":"1345124299","filename":"file4"},{"photo_id":"1345124292","filename":"file1"},{"photo_id":"1345124288","filename":"file0"},{"photo_id":"1345124295","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345124292":["hashtag1","hashtag2"]},{"1345124295":["hashtag1","hashtag2"]},{"1345124301":["hashtag1","hashtag2"]},{"1345124294":["hashtag1","hashtag2"]},{"1345124288":["hashtag1","hashtag2"]},{"1345124299":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345124292, 1345124295, 1345124301, 1345124294, 1345124288, 1345124299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.70636177062988 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:19:03.491374
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_21_4002.jpg', 2), ('/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_17_4206.jpg', 2), ('/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_13_4196.jpg', 2), ('/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_09_3171.jpg', 2), ('/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_06_4628.jpg', 2), ('/home/nano/Desktop/images/18032025/02/16/image_18032025_02_17_01_4240.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_21_4002.jpg', '/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_17_4206.jpg', '/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_13_4196.jpg', '/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_09_3171.jpg', '/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_06_4628.jpg', '/home/nano/Desktop/images/18032025/02/16/image_18032025_02_17_01_4240.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_21_4002.jpg
/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_17_4206.jpg
/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_13_4196.jpg
/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_09_3171.jpg
/home/nano/Desktop/images/18032025/02/17/image_18032025_02_17_06_4628.jpg
/home/nano/Desktop/images/18032025/02/16/image_18032025_02_17_01_4240.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345124451","1345124517","1345124588","1345124476","1345124635","1345124551"],"photo_ids_order":["1345124451","1345124476","1345124517","1345124551","1345124588","1345124635"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6d1515ba23429b38213ce0214bcc1df9.jpg","text":"TemporaryFile(/tmp/multipartBody6673435778781881841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300404037,"filename":"image_18032025_02_17_21_4002.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7afe83aa1578055884c920ff76ad982d.jpg","text":"TemporaryFile(/tmp/multipartBody4248356483631999737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300404037,"filename":"image_18032025_02_17_13_4196.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1a09a484edd05188c71e76401566bd5d.jpg","text":"TemporaryFile(/tmp/multipartBody7242208936605559454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300404037,"filename":"image_18032025_02_17_06_4628.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7ff0efbdd07653efc91d49e1b430af91.jpg","text":"TemporaryFile(/tmp/multipartBody6624715423789217880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300404037,"filename":"image_18032025_02_17_17_4206.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f746e8863fe994f2522a74c493b92a4d.jpg","text":"TemporaryFile(/tmp/multipartBody1211729206711073682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300404037,"filename":"image_18032025_02_17_01_4240.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b38144300cc5144d962c97817c2e1158.jpg","text":"TemporaryFile(/tmp/multipartBody7294128031709128593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300404037,"filename":"image_18032025_02_17_09_3171.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345124517","file1":"1345124476","file0":"1345124451","file4":"1345124588","file5":"1345124635","file3":"1345124551"},"map_files_photo_id_array":[{"photo_id":"1345124635","filename":"file5"},{"photo_id":"1345124517","filename":"file2"},{"photo_id":"1345124588","filename":"file4"},{"photo_id":"1345124476","filename":"file1"},{"photo_id":"1345124451","filename":"file0"},{"photo_id":"1345124551","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345124451":["hashtag1","hashtag2"]},{"1345124517":["hashtag1","hashtag2"]},{"1345124588":["hashtag1","hashtag2"]},{"1345124476":["hashtag1","hashtag2"]},{"1345124635":["hashtag1","hashtag2"]},{"1345124551":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345124451, 1345124517, 1345124588, 1345124476, 1345124635, 1345124551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.11067032814026 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:20:03.411672
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_57_3272.jpg', 2), ('/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_54_4342.jpg', 2), ('/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_49_4134.jpg', 2), ('/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_45_3373.jpg', 2), ('/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_42_4443.jpg', 2), ('/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_37_4307.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_57_3272.jpg', '/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_54_4342.jpg', '/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_49_4134.jpg', '/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_45_3373.jpg', '/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_42_4443.jpg', '/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_37_4307.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_57_3272.jpg
/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_54_4342.jpg
/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_49_4134.jpg
/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_45_3373.jpg
/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_42_4443.jpg
/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_37_4307.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345124838","1345124832","1345124835","1345124834","1345124831","1345124833"],"photo_ids_order":["1345124831","1345124832","1345124833","1345124834","1345124835","1345124838"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6df20a2380a54f94abdbe2880e311a3d.jpg","text":"TemporaryFile(/tmp/multipartBody4247689858912425028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300463942,"filename":"image_18032025_02_16_37_4307.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/359b6203969d4de06b3695f9835baad2.jpg","text":"TemporaryFile(/tmp/multipartBody8907718680457198280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300463942,"filename":"image_18032025_02_16_54_4342.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/572b4556a75eedc521e7570076c866df.jpg","text":"TemporaryFile(/tmp/multipartBody3463487451130402782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300463942,"filename":"image_18032025_02_16_42_4443.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c03521bc6ae950edeb84392855bb5190.jpg","text":"TemporaryFile(/tmp/multipartBody2604140885570164622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300463942,"filename":"image_18032025_02_16_45_3373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bc57bbabeaf336fb1a8212087086c51e.jpg","text":"TemporaryFile(/tmp/multipartBody3611865810749163006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300463942,"filename":"image_18032025_02_16_57_3272.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/19afb7356e249fa4e86fdba82f3fc787.jpg","text":"TemporaryFile(/tmp/multipartBody7196998128805509224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300463942,"filename":"image_18032025_02_16_49_4134.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345124833","file1":"1345124832","file0":"1345124831","file4":"1345124835","file5":"1345124838","file3":"1345124834"},"map_files_photo_id_array":[{"photo_id":"1345124838","filename":"file5"},{"photo_id":"1345124833","filename":"file2"},{"photo_id":"1345124835","filename":"file4"},{"photo_id":"1345124832","filename":"file1"},{"photo_id":"1345124831","filename":"file0"},{"photo_id":"1345124834","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345124838":["hashtag1","hashtag2"]},{"1345124832":["hashtag1","hashtag2"]},{"1345124835":["hashtag1","hashtag2"]},{"1345124834":["hashtag1","hashtag2"]},{"1345124831":["hashtag1","hashtag2"]},{"1345124833":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345124838, 1345124832, 1345124835, 1345124834, 1345124831, 1345124833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.73599720001221 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:21:02.562546
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_33_4021.jpg', 2), ('/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_29_3250.jpg', 2), ('/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_26_4249.jpg', 2), ('/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_21_4234.jpg', 2), ('/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_17_4148.jpg', 2), ('/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_13_4213.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_33_4021.jpg', '/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_29_3250.jpg', '/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_26_4249.jpg', '/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_21_4234.jpg', '/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_17_4148.jpg', '/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_13_4213.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_33_4021.jpg
/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_29_3250.jpg
/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_26_4249.jpg
/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_21_4234.jpg
/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_17_4148.jpg
/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_13_4213.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345124981","1345124954","1345124915","1345124980","1345124906","1345124983"],"photo_ids_order":["1345124906","1345124915","1345124954","1345124980","1345124981","1345124983"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/78222689a50a3932c3fdc940d838039d.jpg","text":"TemporaryFile(/tmp/multipartBody1870508919384979815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300523086,"filename":"image_18032025_02_16_17_4148.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/58a05f7a54e912d609045cc6dda0f4b0.jpg","text":"TemporaryFile(/tmp/multipartBody1074863449300851007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300523086,"filename":"image_18032025_02_16_26_4249.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/397748655838e3f0884f9d25ebbff255.jpg","text":"TemporaryFile(/tmp/multipartBody7853161698466348087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300523086,"filename":"image_18032025_02_16_29_3250.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f23be06814bb096c4522fbbcc42e3d00.jpg","text":"TemporaryFile(/tmp/multipartBody6084382297359104800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300523086,"filename":"image_18032025_02_16_21_4234.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/46fd5c0c6a5d14b99ca31ebf864f89a4.jpg","text":"TemporaryFile(/tmp/multipartBody4066645698827903266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300523086,"filename":"image_18032025_02_16_33_4021.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1a4cb82ef50d81d6af950a284dccb9be.jpg","text":"TemporaryFile(/tmp/multipartBody8162065037370460579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300523086,"filename":"image_18032025_02_16_13_4213.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345124954","file1":"1345124915","file0":"1345124906","file4":"1345124981","file5":"1345124983","file3":"1345124980"},"map_files_photo_id_array":[{"photo_id":"1345124983","filename":"file5"},{"photo_id":"1345124954","filename":"file2"},{"photo_id":"1345124981","filename":"file4"},{"photo_id":"1345124915","filename":"file1"},{"photo_id":"1345124906","filename":"file0"},{"photo_id":"1345124980","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345124981":["hashtag1","hashtag2"]},{"1345124954":["hashtag1","hashtag2"]},{"1345124915":["hashtag1","hashtag2"]},{"1345124980":["hashtag1","hashtag2"]},{"1345124906":["hashtag1","hashtag2"]},{"1345124983":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345124981, 1345124954, 1345124915, 1345124980, 1345124906, 1345124983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.98130750656128 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:22:02.950426
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_09_3126.jpg', 2), ('/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_06_4504.jpg', 2), ('/home/nano/Desktop/images/18032025/02/15/image_18032025_02_16_01_4111.jpg', 2), ('/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_57_4116.jpg', 2), ('/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_53_4061.jpg', 2), ('/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_49_3301.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_09_3126.jpg', '/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_06_4504.jpg', '/home/nano/Desktop/images/18032025/02/15/image_18032025_02_16_01_4111.jpg', '/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_57_4116.jpg', '/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_53_4061.jpg', '/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_49_3301.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_09_3126.jpg
/home/nano/Desktop/images/18032025/02/16/image_18032025_02_16_06_4504.jpg
/home/nano/Desktop/images/18032025/02/15/image_18032025_02_16_01_4111.jpg
/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_57_4116.jpg
/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_53_4061.jpg
/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_49_3301.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345125051","1345125059","1345125053","1345125052","1345125055","1345125054"],"photo_ids_order":["1345125051","1345125052","1345125053","1345125054","1345125055","1345125059"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/571f21b91ab97f5990f89b7d943895b3.jpg","text":"TemporaryFile(/tmp/multipartBody5497174141125547833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300583479,"filename":"image_18032025_02_16_09_3126.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fe2d3e396986c04bd9232c2b52a4da50.jpg","text":"TemporaryFile(/tmp/multipartBody2558386495117208050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300583479,"filename":"image_18032025_02_15_49_3301.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/59b0e3fce19d36ccaf33b3d15d867d53.jpg","text":"TemporaryFile(/tmp/multipartBody8177345023680479504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300583479,"filename":"image_18032025_02_16_01_4111.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3e6fc8a25b243d0765bc93575ca17031.jpg","text":"TemporaryFile(/tmp/multipartBody1235556346179459289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300583479,"filename":"image_18032025_02_16_06_4504.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/916ae9b7f142939680e5efdbd77a300e.jpg","text":"TemporaryFile(/tmp/multipartBody5178895949966650658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300583479,"filename":"image_18032025_02_15_53_4061.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bf0f1f76f67454d086618ce531972601.jpg","text":"TemporaryFile(/tmp/multipartBody4572404750092371317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300583479,"filename":"image_18032025_02_15_57_4116.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345125053","file1":"1345125052","file0":"1345125051","file4":"1345125055","file5":"1345125059","file3":"1345125054"},"map_files_photo_id_array":[{"photo_id":"1345125059","filename":"file5"},{"photo_id":"1345125053","filename":"file2"},{"photo_id":"1345125055","filename":"file4"},{"photo_id":"1345125052","filename":"file1"},{"photo_id":"1345125051","filename":"file0"},{"photo_id":"1345125054","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345125051":["hashtag1","hashtag2"]},{"1345125059":["hashtag1","hashtag2"]},{"1345125053":["hashtag1","hashtag2"]},{"1345125052":["hashtag1","hashtag2"]},{"1345125055":["hashtag1","hashtag2"]},{"1345125054":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345125051, 1345125059, 1345125053, 1345125052, 1345125055, 1345125054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.62486529350281 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:23:02.999821
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_46_4028.jpg', 2), ('/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_42_4032.jpg', 2), ('/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_38_4055.jpg', 2), ('/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_33_4016.jpg', 2), ('/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_29_3984.jpg', 2), ('/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_25_3921.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_46_4028.jpg', '/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_42_4032.jpg', '/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_38_4055.jpg', '/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_33_4016.jpg', '/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_29_3984.jpg', '/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_25_3921.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_46_4028.jpg
/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_42_4032.jpg
/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_38_4055.jpg
/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_33_4016.jpg
/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_29_3984.jpg
/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_25_3921.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345125095","1345125098","1345125097","1345125091","1345125100","1345125093"],"photo_ids_order":["1345125091","1345125093","1345125095","1345125097","1345125098","1345125100"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9eb23aefc9cccc367a3782ccd15d26ad.jpg","text":"TemporaryFile(/tmp/multipartBody6575335412745679214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300643551,"filename":"image_18032025_02_15_38_4055.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/07e34e4ffbfd7870dbfea5c83b7a1828.jpg","text":"TemporaryFile(/tmp/multipartBody5759365307244004893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300643551,"filename":"image_18032025_02_15_29_3984.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c4afa294c225f1e2359ea63a710a49d5.jpg","text":"TemporaryFile(/tmp/multipartBody609163615282083661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300643551,"filename":"image_18032025_02_15_33_4016.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/89298e2ea3e38200e324ad58622af055.jpg","text":"TemporaryFile(/tmp/multipartBody8174742469344355940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300643551,"filename":"image_18032025_02_15_46_4028.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/822fc808dade63cc6af07890d2728182.jpg","text":"TemporaryFile(/tmp/multipartBody9088813518209074816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300643551,"filename":"image_18032025_02_15_25_3921.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4fbf5ce59c15d919566cbbbb24caff33.jpg","text":"TemporaryFile(/tmp/multipartBody113913380028596461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300643551,"filename":"image_18032025_02_15_42_4032.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345125095","file1":"1345125093","file0":"1345125091","file4":"1345125098","file5":"1345125100","file3":"1345125097"},"map_files_photo_id_array":[{"photo_id":"1345125100","filename":"file5"},{"photo_id":"1345125095","filename":"file2"},{"photo_id":"1345125098","filename":"file4"},{"photo_id":"1345125093","filename":"file1"},{"photo_id":"1345125091","filename":"file0"},{"photo_id":"1345125097","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345125095":["hashtag1","hashtag2"]},{"1345125098":["hashtag1","hashtag2"]},{"1345125097":["hashtag1","hashtag2"]},{"1345125091":["hashtag1","hashtag2"]},{"1345125100":["hashtag1","hashtag2"]},{"1345125093":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345125095, 1345125098, 1345125097, 1345125091, 1345125100, 1345125093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.718486547470093 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:24:03.302122
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_22_4115.jpg', 2), ('/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_17_3995.jpg', 2), ('/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_13_4190.jpg', 2), ('/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_09_4219.jpg', 2), ('/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_05_3713.jpg', 2), ('/home/nano/Desktop/images/18032025/02/14/image_18032025_02_15_01_4344.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_22_4115.jpg', '/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_17_3995.jpg', '/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_13_4190.jpg', '/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_09_4219.jpg', '/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_05_3713.jpg', '/home/nano/Desktop/images/18032025/02/14/image_18032025_02_15_01_4344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_22_4115.jpg
/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_17_3995.jpg
/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_13_4190.jpg
/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_09_4219.jpg
/home/nano/Desktop/images/18032025/02/15/image_18032025_02_15_05_3713.jpg
/home/nano/Desktop/images/18032025/02/14/image_18032025_02_15_01_4344.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345125132","1345125146","1345125128","1345125142","1345125139","1345125136"],"photo_ids_order":["1345125128","1345125132","1345125136","1345125139","1345125142","1345125146"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8f9e0c811f45c572fa5d644e2424e3f5.jpg","text":"TemporaryFile(/tmp/multipartBody5742148057291689620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300703856,"filename":"image_18032025_02_15_17_3995.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3334936a9e0b73b2d94107cedc833754.jpg","text":"TemporaryFile(/tmp/multipartBody2522909318170319375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300703856,"filename":"image_18032025_02_15_01_4344.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/08d3c2efba266350baa5f4335d7950d0.jpg","text":"TemporaryFile(/tmp/multipartBody9020185379189970869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300703856,"filename":"image_18032025_02_15_22_4115.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2e18fb5280779edd071a2845b6c3c886.jpg","text":"TemporaryFile(/tmp/multipartBody7911177626618831929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300703856,"filename":"image_18032025_02_15_05_3713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/75818ecdb369dfea18e44fc33fcac3d1.jpg","text":"TemporaryFile(/tmp/multipartBody2602454797432243261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300703856,"filename":"image_18032025_02_15_09_4219.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2395a597ab3c70722095f2b6c0c25e69.jpg","text":"TemporaryFile(/tmp/multipartBody5287897470509813580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300703856,"filename":"image_18032025_02_15_13_4190.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345125136","file1":"1345125132","file0":"1345125128","file4":"1345125142","file5":"1345125146","file3":"1345125139"},"map_files_photo_id_array":[{"photo_id":"1345125146","filename":"file5"},{"photo_id":"1345125136","filename":"file2"},{"photo_id":"1345125142","filename":"file4"},{"photo_id":"1345125132","filename":"file1"},{"photo_id":"1345125128","filename":"file0"},{"photo_id":"1345125139","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345125132":["hashtag1","hashtag2"]},{"1345125146":["hashtag1","hashtag2"]},{"1345125128":["hashtag1","hashtag2"]},{"1345125142":["hashtag1","hashtag2"]},{"1345125139":["hashtag1","hashtag2"]},{"1345125136":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345125132, 1345125146, 1345125128, 1345125142, 1345125139, 1345125136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.12646985054016 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:25:03.320185
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_57_3322.jpg', 2), ('/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_54_4329.jpg', 2), ('/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_49_4261.jpg', 2), ('/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_45_4199.jpg', 2), ('/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_41_3827.jpg', 2), ('/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_37_4196.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_57_3322.jpg', '/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_54_4329.jpg', '/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_49_4261.jpg', '/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_45_4199.jpg', '/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_41_3827.jpg', '/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_37_4196.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_57_3322.jpg
/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_54_4329.jpg
/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_49_4261.jpg
/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_45_4199.jpg
/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_41_3827.jpg
/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_37_4196.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345125191","1345125179","1345125175","1345125183","1345125186","1345125171"],"photo_ids_order":["1345125171","1345125175","1345125179","1345125183","1345125186","1345125191"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9ee0133426e7b253bbcce37134787fd5.jpg","text":"TemporaryFile(/tmp/multipartBody6349185500040999440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300764008,"filename":"image_18032025_02_14_37_4196.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3dd849a15375ca4ee2bf238d8c07d9b8.jpg","text":"TemporaryFile(/tmp/multipartBody4378888871574694175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300764008,"filename":"image_18032025_02_14_49_4261.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5053ed64f7dfb3a625635ac4a4abd18a.jpg","text":"TemporaryFile(/tmp/multipartBody1364790184466572950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300764008,"filename":"image_18032025_02_14_54_4329.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/161e411aee352a69f1ba326d87bce1f2.jpg","text":"TemporaryFile(/tmp/multipartBody8467187824051451366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300764008,"filename":"image_18032025_02_14_45_4199.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/91d1e5041413c1169f06b5cc32d1d7be.jpg","text":"TemporaryFile(/tmp/multipartBody6824214235831507809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300764008,"filename":"image_18032025_02_14_41_3827.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9c5cca5ea009f72a88f9fa10ef6b016e.jpg","text":"TemporaryFile(/tmp/multipartBody8971618044713015817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300764008,"filename":"image_18032025_02_14_57_3322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345125179","file1":"1345125175","file0":"1345125171","file4":"1345125186","file5":"1345125191","file3":"1345125183"},"map_files_photo_id_array":[{"photo_id":"1345125191","filename":"file5"},{"photo_id":"1345125179","filename":"file2"},{"photo_id":"1345125186","filename":"file4"},{"photo_id":"1345125175","filename":"file1"},{"photo_id":"1345125171","filename":"file0"},{"photo_id":"1345125183","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345125191":["hashtag1","hashtag2"]},{"1345125179":["hashtag1","hashtag2"]},{"1345125175":["hashtag1","hashtag2"]},{"1345125183":["hashtag1","hashtag2"]},{"1345125186":["hashtag1","hashtag2"]},{"1345125171":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345125191, 1345125179, 1345125175, 1345125183, 1345125186, 1345125171)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.513603925704956 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:26:02.457392
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_33_3198.jpg', 2), ('/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_30_4003.jpg', 2), ('/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_26_4102.jpg', 2), ('/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_22_4053.jpg', 2), ('/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_17_4156.jpg', 2), ('/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_13_3993.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_33_3198.jpg', '/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_30_4003.jpg', '/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_26_4102.jpg', '/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_22_4053.jpg', '/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_17_4156.jpg', '/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_13_3993.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_33_3198.jpg
/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_30_4003.jpg
/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_26_4102.jpg
/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_22_4053.jpg
/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_17_4156.jpg
/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_13_3993.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345125216","1345125219","1345125207","1345125223","1345125226","1345125211"],"photo_ids_order":["1345125207","1345125211","1345125216","1345125219","1345125223","1345125226"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/100544e29feed26692e94153248f2cc2.jpg","text":"TemporaryFile(/tmp/multipartBody6992741207686385530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300823125,"filename":"image_18032025_02_14_26_4102.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4d38b5daeadfa5c0603bd8130b6134d5.jpg","text":"TemporaryFile(/tmp/multipartBody7845582723202715520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300823125,"filename":"image_18032025_02_14_22_4053.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/aa7c53b20e4b77f1305967fa050adaab.jpg","text":"TemporaryFile(/tmp/multipartBody5241954889244075268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300823125,"filename":"image_18032025_02_14_33_3198.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c1a9b32cbf964256b44702ed59a4d657.jpg","text":"TemporaryFile(/tmp/multipartBody3699562059990655071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300823125,"filename":"image_18032025_02_14_17_4156.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/da0e4ff4f9ec7b577ad0ceff6830afdc.jpg","text":"TemporaryFile(/tmp/multipartBody7171356857792629095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300823125,"filename":"image_18032025_02_14_13_3993.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4a4adb1343a2187f3e37d2e5d638d0f0.jpg","text":"TemporaryFile(/tmp/multipartBody3294169392339287914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300823125,"filename":"image_18032025_02_14_30_4003.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345125216","file1":"1345125211","file0":"1345125207","file4":"1345125223","file5":"1345125226","file3":"1345125219"},"map_files_photo_id_array":[{"photo_id":"1345125226","filename":"file5"},{"photo_id":"1345125216","filename":"file2"},{"photo_id":"1345125223","filename":"file4"},{"photo_id":"1345125211","filename":"file1"},{"photo_id":"1345125207","filename":"file0"},{"photo_id":"1345125219","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345125216":["hashtag1","hashtag2"]},{"1345125219":["hashtag1","hashtag2"]},{"1345125207":["hashtag1","hashtag2"]},{"1345125223":["hashtag1","hashtag2"]},{"1345125226":["hashtag1","hashtag2"]},{"1345125211":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345125216, 1345125219, 1345125207, 1345125223, 1345125226, 1345125211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.0943500995636 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:27:02.481013
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_09_4001.jpg', 2), ('/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_05_4601.jpg', 2), ('/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_01_3128.jpg', 2), ('/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_58_4096.jpg', 2), ('/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_53_4266.jpg', 2), ('/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_49_4196.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_09_4001.jpg', '/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_05_4601.jpg', '/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_01_3128.jpg', '/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_58_4096.jpg', '/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_53_4266.jpg', '/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_49_4196.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_09_4001.jpg
/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_05_4601.jpg
/home/nano/Desktop/images/18032025/02/14/image_18032025_02_14_01_3128.jpg
/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_58_4096.jpg
/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_53_4266.jpg
/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_49_4196.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345125261","1345125254","1345125248","1345125265","1345125244","1345125252"],"photo_ids_order":["1345125244","1345125248","1345125252","1345125254","1345125261","1345125265"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4791ddcd6e5d04dac2b28c28ffb243a2.jpg","text":"TemporaryFile(/tmp/multipartBody4052813616135587887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300883355,"filename":"image_18032025_02_13_53_4266.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6d935d45616a1281305a4ca2243b97a0.jpg","text":"TemporaryFile(/tmp/multipartBody2175560165060076214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300883355,"filename":"image_18032025_02_13_58_4096.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/60042c4551c76d116bbba2051a1d6b61.jpg","text":"TemporaryFile(/tmp/multipartBody7040335356990604703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300883355,"filename":"image_18032025_02_14_05_4601.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9fa3e89617d1115a666fc1ca9f1393c4.jpg","text":"TemporaryFile(/tmp/multipartBody7405963652798505815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300883355,"filename":"image_18032025_02_13_49_4196.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d7a38f1571e0917e1928d52062c56515.jpg","text":"TemporaryFile(/tmp/multipartBody4463691857530859723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300883355,"filename":"image_18032025_02_14_09_4001.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/67855791842ec0ac9171e7e701bb654d.jpg","text":"TemporaryFile(/tmp/multipartBody8801935193598011495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300883355,"filename":"image_18032025_02_14_01_3128.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345125252","file1":"1345125248","file0":"1345125244","file4":"1345125261","file5":"1345125265","file3":"1345125254"},"map_files_photo_id_array":[{"photo_id":"1345125265","filename":"file5"},{"photo_id":"1345125252","filename":"file2"},{"photo_id":"1345125261","filename":"file4"},{"photo_id":"1345125248","filename":"file1"},{"photo_id":"1345125244","filename":"file0"},{"photo_id":"1345125254","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345125261":["hashtag1","hashtag2"]},{"1345125254":["hashtag1","hashtag2"]},{"1345125248":["hashtag1","hashtag2"]},{"1345125265":["hashtag1","hashtag2"]},{"1345125244":["hashtag1","hashtag2"]},{"1345125252":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345125261, 1345125254, 1345125248, 1345125265, 1345125244, 1345125252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.44869685173035 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:28:02.906580
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_45_4137.jpg', 2), ('/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_41_4066.jpg', 2), ('/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_37_3132.jpg', 2), ('/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_34_4187.jpg', 2), ('/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_30_4202.jpg', 2), ('/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_25_4143.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_45_4137.jpg', '/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_41_4066.jpg', '/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_37_3132.jpg', '/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_34_4187.jpg', '/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_30_4202.jpg', '/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_25_4143.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_45_4137.jpg
/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_41_4066.jpg
/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_37_3132.jpg
/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_34_4187.jpg
/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_30_4202.jpg
/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_25_4143.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345125300","1345125296","1345125281","1345125292","1345125283","1345125288"],"photo_ids_order":["1345125281","1345125283","1345125288","1345125292","1345125296","1345125300"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/827b46287257e4383248515aa2f7f1fd.jpg","text":"TemporaryFile(/tmp/multipartBody1994139242209338866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300943554,"filename":"image_18032025_02_13_25_4143.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/913e6f45d92ac78b7f2bb899d8e3179e.jpg","text":"TemporaryFile(/tmp/multipartBody6662817305389032199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300943554,"filename":"image_18032025_02_13_30_4202.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e654b7304376c23aae7e1a9205db7c75.jpg","text":"TemporaryFile(/tmp/multipartBody6858507188700823186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300943554,"filename":"image_18032025_02_13_45_4137.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/246b0b2dae4454b670aca79fea0214e7.jpg","text":"TemporaryFile(/tmp/multipartBody8840298489189324202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300943554,"filename":"image_18032025_02_13_34_4187.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/913366b6c942f791053690334640f094.jpg","text":"TemporaryFile(/tmp/multipartBody8813887253140246082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300943554,"filename":"image_18032025_02_13_41_4066.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/082375f8738329b69697d96219d17b06.jpg","text":"TemporaryFile(/tmp/multipartBody1954154258344504484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742300943554,"filename":"image_18032025_02_13_37_3132.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345125288","file1":"1345125283","file0":"1345125281","file4":"1345125296","file5":"1345125300","file3":"1345125292"},"map_files_photo_id_array":[{"photo_id":"1345125300","filename":"file5"},{"photo_id":"1345125288","filename":"file2"},{"photo_id":"1345125296","filename":"file4"},{"photo_id":"1345125283","filename":"file1"},{"photo_id":"1345125281","filename":"file0"},{"photo_id":"1345125292","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345125300":["hashtag1","hashtag2"]},{"1345125296":["hashtag1","hashtag2"]},{"1345125281":["hashtag1","hashtag2"]},{"1345125292":["hashtag1","hashtag2"]},{"1345125283":["hashtag1","hashtag2"]},{"1345125288":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345125300, 1345125296, 1345125281, 1345125292, 1345125283, 1345125288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.49280285835266 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:29:03.630453
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_21_4165.jpg', 2), ('/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_17_4187.jpg', 2), ('/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_13_3221.jpg', 2), ('/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_10_4164.jpg', 2), ('/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_05_3769.jpg', 2), ('/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_02_4181.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_21_4165.jpg', '/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_17_4187.jpg', '/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_13_3221.jpg', '/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_10_4164.jpg', '/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_05_3769.jpg', '/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_02_4181.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_21_4165.jpg
/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_17_4187.jpg
/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_13_3221.jpg
/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_10_4164.jpg
/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_05_3769.jpg
/home/nano/Desktop/images/18032025/02/13/image_18032025_02_13_02_4181.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345125336","1345125339","1345125332","1345125341","1345125343","1345125345"],"photo_ids_order":["1345125332","1345125336","1345125339","1345125341","1345125343","1345125345"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bc8f98e4f5ccf8228ac97a442c88201f.jpg","text":"TemporaryFile(/tmp/multipartBody7399012406017195287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301004168,"filename":"image_18032025_02_13_17_4187.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7e3af2680323f867b0de48e965c59c23.jpg","text":"TemporaryFile(/tmp/multipartBody1299446314073635703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301004168,"filename":"image_18032025_02_13_13_3221.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7f9092fb4047e67357027362be4cabc4.jpg","text":"TemporaryFile(/tmp/multipartBody4110413126377327545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301004168,"filename":"image_18032025_02_13_21_4165.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d97369e15f9e74017b408d64e374785d.jpg","text":"TemporaryFile(/tmp/multipartBody705854566987138622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301004168,"filename":"image_18032025_02_13_10_4164.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/61ff7d77b030c4276c5c6e3af10fe846.jpg","text":"TemporaryFile(/tmp/multipartBody5336312090192004479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301004168,"filename":"image_18032025_02_13_05_3769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/21875de8a07b7c6cac4e26803bdaba6a.jpg","text":"TemporaryFile(/tmp/multipartBody3927674713147353551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301004168,"filename":"image_18032025_02_13_02_4181.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345125339","file1":"1345125336","file0":"1345125332","file4":"1345125343","file5":"1345125345","file3":"1345125341"},"map_files_photo_id_array":[{"photo_id":"1345125345","filename":"file5"},{"photo_id":"1345125339","filename":"file2"},{"photo_id":"1345125343","filename":"file4"},{"photo_id":"1345125336","filename":"file1"},{"photo_id":"1345125332","filename":"file0"},{"photo_id":"1345125341","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345125336":["hashtag1","hashtag2"]},{"1345125339":["hashtag1","hashtag2"]},{"1345125332":["hashtag1","hashtag2"]},{"1345125341":["hashtag1","hashtag2"]},{"1345125343":["hashtag1","hashtag2"]},{"1345125345":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345125336, 1345125339, 1345125332, 1345125341, 1345125343, 1345125345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.861244678497314 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:30:03.118494
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_57_4181.jpg', 2), ('/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_53_4107.jpg', 2), ('/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_49_4236.jpg', 2), ('/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_45_4244.jpg', 2), ('/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_41_3216.jpg', 2), ('/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_37_4236.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_57_4181.jpg', '/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_53_4107.jpg', '/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_49_4236.jpg', '/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_45_4244.jpg', '/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_41_3216.jpg', '/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_37_4236.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_57_4181.jpg
/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_53_4107.jpg
/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_49_4236.jpg
/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_45_4244.jpg
/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_41_3216.jpg
/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_37_4236.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.4400765895843506 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:30:32.515994
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_57_4181.jpg', 2), ('/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_53_4107.jpg', 2), ('/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_49_4236.jpg', 2), ('/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_45_4244.jpg', 2), ('/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_41_3216.jpg', 2), ('/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_37_4236.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_57_4181.jpg', '/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_53_4107.jpg', '/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_49_4236.jpg', '/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_45_4244.jpg', '/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_41_3216.jpg', '/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_37_4236.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_57_4181.jpg
/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_53_4107.jpg
/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_49_4236.jpg
/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_45_4244.jpg
/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_41_3216.jpg
/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_37_4236.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345125441","1345125429","1345125423","1345125449","1345125434","1345125445"],"photo_ids_order":["1345125423","1345125429","1345125434","1345125441","1345125445","1345125449"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/91ce3bedb4329a00107daaef617c5ff1.jpg","text":"TemporaryFile(/tmp/multipartBody6856540554399593041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301093089,"filename":"image_18032025_02_12_45_4244.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5e053f843679cd04b75a884072f61dfe.jpg","text":"TemporaryFile(/tmp/multipartBody6471529129705164315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301093089,"filename":"image_18032025_02_12_53_4107.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9959f9227230d5833212bbc719eb72c9.jpg","text":"TemporaryFile(/tmp/multipartBody6910905355725907886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301093089,"filename":"image_18032025_02_12_57_4181.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ad15dbbd51352e3260a887d61756affb.jpg","text":"TemporaryFile(/tmp/multipartBody2470385354468267719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301093089,"filename":"image_18032025_02_12_37_4236.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e0be160421f79ea056fb5a31c594478b.jpg","text":"TemporaryFile(/tmp/multipartBody3730520199008981198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301093089,"filename":"image_18032025_02_12_49_4236.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/56b1a93cfb4d1fcb4086d4e2c50eca00.jpg","text":"TemporaryFile(/tmp/multipartBody6195369406639821373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301093089,"filename":"image_18032025_02_12_41_3216.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345125434","file1":"1345125429","file0":"1345125423","file4":"1345125445","file5":"1345125449","file3":"1345125441"},"map_files_photo_id_array":[{"photo_id":"1345125449","filename":"file5"},{"photo_id":"1345125434","filename":"file2"},{"photo_id":"1345125445","filename":"file4"},{"photo_id":"1345125429","filename":"file1"},{"photo_id":"1345125423","filename":"file0"},{"photo_id":"1345125441","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345125441":["hashtag1","hashtag2"]},{"1345125429":["hashtag1","hashtag2"]},{"1345125423":["hashtag1","hashtag2"]},{"1345125449":["hashtag1","hashtag2"]},{"1345125434":["hashtag1","hashtag2"]},{"1345125445":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345125441, 1345125429, 1345125423, 1345125449, 1345125434, 1345125445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.759671211242676 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:31:32.689654
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_33_4270.jpg', 2), ('/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_29_4253.jpg', 2), ('/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_25_3328.jpg', 2), ('/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_21_4296.jpg', 2), ('/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_17_4270.jpg', 2), ('/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_13_3318.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_33_4270.jpg', '/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_29_4253.jpg', '/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_25_3328.jpg', '/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_21_4296.jpg', '/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_17_4270.jpg', '/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_13_3318.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_33_4270.jpg
/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_29_4253.jpg
/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_25_3328.jpg
/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_21_4296.jpg
/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_17_4270.jpg
/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_13_3318.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345125878","1345125716","1345125850","1345125798","1345125742","1345125724"],"photo_ids_order":["1345125716","1345125724","1345125742","1345125798","1345125850","1345125878"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d8230c2ba951525ee55dd5d249a81051.jpg","text":"TemporaryFile(/tmp/multipartBody4235126075160461785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301153215,"filename":"image_18032025_02_12_13_3318.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b6a0cea8c9f0d35be064199be38fed88.jpg","text":"TemporaryFile(/tmp/multipartBody8155650109649504598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301153215,"filename":"image_18032025_02_12_33_4270.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/99c9d341d6f407d0bec4756c202f3a56.jpg","text":"TemporaryFile(/tmp/multipartBody7933488306252714158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301153215,"filename":"image_18032025_02_12_17_4270.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3743eb8e11308f4d8b5654e8914ecf75.jpg","text":"TemporaryFile(/tmp/multipartBody5419077269798505042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301153215,"filename":"image_18032025_02_12_21_4296.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b5ff6bd009c99efad39b6648abaef16f.jpg","text":"TemporaryFile(/tmp/multipartBody9150314769036223213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301153215,"filename":"image_18032025_02_12_25_3328.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b2ffbebcffaaf715b6b3ea894cfa3832.jpg","text":"TemporaryFile(/tmp/multipartBody6313321195501569135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301153215,"filename":"image_18032025_02_12_29_4253.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345125742","file1":"1345125724","file0":"1345125716","file4":"1345125850","file5":"1345125878","file3":"1345125798"},"map_files_photo_id_array":[{"photo_id":"1345125878","filename":"file5"},{"photo_id":"1345125742","filename":"file2"},{"photo_id":"1345125850","filename":"file4"},{"photo_id":"1345125724","filename":"file1"},{"photo_id":"1345125716","filename":"file0"},{"photo_id":"1345125798","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345125878":["hashtag1","hashtag2"]},{"1345125716":["hashtag1","hashtag2"]},{"1345125850":["hashtag1","hashtag2"]},{"1345125798":["hashtag1","hashtag2"]},{"1345125742":["hashtag1","hashtag2"]},{"1345125724":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345125878, 1345125716, 1345125850, 1345125798, 1345125742, 1345125724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.12620234489441 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:32:31.886467
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_10_4054.jpg', 2), ('/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_05_4601.jpg', 2), ('/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_01_3156.jpg', 2), ('/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_58_4098.jpg', 2), ('/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_54_4129.jpg', 2), ('/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_49_4076.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_10_4054.jpg', '/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_05_4601.jpg', '/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_01_3156.jpg', '/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_58_4098.jpg', '/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_54_4129.jpg', '/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_49_4076.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_10_4054.jpg
/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_05_4601.jpg
/home/nano/Desktop/images/18032025/02/12/image_18032025_02_12_01_3156.jpg
/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_58_4098.jpg
/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_54_4129.jpg
/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_49_4076.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345126415","1345126325","1345126477","1345126630","1345126306","1345126557"],"photo_ids_order":["1345126306","1345126325","1345126415","1345126477","1345126557","1345126630"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/338a3d74b9ba428d71ab062c48c9d107.jpg","text":"TemporaryFile(/tmp/multipartBody4605664215430866873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301212403,"filename":"image_18032025_02_12_01_3156.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/69f8f698557b2f02d2568483404703a5.jpg","text":"TemporaryFile(/tmp/multipartBody3781633563300973652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301212403,"filename":"image_18032025_02_12_05_4601.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dfecfa31e1250b29c55eb298a133ea70.jpg","text":"TemporaryFile(/tmp/multipartBody1038307058432793359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301212403,"filename":"image_18032025_02_11_58_4098.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0ce732ebd80db8b6be216fdc3ae9e997.jpg","text":"TemporaryFile(/tmp/multipartBody1992562082685654069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301212403,"filename":"image_18032025_02_11_49_4076.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d0259ef7a137506393cbead57a41b2b3.jpg","text":"TemporaryFile(/tmp/multipartBody4515220919307516974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301212403,"filename":"image_18032025_02_12_10_4054.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9b5f6354a91d558a36f75a128e2bab15.jpg","text":"TemporaryFile(/tmp/multipartBody4700363630985829843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301212403,"filename":"image_18032025_02_11_54_4129.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345126415","file1":"1345126325","file0":"1345126306","file4":"1345126557","file5":"1345126630","file3":"1345126477"},"map_files_photo_id_array":[{"photo_id":"1345126630","filename":"file5"},{"photo_id":"1345126415","filename":"file2"},{"photo_id":"1345126557","filename":"file4"},{"photo_id":"1345126325","filename":"file1"},{"photo_id":"1345126306","filename":"file0"},{"photo_id":"1345126477","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345126415":["hashtag1","hashtag2"]},{"1345126325":["hashtag1","hashtag2"]},{"1345126477":["hashtag1","hashtag2"]},{"1345126630":["hashtag1","hashtag2"]},{"1345126306":["hashtag1","hashtag2"]},{"1345126557":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345126415, 1345126325, 1345126477, 1345126630, 1345126306, 1345126557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.54755115509033 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:33:32.048083
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_45_3870.jpg', 2), ('/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_42_3916.jpg', 2), ('/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_38_3927.jpg', 2), ('/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_34_4130.jpg', 2), ('/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_30_4168.jpg', 2), ('/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_25_4112.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_45_3870.jpg', '/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_42_3916.jpg', '/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_38_3927.jpg', '/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_34_4130.jpg', '/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_30_4168.jpg', '/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_25_4112.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_45_3870.jpg
/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_42_3916.jpg
/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_38_3927.jpg
/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_34_4130.jpg
/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_30_4168.jpg
/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_25_4112.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345127612","1345127600","1345127572","1345127680","1345127673","1345127640"],"photo_ids_order":["1345127572","1345127600","1345127612","1345127640","1345127673","1345127680"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f123d6c7b9f7ef70972b770e411c3b2b.jpg","text":"TemporaryFile(/tmp/multipartBody2845211107548974720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301272512,"filename":"image_18032025_02_11_38_3927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f29a210ef9b5f30ec60915327b1139a8.jpg","text":"TemporaryFile(/tmp/multipartBody388647618781780500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301272512,"filename":"image_18032025_02_11_42_3916.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b71ef25932777797d2851fe2e612151b.jpg","text":"TemporaryFile(/tmp/multipartBody515438848820848241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301272512,"filename":"image_18032025_02_11_45_3870.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d266f833104ca3c2bae5d6ca0340d38f.jpg","text":"TemporaryFile(/tmp/multipartBody6247357566036201537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301272512,"filename":"image_18032025_02_11_25_4112.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/67947c1b9cb5d174eb73b9c8da0f07b6.jpg","text":"TemporaryFile(/tmp/multipartBody1642046065266279125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301272512,"filename":"image_18032025_02_11_30_4168.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b11fbfeaeaf765f42eafbbd8d7458ab2.jpg","text":"TemporaryFile(/tmp/multipartBody7830869672991469996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301272512,"filename":"image_18032025_02_11_34_4130.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345127612","file1":"1345127600","file0":"1345127572","file4":"1345127673","file5":"1345127680","file3":"1345127640"},"map_files_photo_id_array":[{"photo_id":"1345127680","filename":"file5"},{"photo_id":"1345127612","filename":"file2"},{"photo_id":"1345127673","filename":"file4"},{"photo_id":"1345127600","filename":"file1"},{"photo_id":"1345127572","filename":"file0"},{"photo_id":"1345127640","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345127612":["hashtag1","hashtag2"]},{"1345127600":["hashtag1","hashtag2"]},{"1345127572":["hashtag1","hashtag2"]},{"1345127680":["hashtag1","hashtag2"]},{"1345127673":["hashtag1","hashtag2"]},{"1345127640":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345127612, 1345127600, 1345127572, 1345127680, 1345127673, 1345127640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.41501331329346 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:34:32.296668
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_21_4106.jpg', 2), ('/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_17_4109.jpg', 2), ('/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_13_4140.jpg', 2), ('/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_09_4141.jpg', 2), ('/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_05_3571.jpg', 2), ('/home/nano/Desktop/images/18032025/02/10/image_18032025_02_11_01_4086.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_21_4106.jpg', '/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_17_4109.jpg', '/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_13_4140.jpg', '/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_09_4141.jpg', '/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_05_3571.jpg', '/home/nano/Desktop/images/18032025/02/10/image_18032025_02_11_01_4086.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_21_4106.jpg
/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_17_4109.jpg
/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_13_4140.jpg
/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_09_4141.jpg
/home/nano/Desktop/images/18032025/02/11/image_18032025_02_11_05_3571.jpg
/home/nano/Desktop/images/18032025/02/10/image_18032025_02_11_01_4086.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345127846","1345127804","1345127890","1345127941","1345127982","1345128009"],"photo_ids_order":["1345127804","1345127846","1345127890","1345127941","1345127982","1345128009"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/644af7f54482aca78d8697176a5a697d.jpg","text":"TemporaryFile(/tmp/multipartBody2495962699006761685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301332794,"filename":"image_18032025_02_11_17_4109.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5c544c9c0bbc0a5054efbd2b51f16f33.jpg","text":"TemporaryFile(/tmp/multipartBody3583549176702648476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301332794,"filename":"image_18032025_02_11_21_4106.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ba7e48b6e8d7e32c76fca2b65a296fa0.jpg","text":"TemporaryFile(/tmp/multipartBody4036700798981180480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301332794,"filename":"image_18032025_02_11_13_4140.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/53c26abd2a2ffbba5a197477da20ca1d.jpg","text":"TemporaryFile(/tmp/multipartBody790344570138357039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301332794,"filename":"image_18032025_02_11_09_4141.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b4681ced61b4f9b7df245bd7bc0a58e5.jpg","text":"TemporaryFile(/tmp/multipartBody1053232396356356704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301332794,"filename":"image_18032025_02_11_05_3571.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a89ef129a834b2c94934c7d10eb5eb6f.jpg","text":"TemporaryFile(/tmp/multipartBody876406160772686435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301332794,"filename":"image_18032025_02_11_01_4086.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345127890","file1":"1345127846","file0":"1345127804","file4":"1345127982","file5":"1345128009","file3":"1345127941"},"map_files_photo_id_array":[{"photo_id":"1345128009","filename":"file5"},{"photo_id":"1345127890","filename":"file2"},{"photo_id":"1345127982","filename":"file4"},{"photo_id":"1345127846","filename":"file1"},{"photo_id":"1345127804","filename":"file0"},{"photo_id":"1345127941","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345127846":["hashtag1","hashtag2"]},{"1345127804":["hashtag1","hashtag2"]},{"1345127890":["hashtag1","hashtag2"]},{"1345127941":["hashtag1","hashtag2"]},{"1345127982":["hashtag1","hashtag2"]},{"1345128009":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345127846, 1345127804, 1345127890, 1345127941, 1345127982, 1345128009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.491445779800415 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:35:32.453804
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_57_4133.jpg', 2), ('/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_53_4135.jpg', 2), ('/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_49_4100.jpg', 2), ('/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_45_3114.jpg', 2), ('/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_42_4115.jpg', 2), ('/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_38_4078.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_57_4133.jpg', '/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_53_4135.jpg', '/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_49_4100.jpg', '/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_45_3114.jpg', '/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_42_4115.jpg', '/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_38_4078.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_57_4133.jpg
/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_53_4135.jpg
/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_49_4100.jpg
/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_45_3114.jpg
/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_42_4115.jpg
/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_38_4078.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345128460","1345128495","1345128429","1345128560","1345128589","1345128527"],"photo_ids_order":["1345128429","1345128460","1345128495","1345128527","1345128560","1345128589"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/506ad8bff2853e4be129f6969319ba8d.jpg","text":"TemporaryFile(/tmp/multipartBody4107085217660713987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301392969,"filename":"image_18032025_02_10_53_4135.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/aabc968b16b04ed20af2da90c86a532b.jpg","text":"TemporaryFile(/tmp/multipartBody6908431106318963753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301392969,"filename":"image_18032025_02_10_49_4100.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0d8e95acf82774a30f8bbb302ea6c1ba.jpg","text":"TemporaryFile(/tmp/multipartBody5720275655167056076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301392969,"filename":"image_18032025_02_10_57_4133.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8d3e4343720ee08dcd6f05512e74a6e7.jpg","text":"TemporaryFile(/tmp/multipartBody3736977657654802704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301392969,"filename":"image_18032025_02_10_42_4115.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a85715bc24936c839065edda5c743f56.jpg","text":"TemporaryFile(/tmp/multipartBody8294209830969260028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301392969,"filename":"image_18032025_02_10_38_4078.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d592153fdcb810f14d9a0e7394f0c693.jpg","text":"TemporaryFile(/tmp/multipartBody1043543977985887092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301392969,"filename":"image_18032025_02_10_45_3114.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345128495","file1":"1345128460","file0":"1345128429","file4":"1345128560","file5":"1345128589","file3":"1345128527"},"map_files_photo_id_array":[{"photo_id":"1345128589","filename":"file5"},{"photo_id":"1345128495","filename":"file2"},{"photo_id":"1345128560","filename":"file4"},{"photo_id":"1345128460","filename":"file1"},{"photo_id":"1345128429","filename":"file0"},{"photo_id":"1345128527","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345128460":["hashtag1","hashtag2"]},{"1345128495":["hashtag1","hashtag2"]},{"1345128429":["hashtag1","hashtag2"]},{"1345128560":["hashtag1","hashtag2"]},{"1345128589":["hashtag1","hashtag2"]},{"1345128527":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345128460, 1345128495, 1345128429, 1345128560, 1345128589, 1345128527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.604636430740356 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:36:32.608909
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_33_4136.jpg', 2), ('/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_29_4154.jpg', 2), ('/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_25_4142.jpg', 2), ('/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_21_4127.jpg', 2), ('/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_17_3277.jpg', 2), ('/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_14_4378.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_33_4136.jpg', '/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_29_4154.jpg', '/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_25_4142.jpg', '/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_21_4127.jpg', '/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_17_3277.jpg', '/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_14_4378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_33_4136.jpg
/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_29_4154.jpg
/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_25_4142.jpg
/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_21_4127.jpg
/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_17_3277.jpg
/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_14_4378.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345128789","1345128762","1345128735","1345128848","1345128728","1345128722"],"photo_ids_order":["1345128722","1345128728","1345128735","1345128762","1345128789","1345128848"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/afca0728dde76e036a2d90c9db7b49f2.jpg","text":"TemporaryFile(/tmp/multipartBody5123002660565738768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301453163,"filename":"image_18032025_02_10_17_3277.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/20ed32e9943b55dad22f3e76afff002d.jpg","text":"TemporaryFile(/tmp/multipartBody6377051155098482816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301453163,"filename":"image_18032025_02_10_21_4127.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/38d42777ef76b9c09909184cf19adc2a.jpg","text":"TemporaryFile(/tmp/multipartBody991312674085172412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301453163,"filename":"image_18032025_02_10_25_4142.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/307992e70afe010cd9c3ebc7b2e38137.jpg","text":"TemporaryFile(/tmp/multipartBody2502427557039773867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301453163,"filename":"image_18032025_02_10_14_4378.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f88b52023066997935ef03e5b4a8804b.jpg","text":"TemporaryFile(/tmp/multipartBody9084962538680621426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301453163,"filename":"image_18032025_02_10_29_4154.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d9bb858ceccb631d25278adee1bfd90a.jpg","text":"TemporaryFile(/tmp/multipartBody8805603948517907450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301453163,"filename":"image_18032025_02_10_33_4136.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345128735","file1":"1345128728","file0":"1345128722","file4":"1345128789","file5":"1345128848","file3":"1345128762"},"map_files_photo_id_array":[{"photo_id":"1345128848","filename":"file5"},{"photo_id":"1345128735","filename":"file2"},{"photo_id":"1345128789","filename":"file4"},{"photo_id":"1345128728","filename":"file1"},{"photo_id":"1345128722","filename":"file0"},{"photo_id":"1345128762","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345128789":["hashtag1","hashtag2"]},{"1345128762":["hashtag1","hashtag2"]},{"1345128735":["hashtag1","hashtag2"]},{"1345128848":["hashtag1","hashtag2"]},{"1345128728":["hashtag1","hashtag2"]},{"1345128722":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345128789, 1345128762, 1345128735, 1345128848, 1345128728, 1345128722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.80092716217041 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:37:32.746447
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_09_3794.jpg', 2), ('/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_05_4126.jpg', 2), ('/home/nano/Desktop/images/18032025/02/09/image_18032025_02_10_01_4165.jpg', 2), ('/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_57_4134.jpg', 2), ('/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_53_4046.jpg', 2), ('/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_49_4043.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_09_3794.jpg', '/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_05_4126.jpg', '/home/nano/Desktop/images/18032025/02/09/image_18032025_02_10_01_4165.jpg', '/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_57_4134.jpg', '/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_53_4046.jpg', '/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_49_4043.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_09_3794.jpg
/home/nano/Desktop/images/18032025/02/10/image_18032025_02_10_05_4126.jpg
/home/nano/Desktop/images/18032025/02/09/image_18032025_02_10_01_4165.jpg
/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_57_4134.jpg
/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_53_4046.jpg
/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_49_4043.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345129411","1345129435","1345129350","1345129379","1345129280","1345129319"],"photo_ids_order":["1345129280","1345129319","1345129350","1345129379","1345129411","1345129435"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4d84dcf0fad176dbe12d4352f5af5d61.jpg","text":"TemporaryFile(/tmp/multipartBody2884260050058983566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301513214,"filename":"image_18032025_02_09_53_4046.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2c24fdc249a9764a0f202810cc1e3a94.jpg","text":"TemporaryFile(/tmp/multipartBody7386076445718035314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301513214,"filename":"image_18032025_02_09_49_4043.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/96c9dcddbd58e347b3f38782ba16ac9d.jpg","text":"TemporaryFile(/tmp/multipartBody892599973887603155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301513214,"filename":"image_18032025_02_10_01_4165.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ab7fc976ec5ca665a3c2681dc4f09456.jpg","text":"TemporaryFile(/tmp/multipartBody2816886329777599379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301513214,"filename":"image_18032025_02_09_57_4134.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f65f683e3d8677a383c71e0994d83e7c.jpg","text":"TemporaryFile(/tmp/multipartBody508724681301143861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301513214,"filename":"image_18032025_02_10_09_3794.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/863f089772606d7b7ad098787fd01ddc.jpg","text":"TemporaryFile(/tmp/multipartBody8229820581592574886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301513214,"filename":"image_18032025_02_10_05_4126.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345129350","file1":"1345129319","file0":"1345129280","file4":"1345129411","file5":"1345129435","file3":"1345129379"},"map_files_photo_id_array":[{"photo_id":"1345129435","filename":"file5"},{"photo_id":"1345129350","filename":"file2"},{"photo_id":"1345129411","filename":"file4"},{"photo_id":"1345129319","filename":"file1"},{"photo_id":"1345129280","filename":"file0"},{"photo_id":"1345129379","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345129411":["hashtag1","hashtag2"]},{"1345129435":["hashtag1","hashtag2"]},{"1345129350":["hashtag1","hashtag2"]},{"1345129379":["hashtag1","hashtag2"]},{"1345129280":["hashtag1","hashtag2"]},{"1345129319":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345129411, 1345129435, 1345129350, 1345129379, 1345129280, 1345129319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.619937658309937 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:38:31.925219
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_45_4079.jpg', 2), ('/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_41_3148.jpg', 2), ('/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_38_4171.jpg', 2), ('/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_34_4103.jpg', 2), ('/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_29_4096.jpg', 2), ('/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_25_4107.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_45_4079.jpg', '/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_41_3148.jpg', '/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_38_4171.jpg', '/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_34_4103.jpg', '/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_29_4096.jpg', '/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_25_4107.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_45_4079.jpg
/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_41_3148.jpg
/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_38_4171.jpg
/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_34_4103.jpg
/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_29_4096.jpg
/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_25_4107.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345129717","1345129685","1345129727","1345129706","1345129699","1345129693"],"photo_ids_order":["1345129685","1345129693","1345129699","1345129706","1345129717","1345129727"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/68bbc2694bff5148615dcb177fbdc595.jpg","text":"TemporaryFile(/tmp/multipartBody6515455454520557392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301572466,"filename":"image_18032025_02_09_29_4096.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5b3d94f84770492ce74fdac29e5aa0c9.jpg","text":"TemporaryFile(/tmp/multipartBody8354102703953670129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301572466,"filename":"image_18032025_02_09_45_4079.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/44881d77a3130f66d82d55a870509009.jpg","text":"TemporaryFile(/tmp/multipartBody5339483970162634873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301572466,"filename":"image_18032025_02_09_25_4107.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fe838f06fc17c6906781bd3bccc52835.jpg","text":"TemporaryFile(/tmp/multipartBody7572011749498569266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301572466,"filename":"image_18032025_02_09_34_4103.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2cdf0b15dbb7f4f29ccb4f08447c57c6.jpg","text":"TemporaryFile(/tmp/multipartBody731187583088211112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301572466,"filename":"image_18032025_02_09_38_4171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/56888983ccad70f3dbc731a0b69ea754.jpg","text":"TemporaryFile(/tmp/multipartBody8321317033201623709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301572466,"filename":"image_18032025_02_09_41_3148.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345129699","file1":"1345129693","file0":"1345129685","file4":"1345129717","file5":"1345129727","file3":"1345129706"},"map_files_photo_id_array":[{"photo_id":"1345129727","filename":"file5"},{"photo_id":"1345129699","filename":"file2"},{"photo_id":"1345129717","filename":"file4"},{"photo_id":"1345129693","filename":"file1"},{"photo_id":"1345129685","filename":"file0"},{"photo_id":"1345129706","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345129717":["hashtag1","hashtag2"]},{"1345129685":["hashtag1","hashtag2"]},{"1345129727":["hashtag1","hashtag2"]},{"1345129706":["hashtag1","hashtag2"]},{"1345129699":["hashtag1","hashtag2"]},{"1345129693":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345129717, 1345129685, 1345129727, 1345129706, 1345129699, 1345129693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.109411001205444 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:39:32.088051
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_21_4098.jpg', 2), ('/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_17_3994.jpg', 2), ('/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_13_4256.jpg', 2), ('/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_09_3175.jpg', 2), ('/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_06_4695.jpg', 2), ('/home/nano/Desktop/images/18032025/02/08/image_18032025_02_09_01_4122.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_21_4098.jpg', '/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_17_3994.jpg', '/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_13_4256.jpg', '/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_09_3175.jpg', '/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_06_4695.jpg', '/home/nano/Desktop/images/18032025/02/08/image_18032025_02_09_01_4122.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_21_4098.jpg
/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_17_3994.jpg
/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_13_4256.jpg
/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_09_3175.jpg
/home/nano/Desktop/images/18032025/02/09/image_18032025_02_09_06_4695.jpg
/home/nano/Desktop/images/18032025/02/08/image_18032025_02_09_01_4122.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345130080","1345130227","1345130209","1345130160","1345130025","1345129961"],"photo_ids_order":["1345129961","1345130025","1345130080","1345130160","1345130209","1345130227"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1b3f9a4bc7a0c82eb6e43edc0bc111dd.jpg","text":"TemporaryFile(/tmp/multipartBody4683499073517329029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301632615,"filename":"image_18032025_02_09_13_4256.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f3fb467ec0f3a6b002a6c03db7e35cb8.jpg","text":"TemporaryFile(/tmp/multipartBody7394325339511012274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301632615,"filename":"image_18032025_02_09_01_4122.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a30eaf03d2eb9b2bbe91092860449f9d.jpg","text":"TemporaryFile(/tmp/multipartBody5061921242462657457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301632615,"filename":"image_18032025_02_09_06_4695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3b0889b2ea1dd1764d831f618c6a6c7f.jpg","text":"TemporaryFile(/tmp/multipartBody2976240025634289515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301632615,"filename":"image_18032025_02_09_09_3175.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a18b2c7f6e0ccf2a18b45b8a48d2d50b.jpg","text":"TemporaryFile(/tmp/multipartBody2975370258428577194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301632615,"filename":"image_18032025_02_09_17_3994.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/07e1d74ffce6c48b7b086ebfdd30b9c5.jpg","text":"TemporaryFile(/tmp/multipartBody3059213758155133902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301632615,"filename":"image_18032025_02_09_21_4098.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345130080","file1":"1345130025","file0":"1345129961","file4":"1345130209","file5":"1345130227","file3":"1345130160"},"map_files_photo_id_array":[{"photo_id":"1345130227","filename":"file5"},{"photo_id":"1345130080","filename":"file2"},{"photo_id":"1345130209","filename":"file4"},{"photo_id":"1345130025","filename":"file1"},{"photo_id":"1345129961","filename":"file0"},{"photo_id":"1345130160","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345130080":["hashtag1","hashtag2"]},{"1345130227":["hashtag1","hashtag2"]},{"1345130209":["hashtag1","hashtag2"]},{"1345130160":["hashtag1","hashtag2"]},{"1345130025":["hashtag1","hashtag2"]},{"1345129961":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345130080, 1345130227, 1345130209, 1345130160, 1345130025, 1345129961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.87255120277405 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:40:32.259127
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_57_3180.jpg', 2), ('/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_54_3993.jpg', 2), ('/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_50_4223.jpg', 2), ('/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_45_4228.jpg', 2), ('/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_41_4203.jpg', 2), ('/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_37_4238.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_57_3180.jpg', '/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_54_3993.jpg', '/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_50_4223.jpg', '/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_45_4228.jpg', '/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_41_4203.jpg', '/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_37_4238.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_57_3180.jpg
/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_54_3993.jpg
/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_50_4223.jpg
/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_45_4228.jpg
/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_41_4203.jpg
/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_37_4238.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345130557","1345130496","1345130466","1345130562","1345130535","1345130514"],"photo_ids_order":["1345130466","1345130496","1345130514","1345130535","1345130557","1345130562"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fc807bafa2d2ac9ab49f7bb0f59a7343.jpg","text":"TemporaryFile(/tmp/multipartBody1115718398360227225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301692761,"filename":"image_18032025_02_08_41_4203.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bd755d197875bbf40d74f85f4c30d643.jpg","text":"TemporaryFile(/tmp/multipartBody8700990442513763681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301692761,"filename":"image_18032025_02_08_54_3993.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cff8bf222adb805c24eb3961a75e670a.jpg","text":"TemporaryFile(/tmp/multipartBody7726634407412808861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301692761,"filename":"image_18032025_02_08_57_3180.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9d12f9d2e826bfa307c17b98a0efbcf4.jpg","text":"TemporaryFile(/tmp/multipartBody543884332507866661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301692761,"filename":"image_18032025_02_08_37_4238.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/340fcd15153d02c3beac38c01a0e8fe8.jpg","text":"TemporaryFile(/tmp/multipartBody7100071999497005600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301692761,"filename":"image_18032025_02_08_45_4228.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a9986c059f738e8cfee040e858baf294.jpg","text":"TemporaryFile(/tmp/multipartBody7383555832961735679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301692761,"filename":"image_18032025_02_08_50_4223.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345130514","file1":"1345130496","file0":"1345130466","file4":"1345130557","file5":"1345130562","file3":"1345130535"},"map_files_photo_id_array":[{"photo_id":"1345130562","filename":"file5"},{"photo_id":"1345130514","filename":"file2"},{"photo_id":"1345130557","filename":"file4"},{"photo_id":"1345130496","filename":"file1"},{"photo_id":"1345130466","filename":"file0"},{"photo_id":"1345130535","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345130557":["hashtag1","hashtag2"]},{"1345130496":["hashtag1","hashtag2"]},{"1345130466":["hashtag1","hashtag2"]},{"1345130562":["hashtag1","hashtag2"]},{"1345130535":["hashtag1","hashtag2"]},{"1345130514":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345130557, 1345130496, 1345130466, 1345130562, 1345130535, 1345130514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.704758882522583 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:41:32.440150
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_33_3242.jpg', 2), ('/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_30_4256.jpg', 2), ('/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_25_4280.jpg', 2), ('/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_21_4074.jpg', 2), ('/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_17_4183.jpg', 2), ('/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_13_3262.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_33_3242.jpg', '/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_30_4256.jpg', '/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_25_4280.jpg', '/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_21_4074.jpg', '/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_17_4183.jpg', '/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_13_3262.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_33_3242.jpg
/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_30_4256.jpg
/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_25_4280.jpg
/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_21_4074.jpg
/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_17_4183.jpg
/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_13_3262.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345130908","1345130852","1345130864","1345130816","1345130989","1345130782"],"photo_ids_order":["1345130782","1345130816","1345130852","1345130864","1345130908","1345130989"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/661c7e8f570d347164844b43c798b39f.jpg","text":"TemporaryFile(/tmp/multipartBody4941566996056281858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301752948,"filename":"image_18032025_02_08_17_4183.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/653120ff6a67c9d041a153917e553340.jpg","text":"TemporaryFile(/tmp/multipartBody5459831892283740180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301752948,"filename":"image_18032025_02_08_25_4280.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9df3de22806cf01af396f795e10b4a90.jpg","text":"TemporaryFile(/tmp/multipartBody8291918814621523441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301752948,"filename":"image_18032025_02_08_21_4074.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8c742ae4050df740019e9e560f0c4c1a.jpg","text":"TemporaryFile(/tmp/multipartBody599744955913671256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301752948,"filename":"image_18032025_02_08_30_4256.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5f19f39694535dee773c3ff7ceeb32c5.jpg","text":"TemporaryFile(/tmp/multipartBody9149757105864109272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301752948,"filename":"image_18032025_02_08_13_3262.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bc15648ab54910cc66c38e0a10be8694.jpg","text":"TemporaryFile(/tmp/multipartBody2083837988399942041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301752948,"filename":"image_18032025_02_08_33_3242.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345130852","file1":"1345130816","file0":"1345130782","file4":"1345130908","file5":"1345130989","file3":"1345130864"},"map_files_photo_id_array":[{"photo_id":"1345130989","filename":"file5"},{"photo_id":"1345130852","filename":"file2"},{"photo_id":"1345130908","filename":"file4"},{"photo_id":"1345130816","filename":"file1"},{"photo_id":"1345130782","filename":"file0"},{"photo_id":"1345130864","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345130908":["hashtag1","hashtag2"]},{"1345130852":["hashtag1","hashtag2"]},{"1345130864":["hashtag1","hashtag2"]},{"1345130816":["hashtag1","hashtag2"]},{"1345130989":["hashtag1","hashtag2"]},{"1345130782":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345130908, 1345130852, 1345130864, 1345130816, 1345130989, 1345130782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.22610688209534 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:42:32.592810
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_09_4350.jpg', 2), ('/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_05_4199.jpg', 2), ('/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_01_3301.jpg', 2), ('/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_58_4321.jpg', 2), ('/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_53_4314.jpg', 2), ('/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_49_4037.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_09_4350.jpg', '/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_05_4199.jpg', '/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_01_3301.jpg', '/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_58_4321.jpg', '/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_53_4314.jpg', '/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_49_4037.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_09_4350.jpg
/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_05_4199.jpg
/home/nano/Desktop/images/18032025/02/08/image_18032025_02_08_01_3301.jpg
/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_58_4321.jpg
/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_53_4314.jpg
/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_49_4037.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345131375","1345131264","1345131255","1345131318","1345131194","1345131227"],"photo_ids_order":["1345131194","1345131227","1345131255","1345131264","1345131318","1345131375"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7cffd1942c8106ff7645e0980492526c.jpg","text":"TemporaryFile(/tmp/multipartBody8011307151787718598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301813159,"filename":"image_18032025_02_07_49_4037.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ade22fb7317348facbf630b9b67cc4d9.jpg","text":"TemporaryFile(/tmp/multipartBody3500284271368069305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301813159,"filename":"image_18032025_02_07_58_4321.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f9c74561e4ce5fac7bb91434b592b3ad.jpg","text":"TemporaryFile(/tmp/multipartBody3709598820517918133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301813159,"filename":"image_18032025_02_08_01_3301.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/856124f502d19741d4b52defcaf3c822.jpg","text":"TemporaryFile(/tmp/multipartBody5023909590650626911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301813159,"filename":"image_18032025_02_07_53_4314.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/11356cd8ae030bd078c5b7ddb932fef0.jpg","text":"TemporaryFile(/tmp/multipartBody1177263625716839284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301813159,"filename":"image_18032025_02_08_09_4350.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/707bc3583e39c3c204c26741a9204ada.jpg","text":"TemporaryFile(/tmp/multipartBody5509934386967893945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301813159,"filename":"image_18032025_02_08_05_4199.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345131255","file1":"1345131227","file0":"1345131194","file4":"1345131318","file5":"1345131375","file3":"1345131264"},"map_files_photo_id_array":[{"photo_id":"1345131375","filename":"file5"},{"photo_id":"1345131255","filename":"file2"},{"photo_id":"1345131318","filename":"file4"},{"photo_id":"1345131227","filename":"file1"},{"photo_id":"1345131194","filename":"file0"},{"photo_id":"1345131264","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345131375":["hashtag1","hashtag2"]},{"1345131264":["hashtag1","hashtag2"]},{"1345131255":["hashtag1","hashtag2"]},{"1345131318":["hashtag1","hashtag2"]},{"1345131194":["hashtag1","hashtag2"]},{"1345131227":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345131375, 1345131264, 1345131255, 1345131318, 1345131194, 1345131227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.48686480522156 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:43:32.761072
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_45_3359.jpg', 2), ('/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_42_4157.jpg', 2), ('/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_37_4116.jpg', 2), ('/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_33_4135.jpg', 2), ('/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_29_4076.jpg', 2), ('/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_25_4199.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_45_3359.jpg', '/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_42_4157.jpg', '/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_37_4116.jpg', '/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_33_4135.jpg', '/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_29_4076.jpg', '/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_25_4199.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_45_3359.jpg
/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_42_4157.jpg
/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_37_4116.jpg
/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_33_4135.jpg
/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_29_4076.jpg
/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_25_4199.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345131655","1345131649","1345131641","1345131629","1345131661","1345131667"],"photo_ids_order":["1345131629","1345131641","1345131649","1345131655","1345131661","1345131667"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2470b6ee44b54259ea761af356fd1951.jpg","text":"TemporaryFile(/tmp/multipartBody8501149527650234570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301873252,"filename":"image_18032025_02_07_33_4135.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ee64dab024a2efb8b2d33a9515401309.jpg","text":"TemporaryFile(/tmp/multipartBody1258041322952540356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301873252,"filename":"image_18032025_02_07_37_4116.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ddb0dd5fde21c01e4a34356ad2ebfa34.jpg","text":"TemporaryFile(/tmp/multipartBody8710312748467483612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301873252,"filename":"image_18032025_02_07_42_4157.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a749a6b8ee4e3aed1374e92e2a42447b.jpg","text":"TemporaryFile(/tmp/multipartBody6245129632144755867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301873252,"filename":"image_18032025_02_07_45_3359.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/07365966d6973900e61e89dccd189cd0.jpg","text":"TemporaryFile(/tmp/multipartBody7954202781153481511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301873252,"filename":"image_18032025_02_07_29_4076.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1f2322aa2a386301ff29cceda8651a10.jpg","text":"TemporaryFile(/tmp/multipartBody3394146994500571263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301873252,"filename":"image_18032025_02_07_25_4199.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345131649","file1":"1345131641","file0":"1345131629","file4":"1345131661","file5":"1345131667","file3":"1345131655"},"map_files_photo_id_array":[{"photo_id":"1345131667","filename":"file5"},{"photo_id":"1345131649","filename":"file2"},{"photo_id":"1345131661","filename":"file4"},{"photo_id":"1345131641","filename":"file1"},{"photo_id":"1345131629","filename":"file0"},{"photo_id":"1345131655","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345131655":["hashtag1","hashtag2"]},{"1345131649":["hashtag1","hashtag2"]},{"1345131641":["hashtag1","hashtag2"]},{"1345131629":["hashtag1","hashtag2"]},{"1345131661":["hashtag1","hashtag2"]},{"1345131667":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345131655, 1345131649, 1345131641, 1345131629, 1345131661, 1345131667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.798778772354126 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:44:31.929239
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_21_4165.jpg', 2), ('/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_17_4044.jpg', 2), ('/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_13_3027.jpg', 2), ('/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_10_4147.jpg', 2), ('/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_06_4643.jpg', 2), ('/home/nano/Desktop/images/18032025/02/06/image_18032025_02_07_01_4091.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_21_4165.jpg', '/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_17_4044.jpg', '/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_13_3027.jpg', '/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_10_4147.jpg', '/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_06_4643.jpg', '/home/nano/Desktop/images/18032025/02/06/image_18032025_02_07_01_4091.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_21_4165.jpg
/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_17_4044.jpg
/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_13_3027.jpg
/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_10_4147.jpg
/home/nano/Desktop/images/18032025/02/07/image_18032025_02_07_06_4643.jpg
/home/nano/Desktop/images/18032025/02/06/image_18032025_02_07_01_4091.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345131789","1345131794","1345131767","1345131803","1345131799","1345131784"],"photo_ids_order":["1345131767","1345131784","1345131789","1345131794","1345131799","1345131803"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3885dfb89bec589978c4082179481c77.jpg","text":"TemporaryFile(/tmp/multipartBody2291706460608241182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301932569,"filename":"image_18032025_02_07_13_3027.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ec9f097d99ad7724157c91dd05843839.jpg","text":"TemporaryFile(/tmp/multipartBody1311549130852670213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301932569,"filename":"image_18032025_02_07_10_4147.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4c367ef4f1d1204beb44176d30e49289.jpg","text":"TemporaryFile(/tmp/multipartBody412375681139026876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301932569,"filename":"image_18032025_02_07_21_4165.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3f6ddfdf05c15b807f0a6b6fa174bf1a.jpg","text":"TemporaryFile(/tmp/multipartBody2874511561966970663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301932569,"filename":"image_18032025_02_07_01_4091.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/aadc4433c4121d17ebf5afb491c4a0b8.jpg","text":"TemporaryFile(/tmp/multipartBody1837575021579480427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301932569,"filename":"image_18032025_02_07_06_4643.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b1795a37545c1a2c5b8a3fff4df78f31.jpg","text":"TemporaryFile(/tmp/multipartBody2169729974066747610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301932569,"filename":"image_18032025_02_07_17_4044.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345131789","file1":"1345131784","file0":"1345131767","file4":"1345131799","file5":"1345131803","file3":"1345131794"},"map_files_photo_id_array":[{"photo_id":"1345131803","filename":"file5"},{"photo_id":"1345131789","filename":"file2"},{"photo_id":"1345131799","filename":"file4"},{"photo_id":"1345131784","filename":"file1"},{"photo_id":"1345131767","filename":"file0"},{"photo_id":"1345131794","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345131789":["hashtag1","hashtag2"]},{"1345131794":["hashtag1","hashtag2"]},{"1345131767":["hashtag1","hashtag2"]},{"1345131803":["hashtag1","hashtag2"]},{"1345131799":["hashtag1","hashtag2"]},{"1345131784":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345131789, 1345131794, 1345131767, 1345131803, 1345131799, 1345131784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.678152084350586 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:45:32.091298
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_57_3125.jpg', 2), ('/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_54_4240.jpg', 2), ('/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_49_4123.jpg', 2), ('/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_45_4078.jpg', 2), ('/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_41_4086.jpg', 2), ('/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_37_4174.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_57_3125.jpg', '/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_54_4240.jpg', '/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_49_4123.jpg', '/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_45_4078.jpg', '/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_41_4086.jpg', '/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_37_4174.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_57_3125.jpg
/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_54_4240.jpg
/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_49_4123.jpg
/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_45_4078.jpg
/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_41_4086.jpg
/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_37_4174.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345131910","1345131915","1345131939","1345131956","1345131961","1345131949"],"photo_ids_order":["1345131910","1345131915","1345131939","1345131949","1345131956","1345131961"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/941dae16b3f67ed07868ba94e2956317.jpg","text":"TemporaryFile(/tmp/multipartBody7155835076329602997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301992738,"filename":"image_18032025_02_06_57_3125.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e9884a323b72b67d480ac7667479f4e6.jpg","text":"TemporaryFile(/tmp/multipartBody7917204045097390462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301992738,"filename":"image_18032025_02_06_54_4240.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/44262419580fe019e1295f53bc625f16.jpg","text":"TemporaryFile(/tmp/multipartBody833746338893595015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301992738,"filename":"image_18032025_02_06_49_4123.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/874634b36b2bb80dc5a56b7008765395.jpg","text":"TemporaryFile(/tmp/multipartBody7502907839190705515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301992738,"filename":"image_18032025_02_06_41_4086.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2d443381540b7e15741faff117194cd5.jpg","text":"TemporaryFile(/tmp/multipartBody5412230706360312464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301992738,"filename":"image_18032025_02_06_37_4174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/91ffea1252cc7b432c3671472528ad9a.jpg","text":"TemporaryFile(/tmp/multipartBody1528663115203530211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742301992738,"filename":"image_18032025_02_06_45_4078.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345131939","file1":"1345131915","file0":"1345131910","file4":"1345131956","file5":"1345131961","file3":"1345131949"},"map_files_photo_id_array":[{"photo_id":"1345131961","filename":"file5"},{"photo_id":"1345131939","filename":"file2"},{"photo_id":"1345131956","filename":"file4"},{"photo_id":"1345131915","filename":"file1"},{"photo_id":"1345131910","filename":"file0"},{"photo_id":"1345131949","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345131910":["hashtag1","hashtag2"]},{"1345131915":["hashtag1","hashtag2"]},{"1345131939":["hashtag1","hashtag2"]},{"1345131956":["hashtag1","hashtag2"]},{"1345131961":["hashtag1","hashtag2"]},{"1345131949":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345131910, 1345131915, 1345131939, 1345131956, 1345131961, 1345131949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.35346174240112 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:46:32.272834
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_33_4276.jpg', 2), ('/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_29_3287.jpg', 2), ('/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_25_4087.jpg', 2), ('/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_21_4054.jpg', 2), ('/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_17_4120.jpg', 2), ('/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_13_4205.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_33_4276.jpg', '/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_29_3287.jpg', '/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_25_4087.jpg', '/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_21_4054.jpg', '/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_17_4120.jpg', '/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_13_4205.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_33_4276.jpg
/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_29_3287.jpg
/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_25_4087.jpg
/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_21_4054.jpg
/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_17_4120.jpg
/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_13_4205.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345131975","1345131998","1345131991","1345131985","1345131979","1345132003"],"photo_ids_order":["1345131975","1345131979","1345131985","1345131991","1345131998","1345132003"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/886b3c7d6aca5bd5617a4bb05786d81f.jpg","text":"TemporaryFile(/tmp/multipartBody8160509778254767370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302052921,"filename":"image_18032025_02_06_33_4276.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8c53591218e6ded243c251077ad041ec.jpg","text":"TemporaryFile(/tmp/multipartBody5566197637204708793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302052921,"filename":"image_18032025_02_06_17_4120.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/be800f03c8efd41bac06493f2ad628e2.jpg","text":"TemporaryFile(/tmp/multipartBody4129724931915023272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302052921,"filename":"image_18032025_02_06_21_4054.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/58699633b627103d80c78b1d5514f068.jpg","text":"TemporaryFile(/tmp/multipartBody2657967465195617474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302052921,"filename":"image_18032025_02_06_25_4087.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/27e1fa43d71f4615d1f298eb7db855ac.jpg","text":"TemporaryFile(/tmp/multipartBody7494969032349926517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302052921,"filename":"image_18032025_02_06_29_3287.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/791264d32cd02d2244f70a73daee5050.jpg","text":"TemporaryFile(/tmp/multipartBody3476429972622741581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302052921,"filename":"image_18032025_02_06_13_4205.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345131985","file1":"1345131979","file0":"1345131975","file4":"1345131998","file5":"1345132003","file3":"1345131991"},"map_files_photo_id_array":[{"photo_id":"1345132003","filename":"file5"},{"photo_id":"1345131985","filename":"file2"},{"photo_id":"1345131998","filename":"file4"},{"photo_id":"1345131979","filename":"file1"},{"photo_id":"1345131975","filename":"file0"},{"photo_id":"1345131991","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345131975":["hashtag1","hashtag2"]},{"1345131998":["hashtag1","hashtag2"]},{"1345131991":["hashtag1","hashtag2"]},{"1345131985":["hashtag1","hashtag2"]},{"1345131979":["hashtag1","hashtag2"]},{"1345132003":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345131975, 1345131998, 1345131991, 1345131985, 1345131979, 1345132003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.694985151290894 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:47:32.448384
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_09_4206.jpg', 2), ('/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_05_3662.jpg', 2), ('/home/nano/Desktop/images/18032025/02/05/image_18032025_02_06_01_4185.jpg', 2), ('/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_57_3202.jpg', 2), ('/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_54_4210.jpg', 2), ('/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_49_4206.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_09_4206.jpg', '/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_05_3662.jpg', '/home/nano/Desktop/images/18032025/02/05/image_18032025_02_06_01_4185.jpg', '/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_57_3202.jpg', '/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_54_4210.jpg', '/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_49_4206.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_09_4206.jpg
/home/nano/Desktop/images/18032025/02/06/image_18032025_02_06_05_3662.jpg
/home/nano/Desktop/images/18032025/02/05/image_18032025_02_06_01_4185.jpg
/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_57_3202.jpg
/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_54_4210.jpg
/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_49_4206.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345132032","1345132041","1345132052","1345132057","1345132036","1345132045"],"photo_ids_order":["1345132032","1345132036","1345132041","1345132045","1345132052","1345132057"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/76ee18ffb0a2ca3666ec429523f0aabb.jpg","text":"TemporaryFile(/tmp/multipartBody4160956776638315260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302113088,"filename":"image_18032025_02_06_09_4206.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/57a05740dcd7b76c82bab74fb0a1cebd.jpg","text":"TemporaryFile(/tmp/multipartBody791848143779966169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302113088,"filename":"image_18032025_02_06_01_4185.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cbb666f01e7c68fb4ea9e6e5f48bc95d.jpg","text":"TemporaryFile(/tmp/multipartBody2495845686009122839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302113088,"filename":"image_18032025_02_05_54_4210.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6bb505aba48b30aa6e53dcb02a8a14a2.jpg","text":"TemporaryFile(/tmp/multipartBody7665626652247627611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302113088,"filename":"image_18032025_02_05_49_4206.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7c069cd66760b1c9c40c74876b32aa01.jpg","text":"TemporaryFile(/tmp/multipartBody5668512876520906336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302113088,"filename":"image_18032025_02_06_05_3662.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/99b9089e7950607d7b5751f391d940ea.jpg","text":"TemporaryFile(/tmp/multipartBody1251025270921807744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302113088,"filename":"image_18032025_02_05_57_3202.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345132041","file1":"1345132036","file0":"1345132032","file4":"1345132052","file5":"1345132057","file3":"1345132045"},"map_files_photo_id_array":[{"photo_id":"1345132057","filename":"file5"},{"photo_id":"1345132041","filename":"file2"},{"photo_id":"1345132052","filename":"file4"},{"photo_id":"1345132036","filename":"file1"},{"photo_id":"1345132032","filename":"file0"},{"photo_id":"1345132045","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345132032":["hashtag1","hashtag2"]},{"1345132041":["hashtag1","hashtag2"]},{"1345132052":["hashtag1","hashtag2"]},{"1345132057":["hashtag1","hashtag2"]},{"1345132036":["hashtag1","hashtag2"]},{"1345132045":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345132032, 1345132041, 1345132052, 1345132057, 1345132036, 1345132045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.61574053764343 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:48:32.652974
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_45_4215.jpg', 2), ('/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_41_4231.jpg', 2), ('/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_37_3211.jpg', 2), ('/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_34_4233.jpg', 2), ('/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_29_4225.jpg', 2), ('/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_25_4270.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_45_4215.jpg', '/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_41_4231.jpg', '/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_37_3211.jpg', '/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_34_4233.jpg', '/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_29_4225.jpg', '/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_25_4270.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_45_4215.jpg
/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_41_4231.jpg
/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_37_3211.jpg
/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_34_4233.jpg
/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_29_4225.jpg
/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_25_4270.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345132213","1345132207","1345132237","1345132231","1345132225","1345132219"],"photo_ids_order":["1345132207","1345132213","1345132219","1345132225","1345132231","1345132237"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/70611ad70e8955840782985497fede7a.jpg","text":"TemporaryFile(/tmp/multipartBody8763219768392682629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302173227,"filename":"image_18032025_02_05_41_4231.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ec7a2b5bc3a37828382df5a7c9303cdc.jpg","text":"TemporaryFile(/tmp/multipartBody8254159496052767068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302173227,"filename":"image_18032025_02_05_45_4215.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/53caff38f6d24ec93eb3bdf0ea27ad0e.jpg","text":"TemporaryFile(/tmp/multipartBody5201179238855115481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302173227,"filename":"image_18032025_02_05_25_4270.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4465fee2cb99e55c54047a04684a4470.jpg","text":"TemporaryFile(/tmp/multipartBody7758634362319959390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302173227,"filename":"image_18032025_02_05_29_4225.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/23df11faa32b41aa05132fc6de10a53b.jpg","text":"TemporaryFile(/tmp/multipartBody8824003163397460978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302173227,"filename":"image_18032025_02_05_34_4233.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/67e14117cf8f1ec55589819be163f520.jpg","text":"TemporaryFile(/tmp/multipartBody2771233634304950182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302173227,"filename":"image_18032025_02_05_37_3211.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345132219","file1":"1345132213","file0":"1345132207","file4":"1345132231","file5":"1345132237","file3":"1345132225"},"map_files_photo_id_array":[{"photo_id":"1345132237","filename":"file5"},{"photo_id":"1345132219","filename":"file2"},{"photo_id":"1345132231","filename":"file4"},{"photo_id":"1345132213","filename":"file1"},{"photo_id":"1345132207","filename":"file0"},{"photo_id":"1345132225","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345132213":["hashtag1","hashtag2"]},{"1345132207":["hashtag1","hashtag2"]},{"1345132237":["hashtag1","hashtag2"]},{"1345132231":["hashtag1","hashtag2"]},{"1345132225":["hashtag1","hashtag2"]},{"1345132219":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345132213, 1345132207, 1345132237, 1345132231, 1345132225, 1345132219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.37418723106384 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:49:31.808415
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_21_3234.jpg', 2), ('/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_18_4290.jpg', 2), ('/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_13_4268.jpg', 2), ('/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_09_4270.jpg', 2), ('/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_05_3951.jpg', 2), ('/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_01_3169.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_21_3234.jpg', '/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_18_4290.jpg', '/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_13_4268.jpg', '/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_09_4270.jpg', '/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_05_3951.jpg', '/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_01_3169.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_21_3234.jpg
/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_18_4290.jpg
/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_13_4268.jpg
/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_09_4270.jpg
/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_05_3951.jpg
/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_01_3169.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.4416365623474121 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:50:02.670494
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_21_3234.jpg', 2), ('/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_18_4290.jpg', 2), ('/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_13_4268.jpg', 2), ('/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_09_4270.jpg', 2), ('/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_05_3951.jpg', 2), ('/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_01_3169.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_21_3234.jpg', '/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_18_4290.jpg', '/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_13_4268.jpg', '/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_09_4270.jpg', '/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_05_3951.jpg', '/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_01_3169.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_21_3234.jpg
/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_18_4290.jpg
/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_13_4268.jpg
/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_09_4270.jpg
/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_05_3951.jpg
/home/nano/Desktop/images/18032025/02/05/image_18032025_02_05_01_3169.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345132362","1345132353","1345132361","1345132363","1345132330","1345132348"],"photo_ids_order":["1345132330","1345132348","1345132353","1345132361","1345132362","1345132363"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/32ad425037dbcac810c9201cacfc0fc1.jpg","text":"TemporaryFile(/tmp/multipartBody5235197527534393256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302263227,"filename":"image_18032025_02_05_05_3951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/774e2eeba4ef72af78f1f285e81d1785.jpg","text":"TemporaryFile(/tmp/multipartBody3996137828423616741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302263227,"filename":"image_18032025_02_05_13_4268.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/671fdf0f559ff3bd18b49bbef7a4ca71.jpg","text":"TemporaryFile(/tmp/multipartBody5507937949394137077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302263227,"filename":"image_18032025_02_05_09_4270.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e63ebd3447519f3a4e81af735715934c.jpg","text":"TemporaryFile(/tmp/multipartBody3149912029695988624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302263227,"filename":"image_18032025_02_05_01_3169.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e8e1c606d0ef9edc61acdc2c549b64fd.jpg","text":"TemporaryFile(/tmp/multipartBody5218649454532507354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302263227,"filename":"image_18032025_02_05_21_3234.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/09bae423e60788b16dcbccbff3ec1a2e.jpg","text":"TemporaryFile(/tmp/multipartBody3111463332516560329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302263227,"filename":"image_18032025_02_05_18_4290.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345132353","file1":"1345132348","file0":"1345132330","file4":"1345132362","file5":"1345132363","file3":"1345132361"},"map_files_photo_id_array":[{"photo_id":"1345132363","filename":"file5"},{"photo_id":"1345132353","filename":"file2"},{"photo_id":"1345132362","filename":"file4"},{"photo_id":"1345132348","filename":"file1"},{"photo_id":"1345132330","filename":"file0"},{"photo_id":"1345132361","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345132362":["hashtag1","hashtag2"]},{"1345132353":["hashtag1","hashtag2"]},{"1345132361":["hashtag1","hashtag2"]},{"1345132363":["hashtag1","hashtag2"]},{"1345132330":["hashtag1","hashtag2"]},{"1345132348":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345132362, 1345132353, 1345132361, 1345132363, 1345132330, 1345132348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.75555491447449 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:51:02.976429
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_58_4320.jpg', 2), ('/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_53_4270.jpg', 2), ('/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_49_3496.jpg', 2), ('/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_46_4023.jpg', 2), ('/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_42_4201.jpg', 2), ('/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_37_4230.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_58_4320.jpg', '/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_53_4270.jpg', '/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_49_3496.jpg', '/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_46_4023.jpg', '/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_42_4201.jpg', '/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_37_4230.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_58_4320.jpg
/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_53_4270.jpg
/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_49_3496.jpg
/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_46_4023.jpg
/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_42_4201.jpg
/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_37_4230.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345132422","1345132431","1345132419","1345132416","1345132424","1345132426"],"photo_ids_order":["1345132416","1345132419","1345132422","1345132424","1345132426","1345132431"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ee0ab8c7e659c77d64b6ddd9a4594be1.jpg","text":"TemporaryFile(/tmp/multipartBody4785195062123910334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302323483,"filename":"image_18032025_02_04_49_3496.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1fa20e0a4ff117063d3c6a1eddac824c.jpg","text":"TemporaryFile(/tmp/multipartBody7078371266236514227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302323483,"filename":"image_18032025_02_04_37_4230.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/49902d3634741dea863b176f3ebc7ad8.jpg","text":"TemporaryFile(/tmp/multipartBody304530641182089753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302323483,"filename":"image_18032025_02_04_53_4270.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9f48adfb73e0fb79163fd9b548b06b67.jpg","text":"TemporaryFile(/tmp/multipartBody3121231662632370895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302323483,"filename":"image_18032025_02_04_58_4320.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5bfc7a2efeb77e7b72f1700d677ae33d.jpg","text":"TemporaryFile(/tmp/multipartBody6365122251629910555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302323483,"filename":"image_18032025_02_04_46_4023.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4544dba63ac1eb3d59fabb73c54fd0a1.jpg","text":"TemporaryFile(/tmp/multipartBody4440458255255972316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302323483,"filename":"image_18032025_02_04_42_4201.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345132422","file1":"1345132419","file0":"1345132416","file4":"1345132426","file5":"1345132431","file3":"1345132424"},"map_files_photo_id_array":[{"photo_id":"1345132431","filename":"file5"},{"photo_id":"1345132422","filename":"file2"},{"photo_id":"1345132426","filename":"file4"},{"photo_id":"1345132419","filename":"file1"},{"photo_id":"1345132416","filename":"file0"},{"photo_id":"1345132424","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345132422":["hashtag1","hashtag2"]},{"1345132431":["hashtag1","hashtag2"]},{"1345132419":["hashtag1","hashtag2"]},{"1345132416":["hashtag1","hashtag2"]},{"1345132424":["hashtag1","hashtag2"]},{"1345132426":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345132422, 1345132431, 1345132419, 1345132416, 1345132424, 1345132426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.175023794174194 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:52:03.286984
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_33_4175.jpg', 2), ('/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_29_4160.jpg', 2), ('/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_25_3896.jpg', 2), ('/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_21_4031.jpg', 2), ('/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_17_4004.jpg', 2), ('/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_13_3986.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_33_4175.jpg', '/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_29_4160.jpg', '/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_25_3896.jpg', '/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_21_4031.jpg', '/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_17_4004.jpg', '/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_13_3986.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_33_4175.jpg
/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_29_4160.jpg
/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_25_3896.jpg
/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_21_4031.jpg
/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_17_4004.jpg
/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_13_3986.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345132527","1345132658","1345132652","1345132616","1345132624","1345132590"],"photo_ids_order":["1345132527","1345132590","1345132616","1345132624","1345132652","1345132658"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/224b2c01b13c9731883cf8f83b1fea03.jpg","text":"TemporaryFile(/tmp/multipartBody7416594263290204298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302383868,"filename":"image_18032025_02_04_33_4175.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e3d237f187ac7dcec5caf1ea2453d270.jpg","text":"TemporaryFile(/tmp/multipartBody4311286036156788820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302383868,"filename":"image_18032025_02_04_13_3986.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1295c7aceb6175c08dff327ccad36b8d.jpg","text":"TemporaryFile(/tmp/multipartBody1576659226708405211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302383868,"filename":"image_18032025_02_04_17_4004.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/931263fcd92ca4981194b9d28a59b8f2.jpg","text":"TemporaryFile(/tmp/multipartBody3441791873718998038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302383868,"filename":"image_18032025_02_04_25_3896.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f3c633f784a5c2a6ebecf8c6ea02d1d2.jpg","text":"TemporaryFile(/tmp/multipartBody8262542878795567791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302383868,"filename":"image_18032025_02_04_21_4031.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8d808f147202330669b25f6ef0624e88.jpg","text":"TemporaryFile(/tmp/multipartBody9158998971674877266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302383868,"filename":"image_18032025_02_04_29_4160.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345132616","file1":"1345132590","file0":"1345132527","file4":"1345132652","file5":"1345132658","file3":"1345132624"},"map_files_photo_id_array":[{"photo_id":"1345132658","filename":"file5"},{"photo_id":"1345132616","filename":"file2"},{"photo_id":"1345132652","filename":"file4"},{"photo_id":"1345132590","filename":"file1"},{"photo_id":"1345132527","filename":"file0"},{"photo_id":"1345132624","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345132527":["hashtag1","hashtag2"]},{"1345132658":["hashtag1","hashtag2"]},{"1345132652":["hashtag1","hashtag2"]},{"1345132616":["hashtag1","hashtag2"]},{"1345132624":["hashtag1","hashtag2"]},{"1345132590":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345132527, 1345132658, 1345132652, 1345132616, 1345132624, 1345132590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.32726693153381 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:53:03.191021
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_09_3984.jpg', 2), ('/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_05_3682.jpg', 2), ('/home/nano/Desktop/images/18032025/02/03/image_18032025_02_04_01_4118.jpg', 2), ('/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_57_4121.jpg', 2), ('/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_53_4143.jpg', 2), ('/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_49_3919.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_09_3984.jpg', '/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_05_3682.jpg', '/home/nano/Desktop/images/18032025/02/03/image_18032025_02_04_01_4118.jpg', '/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_57_4121.jpg', '/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_53_4143.jpg', '/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_49_3919.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_09_3984.jpg
/home/nano/Desktop/images/18032025/02/04/image_18032025_02_04_05_3682.jpg
/home/nano/Desktop/images/18032025/02/03/image_18032025_02_04_01_4118.jpg
/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_57_4121.jpg
/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_53_4143.jpg
/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_49_3919.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345132686","1345132680","1345132694","1345132688","1345132683","1345132677"],"photo_ids_order":["1345132677","1345132680","1345132683","1345132686","1345132688","1345132694"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/00227bf5ca6a6090fa808f1e525b0e9d.jpg","text":"TemporaryFile(/tmp/multipartBody3950943154735904071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302443735,"filename":"image_18032025_02_03_57_4121.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c086af5af8af0fdca215919dfc54bb99.jpg","text":"TemporaryFile(/tmp/multipartBody8090311543106782195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302443735,"filename":"image_18032025_02_04_05_3682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/494a06b2639d4aea06198dde291a66d4.jpg","text":"TemporaryFile(/tmp/multipartBody2337923965623407180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302443735,"filename":"image_18032025_02_03_49_3919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2b51310f06823bc050926f085774c7b3.jpg","text":"TemporaryFile(/tmp/multipartBody4086096447734195935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302443735,"filename":"image_18032025_02_03_53_4143.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b216684e0f845e64224b4cba545d540f.jpg","text":"TemporaryFile(/tmp/multipartBody4076693274921951949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302443735,"filename":"image_18032025_02_04_01_4118.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fe47b843b1217d6be7d526272ba7dae8.jpg","text":"TemporaryFile(/tmp/multipartBody7372001681325498677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302443735,"filename":"image_18032025_02_04_09_3984.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345132683","file1":"1345132680","file0":"1345132677","file4":"1345132688","file5":"1345132694","file3":"1345132686"},"map_files_photo_id_array":[{"photo_id":"1345132694","filename":"file5"},{"photo_id":"1345132683","filename":"file2"},{"photo_id":"1345132688","filename":"file4"},{"photo_id":"1345132680","filename":"file1"},{"photo_id":"1345132677","filename":"file0"},{"photo_id":"1345132686","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345132686":["hashtag1","hashtag2"]},{"1345132680":["hashtag1","hashtag2"]},{"1345132694":["hashtag1","hashtag2"]},{"1345132688":["hashtag1","hashtag2"]},{"1345132683":["hashtag1","hashtag2"]},{"1345132677":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345132686, 1345132680, 1345132694, 1345132688, 1345132683, 1345132677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.915831804275513 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:54:03.597745
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_45_4202.jpg', 2), ('/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_41_3135.jpg', 2), ('/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_38_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_33_4173.jpg', 2), ('/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_29_4135.jpg', 2), ('/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_25_4225.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_45_4202.jpg', '/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_41_3135.jpg', '/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_38_4146.jpg', '/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_33_4173.jpg', '/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_29_4135.jpg', '/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_25_4225.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_45_4202.jpg
/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_41_3135.jpg
/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_38_4146.jpg
/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_33_4173.jpg
/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_29_4135.jpg
/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_25_4225.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.4361567497253418 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:54:32.661631
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_45_4202.jpg', 2), ('/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_41_3135.jpg', 2), ('/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_38_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_33_4173.jpg', 2), ('/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_29_4135.jpg', 2), ('/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_25_4225.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_45_4202.jpg', '/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_41_3135.jpg', '/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_38_4146.jpg', '/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_33_4173.jpg', '/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_29_4135.jpg', '/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_25_4225.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_45_4202.jpg
/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_41_3135.jpg
/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_38_4146.jpg
/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_33_4173.jpg
/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_29_4135.jpg
/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_25_4225.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345132752","1345132755","1345132769","1345132760","1345132748","1345132765"],"photo_ids_order":["1345132748","1345132752","1345132755","1345132760","1345132765","1345132769"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4c01be860f9a82168aefda28d63341c8.jpg","text":"TemporaryFile(/tmp/multipartBody4097014934773419394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302533309,"filename":"image_18032025_02_03_41_3135.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/80ded418695c85a6bf49a6e48f2af45d.jpg","text":"TemporaryFile(/tmp/multipartBody7348414308480812873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302533309,"filename":"image_18032025_02_03_38_4146.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/feac1f97f2018cee30934fa662e45916.jpg","text":"TemporaryFile(/tmp/multipartBody7859470322011544213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302533309,"filename":"image_18032025_02_03_25_4225.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/86fa7f1265e6b9c709be0c7d70376ca0.jpg","text":"TemporaryFile(/tmp/multipartBody3782680200405215555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302533309,"filename":"image_18032025_02_03_33_4173.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b0a02a791cc2de49d860964c522bb269.jpg","text":"TemporaryFile(/tmp/multipartBody6876406247619797900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302533309,"filename":"image_18032025_02_03_45_4202.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/982a2aa9ee9e60d6889417b3daa95191.jpg","text":"TemporaryFile(/tmp/multipartBody3744418008895813494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302533309,"filename":"image_18032025_02_03_29_4135.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345132755","file1":"1345132752","file0":"1345132748","file4":"1345132765","file5":"1345132769","file3":"1345132760"},"map_files_photo_id_array":[{"photo_id":"1345132769","filename":"file5"},{"photo_id":"1345132755","filename":"file2"},{"photo_id":"1345132765","filename":"file4"},{"photo_id":"1345132752","filename":"file1"},{"photo_id":"1345132748","filename":"file0"},{"photo_id":"1345132760","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345132752":["hashtag1","hashtag2"]},{"1345132755":["hashtag1","hashtag2"]},{"1345132769":["hashtag1","hashtag2"]},{"1345132760":["hashtag1","hashtag2"]},{"1345132748":["hashtag1","hashtag2"]},{"1345132765":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345132752, 1345132755, 1345132769, 1345132760, 1345132748, 1345132765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.95368766784668 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:55:31.860914
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_21_4169.jpg', 2), ('/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_17_3211.jpg', 2), ('/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_14_4383.jpg', 2), ('/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_09_4257.jpg', 2), ('/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_05_3667.jpg', 2), ('/home/nano/Desktop/images/18032025/02/02/image_18032025_02_03_01_4360.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_21_4169.jpg', '/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_17_3211.jpg', '/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_14_4383.jpg', '/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_09_4257.jpg', '/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_05_3667.jpg', '/home/nano/Desktop/images/18032025/02/02/image_18032025_02_03_01_4360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_21_4169.jpg
/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_17_3211.jpg
/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_14_4383.jpg
/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_09_4257.jpg
/home/nano/Desktop/images/18032025/02/03/image_18032025_02_03_05_3667.jpg
/home/nano/Desktop/images/18032025/02/02/image_18032025_02_03_01_4360.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345132926","1345133054","1345133012","1345132984","1345132948","1345132957"],"photo_ids_order":["1345132926","1345132948","1345132957","1345132984","1345133012","1345133054"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4d3d2dbdb18f312148a7e4e81402d0d6.jpg","text":"TemporaryFile(/tmp/multipartBody968749495070484188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302592380,"filename":"image_18032025_02_03_21_4169.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8f1ed3e7156a7c082d093703042e8e13.jpg","text":"TemporaryFile(/tmp/multipartBody5795273629443360541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302592380,"filename":"image_18032025_02_03_01_4360.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7b16d2376146a92bbda0d74b1fe8af91.jpg","text":"TemporaryFile(/tmp/multipartBody1263555150734038620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302592380,"filename":"image_18032025_02_03_05_3667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1550c6e8d8d0eb9ea4b71a9e2c4b5ca0.jpg","text":"TemporaryFile(/tmp/multipartBody1092563430577148418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302592380,"filename":"image_18032025_02_03_09_4257.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/20490164567c536b874cbf75d5f0e770.jpg","text":"TemporaryFile(/tmp/multipartBody3561743467212064947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302592380,"filename":"image_18032025_02_03_17_3211.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/505d0c8df733ee8341be0b169371ffb1.jpg","text":"TemporaryFile(/tmp/multipartBody1667536609812062975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302592380,"filename":"image_18032025_02_03_14_4383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345132957","file1":"1345132948","file0":"1345132926","file4":"1345133012","file5":"1345133054","file3":"1345132984"},"map_files_photo_id_array":[{"photo_id":"1345133054","filename":"file5"},{"photo_id":"1345132957","filename":"file2"},{"photo_id":"1345133012","filename":"file4"},{"photo_id":"1345132948","filename":"file1"},{"photo_id":"1345132926","filename":"file0"},{"photo_id":"1345132984","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345132926":["hashtag1","hashtag2"]},{"1345133054":["hashtag1","hashtag2"]},{"1345133012":["hashtag1","hashtag2"]},{"1345132984":["hashtag1","hashtag2"]},{"1345132948":["hashtag1","hashtag2"]},{"1345132957":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345132926, 1345133054, 1345133012, 1345132984, 1345132948, 1345132957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.09036207199097 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:56:32.032387
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_57_3380.jpg', 2), ('/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_53_4319.jpg', 2), ('/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_49_4041.jpg', 2), ('/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_45_4291.jpg', 2), ('/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_41_3238.jpg', 2), ('/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_38_4180.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_57_3380.jpg', '/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_53_4319.jpg', '/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_49_4041.jpg', '/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_45_4291.jpg', '/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_41_3238.jpg', '/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_38_4180.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_57_3380.jpg
/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_53_4319.jpg
/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_49_4041.jpg
/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_45_4291.jpg
/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_41_3238.jpg
/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_38_4180.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345133282","1345133276","1345133296","1345133338","1345133320","1345133256"],"photo_ids_order":["1345133256","1345133276","1345133282","1345133296","1345133320","1345133338"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/79098c626df4afafab1b2de7db6b9d5c.jpg","text":"TemporaryFile(/tmp/multipartBody8209369530278747176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302652517,"filename":"image_18032025_02_02_49_4041.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ece5d25bcee4e4d1f0027374ab75febd.jpg","text":"TemporaryFile(/tmp/multipartBody5584582310044162486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302652517,"filename":"image_18032025_02_02_53_4319.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7c34eb7114b5cf49cdf7746d583b4da3.jpg","text":"TemporaryFile(/tmp/multipartBody1934542374947087168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302652517,"filename":"image_18032025_02_02_45_4291.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ba1abac67c1cc00bbde9591a60095c99.jpg","text":"TemporaryFile(/tmp/multipartBody4992796751850366233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302652517,"filename":"image_18032025_02_02_38_4180.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/27e26bb62e7a5fe5b26b96629d339ee1.jpg","text":"TemporaryFile(/tmp/multipartBody35625720460555187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302652517,"filename":"image_18032025_02_02_41_3238.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/04abb8d7d2d40f5c35aba33a916d4a4b.jpg","text":"TemporaryFile(/tmp/multipartBody571745681956626732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302652517,"filename":"image_18032025_02_02_57_3380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345133282","file1":"1345133276","file0":"1345133256","file4":"1345133320","file5":"1345133338","file3":"1345133296"},"map_files_photo_id_array":[{"photo_id":"1345133338","filename":"file5"},{"photo_id":"1345133282","filename":"file2"},{"photo_id":"1345133320","filename":"file4"},{"photo_id":"1345133276","filename":"file1"},{"photo_id":"1345133256","filename":"file0"},{"photo_id":"1345133296","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345133282":["hashtag1","hashtag2"]},{"1345133276":["hashtag1","hashtag2"]},{"1345133296":["hashtag1","hashtag2"]},{"1345133338":["hashtag1","hashtag2"]},{"1345133320":["hashtag1","hashtag2"]},{"1345133256":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345133282, 1345133276, 1345133296, 1345133338, 1345133320, 1345133256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.003631591796875 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:57:32.265918
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_33_4006.jpg', 2), ('/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_29_4102.jpg', 2), ('/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_25_4103.jpg', 2), ('/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_21_4013.jpg', 2), ('/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_17_4062.jpg', 2), ('/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_13_4099.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_33_4006.jpg', '/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_29_4102.jpg', '/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_25_4103.jpg', '/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_21_4013.jpg', '/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_17_4062.jpg', '/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_13_4099.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_33_4006.jpg
/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_29_4102.jpg
/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_25_4103.jpg
/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_21_4013.jpg
/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_17_4062.jpg
/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_13_4099.jpg
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:58:03.005341
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_33_4006.jpg', 2), ('/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_29_4102.jpg', 2), ('/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_25_4103.jpg', 2), ('/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_21_4013.jpg', 2), ('/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_17_4062.jpg', 2), ('/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_13_4099.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_33_4006.jpg', '/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_29_4102.jpg', '/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_25_4103.jpg', '/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_21_4013.jpg', '/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_17_4062.jpg', '/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_13_4099.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_33_4006.jpg
/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_29_4102.jpg
/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_25_4103.jpg
/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_21_4013.jpg
/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_17_4062.jpg
/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_13_4099.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345133820","1345133814","1345133816","1345133810","1345133812","1345133818"],"photo_ids_order":["1345133810","1345133812","1345133814","1345133816","1345133818","1345133820"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a9f664378f64addf7083520ed0d1d664.jpg","text":"TemporaryFile(/tmp/multipartBody2615276416016478691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302743558,"filename":"image_18032025_02_02_13_4099.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8b2092e771a14b54e6f29abf81f53e5c.jpg","text":"TemporaryFile(/tmp/multipartBody5902427353672374904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302743558,"filename":"image_18032025_02_02_25_4103.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/161bd294203a1e9e01a566d27cb81da6.jpg","text":"TemporaryFile(/tmp/multipartBody2991028705198696673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302743558,"filename":"image_18032025_02_02_21_4013.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4a4cd0039082089a6f97d6da66c67e4f.jpg","text":"TemporaryFile(/tmp/multipartBody1373195757441968885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302743558,"filename":"image_18032025_02_02_33_4006.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/afbfc7e8661c03915973e95f475011fc.jpg","text":"TemporaryFile(/tmp/multipartBody3316383248605686758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302743558,"filename":"image_18032025_02_02_29_4102.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/588d65d89cf3e96822aa2da45c355bd3.jpg","text":"TemporaryFile(/tmp/multipartBody2691529314513393661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302743558,"filename":"image_18032025_02_02_17_4062.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345133814","file1":"1345133812","file0":"1345133810","file4":"1345133818","file5":"1345133820","file3":"1345133816"},"map_files_photo_id_array":[{"photo_id":"1345133820","filename":"file5"},{"photo_id":"1345133814","filename":"file2"},{"photo_id":"1345133818","filename":"file4"},{"photo_id":"1345133812","filename":"file1"},{"photo_id":"1345133810","filename":"file0"},{"photo_id":"1345133816","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345133820":["hashtag1","hashtag2"]},{"1345133814":["hashtag1","hashtag2"]},{"1345133816":["hashtag1","hashtag2"]},{"1345133810":["hashtag1","hashtag2"]},{"1345133812":["hashtag1","hashtag2"]},{"1345133818":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345133820, 1345133814, 1345133816, 1345133810, 1345133812, 1345133818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.815229415893555 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 13:59:03.354222
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_09_4172.jpg', 2), ('/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_05_3734.jpg', 2), ('/home/nano/Desktop/images/18032025/02/01/image_18032025_02_02_01_4124.jpg', 2), ('/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_57_4155.jpg', 2), ('/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_53_3166.jpg', 2), ('/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_50_4146.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_09_4172.jpg', '/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_05_3734.jpg', '/home/nano/Desktop/images/18032025/02/01/image_18032025_02_02_01_4124.jpg', '/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_57_4155.jpg', '/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_53_3166.jpg', '/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_50_4146.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_09_4172.jpg
/home/nano/Desktop/images/18032025/02/02/image_18032025_02_02_05_3734.jpg
/home/nano/Desktop/images/18032025/02/01/image_18032025_02_02_01_4124.jpg
/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_57_4155.jpg
/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_53_3166.jpg
/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_50_4146.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345134280","1345133971","1345134192","1345134252","1345134228","1345133844"],"photo_ids_order":["1345133844","1345133971","1345134192","1345134228","1345134252","1345134280"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d36241effe45bb25a1a7f86729200ac9.jpg","text":"TemporaryFile(/tmp/multipartBody704447788625256084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302803906,"filename":"image_18032025_02_01_50_4146.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e195414020064c6a11b38f832ffc52ad.jpg","text":"TemporaryFile(/tmp/multipartBody6415177982252809064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302803906,"filename":"image_18032025_02_02_05_3734.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b7b167033e7298e7a205c44b75d652c8.jpg","text":"TemporaryFile(/tmp/multipartBody6081404425836728778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302803906,"filename":"image_18032025_02_02_01_4124.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/73aa5c0c178be05b1e56ab9b594d20c9.jpg","text":"TemporaryFile(/tmp/multipartBody6452675382411856623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302803906,"filename":"image_18032025_02_01_53_3166.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d4482040bc2d1749dcffef32f6588fee.jpg","text":"TemporaryFile(/tmp/multipartBody3694305628270759505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302803906,"filename":"image_18032025_02_01_57_4155.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/72c104e83a533559eaca74968117a6c8.jpg","text":"TemporaryFile(/tmp/multipartBody3417144513465012971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302803906,"filename":"image_18032025_02_02_09_4172.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345134192","file1":"1345133971","file0":"1345133844","file4":"1345134252","file5":"1345134280","file3":"1345134228"},"map_files_photo_id_array":[{"photo_id":"1345134280","filename":"file5"},{"photo_id":"1345134192","filename":"file2"},{"photo_id":"1345134252","filename":"file4"},{"photo_id":"1345133971","filename":"file1"},{"photo_id":"1345133844","filename":"file0"},{"photo_id":"1345134228","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345134280":["hashtag1","hashtag2"]},{"1345133971":["hashtag1","hashtag2"]},{"1345134192":["hashtag1","hashtag2"]},{"1345134252":["hashtag1","hashtag2"]},{"1345134228":["hashtag1","hashtag2"]},{"1345133844":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345134280, 1345133971, 1345134192, 1345134252, 1345134228, 1345133844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.82081937789917 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:00:03.133031
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_46_4127.jpg', 2), ('/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_41_4218.jpg', 2), ('/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_37_4210.jpg', 2), ('/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_33_4237.jpg', 2), ('/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_29_3229.jpg', 2), ('/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_25_4255.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_46_4127.jpg', '/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_41_4218.jpg', '/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_37_4210.jpg', '/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_33_4237.jpg', '/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_29_3229.jpg', '/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_25_4255.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_46_4127.jpg
/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_41_4218.jpg
/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_37_4210.jpg
/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_33_4237.jpg
/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_29_3229.jpg
/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_25_4255.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345134419","1345134433","1345134427","1345134430","1345134438","1345134423"],"photo_ids_order":["1345134419","1345134423","1345134427","1345134430","1345134433","1345134438"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/27c3fbb7aea778c158e70d728d68ac2c.jpg","text":"TemporaryFile(/tmp/multipartBody4886124811664539774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302863668,"filename":"image_18032025_02_01_46_4127.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8dfbf46f079657b818a8bb2309892d4a.jpg","text":"TemporaryFile(/tmp/multipartBody6669388609538640428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302863668,"filename":"image_18032025_02_01_29_3229.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c128840067f6767b7ca51951dafa8dd3.jpg","text":"TemporaryFile(/tmp/multipartBody4068296476155358422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302863668,"filename":"image_18032025_02_01_37_4210.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7f0b6cacf6f478fa02edc0597604e3c7.jpg","text":"TemporaryFile(/tmp/multipartBody1637344399898122125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302863668,"filename":"image_18032025_02_01_33_4237.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/82d44889420a8e9a1686a6bb84a92966.jpg","text":"TemporaryFile(/tmp/multipartBody5939574932427632574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302863668,"filename":"image_18032025_02_01_25_4255.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9f96371d322e98545c4afb747cac0d8e.jpg","text":"TemporaryFile(/tmp/multipartBody6209369761891764262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302863668,"filename":"image_18032025_02_01_41_4218.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345134427","file1":"1345134423","file0":"1345134419","file4":"1345134433","file5":"1345134438","file3":"1345134430"},"map_files_photo_id_array":[{"photo_id":"1345134438","filename":"file5"},{"photo_id":"1345134427","filename":"file2"},{"photo_id":"1345134433","filename":"file4"},{"photo_id":"1345134423","filename":"file1"},{"photo_id":"1345134419","filename":"file0"},{"photo_id":"1345134430","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345134419":["hashtag1","hashtag2"]},{"1345134433":["hashtag1","hashtag2"]},{"1345134427":["hashtag1","hashtag2"]},{"1345134430":["hashtag1","hashtag2"]},{"1345134438":["hashtag1","hashtag2"]},{"1345134423":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345134419, 1345134433, 1345134427, 1345134430, 1345134438, 1345134423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.254525661468506 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:01:03.290388
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_21_4262.jpg', 2), ('/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_17_4264.jpg', 2), ('/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_13_3142.jpg', 2), ('/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_10_4249.jpg', 2), ('/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_05_4533.jpg', 2), ('/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_01_3282.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_21_4262.jpg', '/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_17_4264.jpg', '/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_13_3142.jpg', '/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_10_4249.jpg', '/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_05_4533.jpg', '/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_01_3282.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_21_4262.jpg
/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_17_4264.jpg
/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_13_3142.jpg
/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_10_4249.jpg
/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_05_4533.jpg
/home/nano/Desktop/images/18032025/02/01/image_18032025_02_01_01_3282.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345134476","1345134458","1345134468","1345134462","1345134471","1345134465"],"photo_ids_order":["1345134458","1345134462","1345134465","1345134468","1345134471","1345134476"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/73c4c721c42c0b6560f57160424fdc17.jpg","text":"TemporaryFile(/tmp/multipartBody3044357253787919061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302923831,"filename":"image_18032025_02_01_01_3282.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/80b8ef56ed7e42e523716917c90a7baa.jpg","text":"TemporaryFile(/tmp/multipartBody1047647315741014959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302923831,"filename":"image_18032025_02_01_21_4262.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8ff27a7da422c4f712cd8a2e59590868.jpg","text":"TemporaryFile(/tmp/multipartBody3129156408994015078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302923831,"filename":"image_18032025_02_01_10_4249.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c709368c03b5a0ea28d691794c0405a4.jpg","text":"TemporaryFile(/tmp/multipartBody8685078533337480607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302923831,"filename":"image_18032025_02_01_17_4264.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9ec8dfe8756ebaf74844cd8dbba285e1.jpg","text":"TemporaryFile(/tmp/multipartBody790843026261398090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302923831,"filename":"image_18032025_02_01_05_4533.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9fc18332c66387805462957404282f38.jpg","text":"TemporaryFile(/tmp/multipartBody3023169216522470136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302923831,"filename":"image_18032025_02_01_13_3142.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345134465","file1":"1345134462","file0":"1345134458","file4":"1345134471","file5":"1345134476","file3":"1345134468"},"map_files_photo_id_array":[{"photo_id":"1345134476","filename":"file5"},{"photo_id":"1345134465","filename":"file2"},{"photo_id":"1345134471","filename":"file4"},{"photo_id":"1345134462","filename":"file1"},{"photo_id":"1345134458","filename":"file0"},{"photo_id":"1345134468","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345134476":["hashtag1","hashtag2"]},{"1345134458":["hashtag1","hashtag2"]},{"1345134468":["hashtag1","hashtag2"]},{"1345134462":["hashtag1","hashtag2"]},{"1345134471":["hashtag1","hashtag2"]},{"1345134465":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345134476, 1345134458, 1345134468, 1345134462, 1345134471, 1345134465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.640419006347656 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:02:03.369013
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_57_4375.jpg', 2), ('/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_53_4309.jpg', 2), ('/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_49_4106.jpg', 2), ('/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_45_3214.jpg', 2), ('/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_41_3912.jpg', 2), ('/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_38_4335.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_57_4375.jpg', '/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_53_4309.jpg', '/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_49_4106.jpg', '/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_45_3214.jpg', '/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_41_3912.jpg', '/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_38_4335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_57_4375.jpg
/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_53_4309.jpg
/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_49_4106.jpg
/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_45_3214.jpg
/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_41_3912.jpg
/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_38_4335.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345134504","1345134515","1345134498","1345134510","1345134507","1345134501"],"photo_ids_order":["1345134498","1345134501","1345134504","1345134507","1345134510","1345134515"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bd461035bdd11e1d3baef672677b4949.jpg","text":"TemporaryFile(/tmp/multipartBody2208038935890463256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302983861,"filename":"image_18032025_02_00_49_4106.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/df6f9255c3afabe506af0768ce30aa4c.jpg","text":"TemporaryFile(/tmp/multipartBody2332614515461546809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302983861,"filename":"image_18032025_02_00_38_4335.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/806b4f9a19971b684e0779ca8095dbff.jpg","text":"TemporaryFile(/tmp/multipartBody7652199236383913178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302983861,"filename":"image_18032025_02_00_57_4375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ba49bb68ceac27964084b14d30a0df9c.jpg","text":"TemporaryFile(/tmp/multipartBody3100264792813610078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302983861,"filename":"image_18032025_02_00_41_3912.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a260a50364f2c4a68c08b7a832b60326.jpg","text":"TemporaryFile(/tmp/multipartBody362899512452138073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302983861,"filename":"image_18032025_02_00_45_3214.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/54ca061cae396e3c556c94fc51e68986.jpg","text":"TemporaryFile(/tmp/multipartBody3079178565219722131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742302983861,"filename":"image_18032025_02_00_53_4309.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345134504","file1":"1345134501","file0":"1345134498","file4":"1345134510","file5":"1345134515","file3":"1345134507"},"map_files_photo_id_array":[{"photo_id":"1345134515","filename":"file5"},{"photo_id":"1345134504","filename":"file2"},{"photo_id":"1345134510","filename":"file4"},{"photo_id":"1345134501","filename":"file1"},{"photo_id":"1345134498","filename":"file0"},{"photo_id":"1345134507","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345134504":["hashtag1","hashtag2"]},{"1345134515":["hashtag1","hashtag2"]},{"1345134498":["hashtag1","hashtag2"]},{"1345134510":["hashtag1","hashtag2"]},{"1345134507":["hashtag1","hashtag2"]},{"1345134501":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345134504, 1345134515, 1345134498, 1345134510, 1345134507, 1345134501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.3472113609314 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:03:02.923879
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_33_4011.jpg', 2), ('/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_29_4211.jpg', 2), ('/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_25_4206.jpg', 2), ('/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_21_3199.jpg', 2), ('/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_18_3944.jpg', 2), ('/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_14_4181.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_33_4011.jpg', '/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_29_4211.jpg', '/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_25_4206.jpg', '/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_21_3199.jpg', '/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_18_3944.jpg', '/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_14_4181.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_33_4011.jpg
/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_29_4211.jpg
/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_25_4206.jpg
/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_21_3199.jpg
/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_18_3944.jpg
/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_14_4181.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345134575","1345134569","1345134560","1345134583","1345134549","1345134578"],"photo_ids_order":["1345134549","1345134560","1345134569","1345134575","1345134578","1345134583"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ec26728b961c1fb5c99d02a0e5647bad.jpg","text":"TemporaryFile(/tmp/multipartBody2519013679164554795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303043579,"filename":"image_18032025_02_00_21_3199.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e24c71d241d165f3879947b8e53cd05d.jpg","text":"TemporaryFile(/tmp/multipartBody349133061367658133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303043579,"filename":"image_18032025_02_00_25_4206.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ebfae568ad167a1a75b8b5067d65cea2.jpg","text":"TemporaryFile(/tmp/multipartBody942065933313539510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303043579,"filename":"image_18032025_02_00_29_4211.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/41abda2a8fa1dc2d22de908d61e3aeb9.jpg","text":"TemporaryFile(/tmp/multipartBody6500766172691514252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303043579,"filename":"image_18032025_02_00_14_4181.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/588780871ac4e17f767cdc74400e86d3.jpg","text":"TemporaryFile(/tmp/multipartBody6736461223001338915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303043579,"filename":"image_18032025_02_00_33_4011.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/aa4e67b7dd8cf011f41f124d7c6394b3.jpg","text":"TemporaryFile(/tmp/multipartBody8184849691288136371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303043579,"filename":"image_18032025_02_00_18_3944.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345134569","file1":"1345134560","file0":"1345134549","file4":"1345134578","file5":"1345134583","file3":"1345134575"},"map_files_photo_id_array":[{"photo_id":"1345134583","filename":"file5"},{"photo_id":"1345134569","filename":"file2"},{"photo_id":"1345134578","filename":"file4"},{"photo_id":"1345134560","filename":"file1"},{"photo_id":"1345134549","filename":"file0"},{"photo_id":"1345134575","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345134575":["hashtag1","hashtag2"]},{"1345134569":["hashtag1","hashtag2"]},{"1345134560":["hashtag1","hashtag2"]},{"1345134583":["hashtag1","hashtag2"]},{"1345134549":["hashtag1","hashtag2"]},{"1345134578":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345134575, 1345134569, 1345134560, 1345134583, 1345134549, 1345134578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.773895025253296 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:04:03.141812
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_09_4002.jpg', 2), ('/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_05_4763.jpg', 2), ('/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_01_3018.jpg', 2), ('/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_58_4057.jpg', 2), ('/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_54_4046.jpg', 2), ('/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_50_4058.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_09_4002.jpg', '/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_05_4763.jpg', '/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_01_3018.jpg', '/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_58_4057.jpg', '/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_54_4046.jpg', '/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_50_4058.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_09_4002.jpg
/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_05_4763.jpg
/home/nano/Desktop/images/18032025/02/00/image_18032025_02_00_01_3018.jpg
/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_58_4057.jpg
/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_54_4046.jpg
/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_50_4058.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345134629","1345134623","1345134616","1345134601","1345134612","1345134606"],"photo_ids_order":["1345134601","1345134606","1345134612","1345134616","1345134623","1345134629"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/752c243df3de0f5747929dfff6923870.jpg","text":"TemporaryFile(/tmp/multipartBody7195741966202795598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303103790,"filename":"image_18032025_01_59_50_4058.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/47398bdce3f5bac72505cdd34cedc953.jpg","text":"TemporaryFile(/tmp/multipartBody3119858908525454622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303103790,"filename":"image_18032025_01_59_54_4046.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1867d091a185d5f7f982307ce1d81b78.jpg","text":"TemporaryFile(/tmp/multipartBody985408255470149574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303103790,"filename":"image_18032025_01_59_58_4057.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/443e96a2385cb103517c39bc5be66d29.jpg","text":"TemporaryFile(/tmp/multipartBody6816264164516010632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303103790,"filename":"image_18032025_02_00_09_4002.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b1fa8ee91dcfec74c8a70adf5b4d2aa5.jpg","text":"TemporaryFile(/tmp/multipartBody2604009223683723120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303103790,"filename":"image_18032025_02_00_01_3018.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a605c404a51823c0b5721ce50175e965.jpg","text":"TemporaryFile(/tmp/multipartBody3099037343205410063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303103790,"filename":"image_18032025_02_00_05_4763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345134612","file1":"1345134606","file0":"1345134601","file4":"1345134623","file5":"1345134629","file3":"1345134616"},"map_files_photo_id_array":[{"photo_id":"1345134629","filename":"file5"},{"photo_id":"1345134612","filename":"file2"},{"photo_id":"1345134623","filename":"file4"},{"photo_id":"1345134606","filename":"file1"},{"photo_id":"1345134601","filename":"file0"},{"photo_id":"1345134616","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345134629":["hashtag1","hashtag2"]},{"1345134623":["hashtag1","hashtag2"]},{"1345134616":["hashtag1","hashtag2"]},{"1345134601":["hashtag1","hashtag2"]},{"1345134612":["hashtag1","hashtag2"]},{"1345134606":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345134629, 1345134623, 1345134616, 1345134601, 1345134612, 1345134606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.04523420333862 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:05:02.993505
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_46_4077.jpg', 2), ('/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_41_4132.jpg', 2), ('/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_37_4103.jpg', 2), ('/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_33_4063.jpg', 2), ('/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_29_4138.jpg', 2), ('/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_25_4160.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_46_4077.jpg', '/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_41_4132.jpg', '/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_37_4103.jpg', '/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_33_4063.jpg', '/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_29_4138.jpg', '/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_25_4160.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_46_4077.jpg
/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_41_4132.jpg
/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_37_4103.jpg
/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_33_4063.jpg
/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_29_4138.jpg
/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_25_4160.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345134752","1345134757","1345134766","1345134745","1345134748","1345134735"],"photo_ids_order":["1345134735","1345134745","1345134748","1345134752","1345134757","1345134766"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ebb2ef5c3df49e1576a7f398f6d9ab21.jpg","text":"TemporaryFile(/tmp/multipartBody4155474739093305775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303163598,"filename":"image_18032025_01_59_33_4063.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/46132225b3fef8f5b6e070be67e8ac73.jpg","text":"TemporaryFile(/tmp/multipartBody8604328487983404716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303163598,"filename":"image_18032025_01_59_29_4138.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/893abacb3a900339ee5c7bfeb4fa463d.jpg","text":"TemporaryFile(/tmp/multipartBody1530806288809574486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303163598,"filename":"image_18032025_01_59_25_4160.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/be4f7108c2be3c23d254503141016cfd.jpg","text":"TemporaryFile(/tmp/multipartBody8556402756180457890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303163598,"filename":"image_18032025_01_59_41_4132.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b2773030e7153d8c96111a7f3dee34b7.jpg","text":"TemporaryFile(/tmp/multipartBody5543706784822481825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303163598,"filename":"image_18032025_01_59_37_4103.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/753e92d8857f8b00b5941515ba9df609.jpg","text":"TemporaryFile(/tmp/multipartBody7983352528878861382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303163598,"filename":"image_18032025_01_59_46_4077.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345134748","file1":"1345134745","file0":"1345134735","file4":"1345134757","file5":"1345134766","file3":"1345134752"},"map_files_photo_id_array":[{"photo_id":"1345134766","filename":"file5"},{"photo_id":"1345134748","filename":"file2"},{"photo_id":"1345134757","filename":"file4"},{"photo_id":"1345134745","filename":"file1"},{"photo_id":"1345134735","filename":"file0"},{"photo_id":"1345134752","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345134752":["hashtag1","hashtag2"]},{"1345134757":["hashtag1","hashtag2"]},{"1345134766":["hashtag1","hashtag2"]},{"1345134745":["hashtag1","hashtag2"]},{"1345134748":["hashtag1","hashtag2"]},{"1345134735":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345134752, 1345134757, 1345134766, 1345134745, 1345134748, 1345134735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.904149532318115 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:06:03.251543
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_21_4033.jpg', 2), ('/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_17_3154.jpg', 2), ('/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_14_4215.jpg', 2), ('/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_09_4210.jpg', 2), ('/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_05_4518.jpg', 2), ('/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_01_3146.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_21_4033.jpg', '/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_17_3154.jpg', '/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_14_4215.jpg', '/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_09_4210.jpg', '/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_05_4518.jpg', '/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_01_3146.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_21_4033.jpg
/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_17_3154.jpg
/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_14_4215.jpg
/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_09_4210.jpg
/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_05_4518.jpg
/home/nano/Desktop/images/18032025/01/59/image_18032025_01_59_01_3146.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345134812","1345134815","1345134796","1345134829","1345134819","1345134807"],"photo_ids_order":["1345134796","1345134807","1345134812","1345134815","1345134819","1345134829"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dbf9c6d66abfbb95a2795094124133a9.jpg","text":"TemporaryFile(/tmp/multipartBody1658511713276396040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303223769,"filename":"image_18032025_01_59_14_4215.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/561fbc2864d9ed0861096525e5ec7a8d.jpg","text":"TemporaryFile(/tmp/multipartBody3573997970802714115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303223769,"filename":"image_18032025_01_59_09_4210.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f985cc02f8869fd70e8cedf77b5c65d7.jpg","text":"TemporaryFile(/tmp/multipartBody2597126213167070531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303223769,"filename":"image_18032025_01_59_21_4033.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/471a0e736461b7f38da15aa486e4a573.jpg","text":"TemporaryFile(/tmp/multipartBody918816980194459276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303223769,"filename":"image_18032025_01_59_01_3146.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/daf64c4b8f7c8e839d72f552c6dd82b7.jpg","text":"TemporaryFile(/tmp/multipartBody8318350896693810730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303223769,"filename":"image_18032025_01_59_05_4518.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/13ad0d4ba0d11763351ddbffb2a09009.jpg","text":"TemporaryFile(/tmp/multipartBody1700914342840063993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303223769,"filename":"image_18032025_01_59_17_3154.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345134812","file1":"1345134807","file0":"1345134796","file4":"1345134819","file5":"1345134829","file3":"1345134815"},"map_files_photo_id_array":[{"photo_id":"1345134829","filename":"file5"},{"photo_id":"1345134812","filename":"file2"},{"photo_id":"1345134819","filename":"file4"},{"photo_id":"1345134807","filename":"file1"},{"photo_id":"1345134796","filename":"file0"},{"photo_id":"1345134815","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345134812":["hashtag1","hashtag2"]},{"1345134815":["hashtag1","hashtag2"]},{"1345134796":["hashtag1","hashtag2"]},{"1345134829":["hashtag1","hashtag2"]},{"1345134819":["hashtag1","hashtag2"]},{"1345134807":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345134812, 1345134815, 1345134796, 1345134829, 1345134819, 1345134807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.502487897872925 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:07:03.527527
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_58_4164.jpg', 2), ('/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_53_4130.jpg', 2), ('/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_49_4203.jpg', 2), ('/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_45_4306.jpg', 2), ('/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_41_3236.jpg', 2), ('/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_38_4174.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_58_4164.jpg', '/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_53_4130.jpg', '/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_49_4203.jpg', '/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_45_4306.jpg', '/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_41_3236.jpg', '/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_38_4174.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_58_4164.jpg
/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_53_4130.jpg
/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_49_4203.jpg
/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_45_4306.jpg
/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_41_3236.jpg
/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_38_4174.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345135232","1345135195","1345135159","1345135216","1345135125","1345135181"],"photo_ids_order":["1345135125","1345135159","1345135181","1345135195","1345135216","1345135232"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/96c30b3f918d188e27e38759dbcab0a9.jpg","text":"TemporaryFile(/tmp/multipartBody2154786979091779162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303284071,"filename":"image_18032025_01_58_38_4174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ee4482c18bbe6dc0bdc96d42d8c01822.jpg","text":"TemporaryFile(/tmp/multipartBody6397291837533934035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303284071,"filename":"image_18032025_01_58_45_4306.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7fb4a6ac054113d27a6e6ce14768efed.jpg","text":"TemporaryFile(/tmp/multipartBody784391717402481176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303284071,"filename":"image_18032025_01_58_53_4130.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6d9f2c0e77f1f8c8c473220c590b7e6a.jpg","text":"TemporaryFile(/tmp/multipartBody3783161709624356296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303284071,"filename":"image_18032025_01_58_41_3236.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4e8a008c784d6487340e6cd0b1f1543b.jpg","text":"TemporaryFile(/tmp/multipartBody4877260528666955940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303284071,"filename":"image_18032025_01_58_58_4164.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a3dd44645df3d4a2b33759c2e02f1ae5.jpg","text":"TemporaryFile(/tmp/multipartBody112661664091767489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303284071,"filename":"image_18032025_01_58_49_4203.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345135181","file1":"1345135159","file0":"1345135125","file4":"1345135216","file5":"1345135232","file3":"1345135195"},"map_files_photo_id_array":[{"photo_id":"1345135232","filename":"file5"},{"photo_id":"1345135181","filename":"file2"},{"photo_id":"1345135216","filename":"file4"},{"photo_id":"1345135159","filename":"file1"},{"photo_id":"1345135125","filename":"file0"},{"photo_id":"1345135195","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345135232":["hashtag1","hashtag2"]},{"1345135195":["hashtag1","hashtag2"]},{"1345135159":["hashtag1","hashtag2"]},{"1345135216":["hashtag1","hashtag2"]},{"1345135125":["hashtag1","hashtag2"]},{"1345135181":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345135232, 1345135195, 1345135159, 1345135216, 1345135125, 1345135181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.42748212814331 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:08:02.815430
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_33_4132.jpg', 2), ('/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_29_4163.jpg', 2), ('/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_25_4229.jpg', 2), ('/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_21_4061.jpg', 2), ('/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_17_3101.jpg', 2), ('/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_14_4076.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_33_4132.jpg', '/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_29_4163.jpg', '/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_25_4229.jpg', '/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_21_4061.jpg', '/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_17_3101.jpg', '/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_14_4076.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_33_4132.jpg
/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_29_4163.jpg
/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_25_4229.jpg
/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_21_4061.jpg
/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_17_3101.jpg
/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_14_4076.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345135288","1345135282","1345135276","1345135291","1345135285","1345135279"],"photo_ids_order":["1345135276","1345135279","1345135282","1345135285","1345135288","1345135291"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a7b03fc5c0f034acdca99db26c07e266.jpg","text":"TemporaryFile(/tmp/multipartBody348539058014548519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303343292,"filename":"image_18032025_01_58_17_3101.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3013eb3fc00ecc0503205528bbcd48de.jpg","text":"TemporaryFile(/tmp/multipartBody7626758439568479823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303343292,"filename":"image_18032025_01_58_25_4229.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/38fc29bde05ea96ff2ba4ac4819c4bdf.jpg","text":"TemporaryFile(/tmp/multipartBody2497591520269640293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303343292,"filename":"image_18032025_01_58_33_4132.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2acdcebeb1e231bb446477de92faa297.jpg","text":"TemporaryFile(/tmp/multipartBody8976856480420536306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303343292,"filename":"image_18032025_01_58_14_4076.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d48886a8f2a75e688f554b5359efa3f2.jpg","text":"TemporaryFile(/tmp/multipartBody7175097266705802781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303343292,"filename":"image_18032025_01_58_21_4061.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e3a1ccb4a105a3a83df9e0332b677b41.jpg","text":"TemporaryFile(/tmp/multipartBody5831861729271401872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303343292,"filename":"image_18032025_01_58_29_4163.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345135282","file1":"1345135279","file0":"1345135276","file4":"1345135288","file5":"1345135291","file3":"1345135285"},"map_files_photo_id_array":[{"photo_id":"1345135291","filename":"file5"},{"photo_id":"1345135282","filename":"file2"},{"photo_id":"1345135288","filename":"file4"},{"photo_id":"1345135279","filename":"file1"},{"photo_id":"1345135276","filename":"file0"},{"photo_id":"1345135285","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345135288":["hashtag1","hashtag2"]},{"1345135282":["hashtag1","hashtag2"]},{"1345135276":["hashtag1","hashtag2"]},{"1345135291":["hashtag1","hashtag2"]},{"1345135285":["hashtag1","hashtag2"]},{"1345135279":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345135288, 1345135282, 1345135276, 1345135291, 1345135285, 1345135279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.9012610912323 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:09:02.997080
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_10_4185.jpg', 2), ('/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_05_4633.jpg', 2), ('/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_01_3126.jpg', 2), ('/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_58_4132.jpg', 2), ('/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_54_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_49_4154.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_10_4185.jpg', '/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_05_4633.jpg', '/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_01_3126.jpg', '/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_58_4132.jpg', '/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_54_4051.jpg', '/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_49_4154.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_10_4185.jpg
/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_05_4633.jpg
/home/nano/Desktop/images/18032025/01/58/image_18032025_01_58_01_3126.jpg
/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_58_4132.jpg
/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_54_4051.jpg
/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_49_4154.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345135322","1345135316","1345135325","1345135319","1345135313","1345135330"],"photo_ids_order":["1345135313","1345135316","1345135319","1345135322","1345135325","1345135330"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6787b140b9665f5d3f01b5b5481ee833.jpg","text":"TemporaryFile(/tmp/multipartBody7523014880125199387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303403496,"filename":"image_18032025_01_57_58_4132.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b01541cf3dad577f4104e35b7aae9805.jpg","text":"TemporaryFile(/tmp/multipartBody5999660918406970247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303403496,"filename":"image_18032025_01_58_05_4633.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4d21eee0b18ea90012883d58a43908dd.jpg","text":"TemporaryFile(/tmp/multipartBody3476513003064559272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303403496,"filename":"image_18032025_01_57_54_4051.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ae0983ca521623f64cebd4125b978203.jpg","text":"TemporaryFile(/tmp/multipartBody1411648677528504784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303403496,"filename":"image_18032025_01_58_01_3126.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/462dcd6052170fc8f5b1682c3893b5f7.jpg","text":"TemporaryFile(/tmp/multipartBody3649638278306278987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303403496,"filename":"image_18032025_01_58_10_4185.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bd92336738580a14feb715124055740e.jpg","text":"TemporaryFile(/tmp/multipartBody7093811725031579030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303403496,"filename":"image_18032025_01_57_49_4154.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345135319","file1":"1345135316","file0":"1345135313","file4":"1345135325","file5":"1345135330","file3":"1345135322"},"map_files_photo_id_array":[{"photo_id":"1345135330","filename":"file5"},{"photo_id":"1345135319","filename":"file2"},{"photo_id":"1345135325","filename":"file4"},{"photo_id":"1345135316","filename":"file1"},{"photo_id":"1345135313","filename":"file0"},{"photo_id":"1345135322","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345135322":["hashtag1","hashtag2"]},{"1345135316":["hashtag1","hashtag2"]},{"1345135325":["hashtag1","hashtag2"]},{"1345135319":["hashtag1","hashtag2"]},{"1345135313":["hashtag1","hashtag2"]},{"1345135330":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345135322, 1345135316, 1345135325, 1345135319, 1345135313, 1345135330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.10126066207886 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:10:03.083145
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_45_4171.jpg', 2), ('/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_41_4170.jpg', 2), ('/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_37_4199.jpg', 2), ('/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_33_3196.jpg', 2), ('/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_30_4170.jpg', 2), ('/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_25_4169.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_45_4171.jpg', '/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_41_4170.jpg', '/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_37_4199.jpg', '/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_33_3196.jpg', '/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_30_4170.jpg', '/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_25_4169.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_45_4171.jpg
/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_41_4170.jpg
/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_37_4199.jpg
/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_33_3196.jpg
/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_30_4170.jpg
/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_25_4169.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345135387","1345135381","1345135390","1345135384","1345135378","1345135395"],"photo_ids_order":["1345135378","1345135381","1345135384","1345135387","1345135390","1345135395"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e852267a20800eb35f5504045c3a1434.jpg","text":"TemporaryFile(/tmp/multipartBody5293618988219116145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303463646,"filename":"image_18032025_01_57_33_3196.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1b5572db0e89467db6c8dc47f1630ec5.jpg","text":"TemporaryFile(/tmp/multipartBody8607749947668009734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303463646,"filename":"image_18032025_01_57_41_4170.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/23c2d4aa97d495ee7083b8d26fec0df0.jpg","text":"TemporaryFile(/tmp/multipartBody4274844404243884416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303463646,"filename":"image_18032025_01_57_30_4170.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/99ed895f120d28e9b1fb759f9dcdf15b.jpg","text":"TemporaryFile(/tmp/multipartBody1452866016057136019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303463646,"filename":"image_18032025_01_57_37_4199.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/429fc2265ba88a6e52609f6e18ba701c.jpg","text":"TemporaryFile(/tmp/multipartBody1853737746555796448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303463646,"filename":"image_18032025_01_57_45_4171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ad64ea02867274d428f212ae00c736d7.jpg","text":"TemporaryFile(/tmp/multipartBody5802687400377359412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303463646,"filename":"image_18032025_01_57_25_4169.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345135384","file1":"1345135381","file0":"1345135378","file4":"1345135390","file5":"1345135395","file3":"1345135387"},"map_files_photo_id_array":[{"photo_id":"1345135395","filename":"file5"},{"photo_id":"1345135384","filename":"file2"},{"photo_id":"1345135390","filename":"file4"},{"photo_id":"1345135381","filename":"file1"},{"photo_id":"1345135378","filename":"file0"},{"photo_id":"1345135387","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345135387":["hashtag1","hashtag2"]},{"1345135381":["hashtag1","hashtag2"]},{"1345135390":["hashtag1","hashtag2"]},{"1345135384":["hashtag1","hashtag2"]},{"1345135378":["hashtag1","hashtag2"]},{"1345135395":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345135387, 1345135381, 1345135390, 1345135384, 1345135378, 1345135395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.288629293441772 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:11:03.217804
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_21_4165.jpg', 2), ('/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_17_4111.jpg', 2), ('/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_13_4168.jpg', 2), ('/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_09_4030.jpg', 2), ('/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_05_3792.jpg', 2), ('/home/nano/Desktop/images/18032025/01/56/image_18032025_01_57_01_4152.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_21_4165.jpg', '/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_17_4111.jpg', '/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_13_4168.jpg', '/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_09_4030.jpg', '/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_05_3792.jpg', '/home/nano/Desktop/images/18032025/01/56/image_18032025_01_57_01_4152.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_21_4165.jpg
/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_17_4111.jpg
/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_13_4168.jpg
/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_09_4030.jpg
/home/nano/Desktop/images/18032025/01/57/image_18032025_01_57_05_3792.jpg
/home/nano/Desktop/images/18032025/01/56/image_18032025_01_57_01_4152.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345135700","1345135684","1345135675","1345135575","1345135524","1345135527"],"photo_ids_order":["1345135524","1345135527","1345135575","1345135675","1345135684","1345135700"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/995bae2ca88b98a7fc75fbbf7c1fa1be.jpg","text":"TemporaryFile(/tmp/multipartBody5097514874969138057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303523771,"filename":"image_18032025_01_57_01_4152.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c4b4080f19d8efc1e1b064d3f9af2ab8.jpg","text":"TemporaryFile(/tmp/multipartBody527621403672542836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303523771,"filename":"image_18032025_01_57_05_3792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/93d191ac6fcbbe3062393f6c37348104.jpg","text":"TemporaryFile(/tmp/multipartBody7144405845964323156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303523771,"filename":"image_18032025_01_57_09_4030.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a02878158c0cd1fa79320cb67a3be2fa.jpg","text":"TemporaryFile(/tmp/multipartBody3540850631424471114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303523771,"filename":"image_18032025_01_57_13_4168.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/55f3459c83723b4b9f2ec807e66ff8e8.jpg","text":"TemporaryFile(/tmp/multipartBody4701143467023222350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303523771,"filename":"image_18032025_01_57_21_4165.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/025530b66c97b9a878cca151864d4356.jpg","text":"TemporaryFile(/tmp/multipartBody74041093561868322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303523771,"filename":"image_18032025_01_57_17_4111.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345135575","file1":"1345135527","file0":"1345135524","file4":"1345135684","file5":"1345135700","file3":"1345135675"},"map_files_photo_id_array":[{"photo_id":"1345135700","filename":"file5"},{"photo_id":"1345135575","filename":"file2"},{"photo_id":"1345135684","filename":"file4"},{"photo_id":"1345135527","filename":"file1"},{"photo_id":"1345135524","filename":"file0"},{"photo_id":"1345135675","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345135700":["hashtag1","hashtag2"]},{"1345135684":["hashtag1","hashtag2"]},{"1345135675":["hashtag1","hashtag2"]},{"1345135575":["hashtag1","hashtag2"]},{"1345135524":["hashtag1","hashtag2"]},{"1345135527":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345135700, 1345135684, 1345135675, 1345135575, 1345135524, 1345135527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.41874694824219 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:12:03.352563
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_57_3125.jpg', 2), ('/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_54_4175.jpg', 2), ('/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_50_4188.jpg', 2), ('/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_45_4124.jpg', 2), ('/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_41_4095.jpg', 2), ('/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_37_4085.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_57_3125.jpg', '/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_54_4175.jpg', '/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_50_4188.jpg', '/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_45_4124.jpg', '/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_41_4095.jpg', '/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_37_4085.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_57_3125.jpg
/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_54_4175.jpg
/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_50_4188.jpg
/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_45_4124.jpg
/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_41_4095.jpg
/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_37_4085.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345135741","1345135749","1345135754","1345135763","1345135757","1345135745"],"photo_ids_order":["1345135741","1345135745","1345135749","1345135754","1345135757","1345135763"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f95db789672ca0b4c0f656f8593952f5.jpg","text":"TemporaryFile(/tmp/multipartBody7641928616382930463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303583882,"filename":"image_18032025_01_56_57_3125.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/682e6f19269dbd6598ca36ec506f7435.jpg","text":"TemporaryFile(/tmp/multipartBody4828675104275235761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303583882,"filename":"image_18032025_01_56_50_4188.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7f1c9e58c358e64c47b36e61eb35a7b2.jpg","text":"TemporaryFile(/tmp/multipartBody4759681461681654017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303583882,"filename":"image_18032025_01_56_45_4124.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/88543df8cf4294115b608683f1ad8fcd.jpg","text":"TemporaryFile(/tmp/multipartBody8978611388252256937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303583882,"filename":"image_18032025_01_56_37_4085.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f4977b8b01d10ed14d24870bee68fded.jpg","text":"TemporaryFile(/tmp/multipartBody2521930423171773117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303583882,"filename":"image_18032025_01_56_41_4095.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/631e42bb0db96c45bf0225558d7418c9.jpg","text":"TemporaryFile(/tmp/multipartBody3292692961804578112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303583882,"filename":"image_18032025_01_56_54_4175.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345135749","file1":"1345135745","file0":"1345135741","file4":"1345135757","file5":"1345135763","file3":"1345135754"},"map_files_photo_id_array":[{"photo_id":"1345135763","filename":"file5"},{"photo_id":"1345135749","filename":"file2"},{"photo_id":"1345135757","filename":"file4"},{"photo_id":"1345135745","filename":"file1"},{"photo_id":"1345135741","filename":"file0"},{"photo_id":"1345135754","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345135741":["hashtag1","hashtag2"]},{"1345135749":["hashtag1","hashtag2"]},{"1345135754":["hashtag1","hashtag2"]},{"1345135763":["hashtag1","hashtag2"]},{"1345135757":["hashtag1","hashtag2"]},{"1345135745":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345135741, 1345135749, 1345135754, 1345135763, 1345135757, 1345135745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.879276752471924 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:13:03.523505
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_33_3846.jpg', 2), ('/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_29_4133.jpg', 2), ('/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_25_4085.jpg', 2), ('/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_21_4207.jpg', 2), ('/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_17_3226.jpg', 2), ('/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_14_4244.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_33_3846.jpg', '/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_29_4133.jpg', '/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_25_4085.jpg', '/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_21_4207.jpg', '/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_17_3226.jpg', '/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_14_4244.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_33_3846.jpg
/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_29_4133.jpg
/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_25_4085.jpg
/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_21_4207.jpg
/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_17_3226.jpg
/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_14_4244.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345135798","1345135792","1345135786","1345135795","1345135789","1345135803"],"photo_ids_order":["1345135786","1345135789","1345135792","1345135795","1345135798","1345135803"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dc29084c0bd38ab68717f4af32a5cedc.jpg","text":"TemporaryFile(/tmp/multipartBody2396685475091233947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303644101,"filename":"image_18032025_01_56_17_3226.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4a6b25086802e25567020d012175bfdf.jpg","text":"TemporaryFile(/tmp/multipartBody5839250558360613693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303644101,"filename":"image_18032025_01_56_25_4085.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6f536178bc00afbfa4e67926ce4c30e5.jpg","text":"TemporaryFile(/tmp/multipartBody340650101895704538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303644101,"filename":"image_18032025_01_56_33_3846.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ae20021d459d3228f10577c992b0694b.jpg","text":"TemporaryFile(/tmp/multipartBody1380122210739271761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303644101,"filename":"image_18032025_01_56_21_4207.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2227b18a8e75a36faa78163a5f5fd8a4.jpg","text":"TemporaryFile(/tmp/multipartBody4558054771617712152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303644101,"filename":"image_18032025_01_56_29_4133.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/25142f1a3a6287c49efee151a1da46ec.jpg","text":"TemporaryFile(/tmp/multipartBody1348728022051063434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303644101,"filename":"image_18032025_01_56_14_4244.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345135792","file1":"1345135789","file0":"1345135786","file4":"1345135798","file5":"1345135803","file3":"1345135795"},"map_files_photo_id_array":[{"photo_id":"1345135803","filename":"file5"},{"photo_id":"1345135792","filename":"file2"},{"photo_id":"1345135798","filename":"file4"},{"photo_id":"1345135789","filename":"file1"},{"photo_id":"1345135786","filename":"file0"},{"photo_id":"1345135795","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345135798":["hashtag1","hashtag2"]},{"1345135792":["hashtag1","hashtag2"]},{"1345135786":["hashtag1","hashtag2"]},{"1345135795":["hashtag1","hashtag2"]},{"1345135789":["hashtag1","hashtag2"]},{"1345135803":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345135798, 1345135792, 1345135786, 1345135795, 1345135789, 1345135803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04304909706116 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:14:03.085661
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_09_4367.jpg', 2), ('/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_05_3884.jpg', 2), ('/home/nano/Desktop/images/18032025/01/55/image_18032025_01_56_01_4289.jpg', 2), ('/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_57_3186.jpg', 2), ('/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_54_4307.jpg', 2), ('/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_49_4300.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_09_4367.jpg', '/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_05_3884.jpg', '/home/nano/Desktop/images/18032025/01/55/image_18032025_01_56_01_4289.jpg', '/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_57_3186.jpg', '/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_54_4307.jpg', '/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_49_4300.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_09_4367.jpg
/home/nano/Desktop/images/18032025/01/56/image_18032025_01_56_05_3884.jpg
/home/nano/Desktop/images/18032025/01/55/image_18032025_01_56_01_4289.jpg
/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_57_3186.jpg
/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_54_4307.jpg
/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_49_4300.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345135832","1345135826","1345135829","1345135843","1345135837","1345135823"],"photo_ids_order":["1345135823","1345135826","1345135829","1345135832","1345135837","1345135843"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/78dcad45d13920a914c1f10ea271e346.jpg","text":"TemporaryFile(/tmp/multipartBody3701324440595052290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303703724,"filename":"image_18032025_01_55_57_3186.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/39a46344169bb519699b7d0937e9c6ae.jpg","text":"TemporaryFile(/tmp/multipartBody6586812171074513940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303703724,"filename":"image_18032025_01_56_05_3884.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/33ac8f613d591ecf661787f383de77d7.jpg","text":"TemporaryFile(/tmp/multipartBody989528087467552421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303703724,"filename":"image_18032025_01_56_01_4289.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5f9171db02b1c87d9469bf5dcebcf1e9.jpg","text":"TemporaryFile(/tmp/multipartBody1096251855270436073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303703724,"filename":"image_18032025_01_55_49_4300.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5527f86f8f89860b952b26db47f34e00.jpg","text":"TemporaryFile(/tmp/multipartBody3695810069519841662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303703724,"filename":"image_18032025_01_55_54_4307.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/089615392ba359b5702f57ea9f0723e6.jpg","text":"TemporaryFile(/tmp/multipartBody5766837821073214588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303703724,"filename":"image_18032025_01_56_09_4367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345135829","file1":"1345135826","file0":"1345135823","file4":"1345135837","file5":"1345135843","file3":"1345135832"},"map_files_photo_id_array":[{"photo_id":"1345135843","filename":"file5"},{"photo_id":"1345135829","filename":"file2"},{"photo_id":"1345135837","filename":"file4"},{"photo_id":"1345135826","filename":"file1"},{"photo_id":"1345135823","filename":"file0"},{"photo_id":"1345135832","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345135832":["hashtag1","hashtag2"]},{"1345135826":["hashtag1","hashtag2"]},{"1345135829":["hashtag1","hashtag2"]},{"1345135843":["hashtag1","hashtag2"]},{"1345135837":["hashtag1","hashtag2"]},{"1345135823":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345135832, 1345135826, 1345135829, 1345135843, 1345135837, 1345135823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.05259466171265 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:15:03.065766
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_45_4166.jpg', 2), ('/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_41_3136.jpg', 2), ('/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_38_4188.jpg', 2), ('/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_33_4122.jpg', 2), ('/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_29_4056.jpg', 2), ('/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_25_4112.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_45_4166.jpg', '/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_41_3136.jpg', '/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_38_4188.jpg', '/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_33_4122.jpg', '/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_29_4056.jpg', '/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_25_4112.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_45_4166.jpg
/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_41_3136.jpg
/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_38_4188.jpg
/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_33_4122.jpg
/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_29_4056.jpg
/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_25_4112.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345135910","1345135939","1345135881","1345135884","1345135866","1345135892"],"photo_ids_order":["1345135866","1345135881","1345135884","1345135892","1345135910","1345135939"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b35872f514ab0362ce5a5b4ded18bdc4.jpg","text":"TemporaryFile(/tmp/multipartBody1858165191176708938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303763659,"filename":"image_18032025_01_55_29_4056.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f9349be7a96a3c37bc4fca4cdcb3f1e5.jpg","text":"TemporaryFile(/tmp/multipartBody146014274560071999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303763659,"filename":"image_18032025_01_55_25_4112.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9d847ae569eb342040234acc2670eae1.jpg","text":"TemporaryFile(/tmp/multipartBody6013933706074162594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303763659,"filename":"image_18032025_01_55_41_3136.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0c52e9c762ce14ea4118a4a15e4fe4ef.jpg","text":"TemporaryFile(/tmp/multipartBody2461020088144060607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303763659,"filename":"image_18032025_01_55_38_4188.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/35fe2002880910e20700f2d1626659b8.jpg","text":"TemporaryFile(/tmp/multipartBody708151356561066311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303763659,"filename":"image_18032025_01_55_45_4166.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4a9cc476855cb911c856692e252d2ad8.jpg","text":"TemporaryFile(/tmp/multipartBody7614050683122862273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303763659,"filename":"image_18032025_01_55_33_4122.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345135884","file1":"1345135881","file0":"1345135866","file4":"1345135910","file5":"1345135939","file3":"1345135892"},"map_files_photo_id_array":[{"photo_id":"1345135939","filename":"file5"},{"photo_id":"1345135884","filename":"file2"},{"photo_id":"1345135910","filename":"file4"},{"photo_id":"1345135881","filename":"file1"},{"photo_id":"1345135866","filename":"file0"},{"photo_id":"1345135892","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345135910":["hashtag1","hashtag2"]},{"1345135939":["hashtag1","hashtag2"]},{"1345135881":["hashtag1","hashtag2"]},{"1345135884":["hashtag1","hashtag2"]},{"1345135866":["hashtag1","hashtag2"]},{"1345135892":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345135910, 1345135939, 1345135881, 1345135884, 1345135866, 1345135892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39062166213989 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:16:03.148755
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_21_4132.jpg', 2), ('/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_17_4142.jpg', 2), ('/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_13_3979.jpg', 2), ('/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_09_4016.jpg', 2), ('/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_05_3571.jpg', 2), ('/home/nano/Desktop/images/18032025/01/54/image_18032025_01_55_01_4055.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_21_4132.jpg', '/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_17_4142.jpg', '/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_13_3979.jpg', '/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_09_4016.jpg', '/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_05_3571.jpg', '/home/nano/Desktop/images/18032025/01/54/image_18032025_01_55_01_4055.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_21_4132.jpg
/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_17_4142.jpg
/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_13_3979.jpg
/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_09_4016.jpg
/home/nano/Desktop/images/18032025/01/55/image_18032025_01_55_05_3571.jpg
/home/nano/Desktop/images/18032025/01/54/image_18032025_01_55_01_4055.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345136056","1345136066","1345136069","1345136060","1345136063","1345136074"],"photo_ids_order":["1345136056","1345136060","1345136063","1345136066","1345136069","1345136074"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c93d13a027c061da5b5fbcda6659172b.jpg","text":"TemporaryFile(/tmp/multipartBody2530497021142315982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303823788,"filename":"image_18032025_01_55_21_4132.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6fa6ebff8c7f539dfb587693ec08b865.jpg","text":"TemporaryFile(/tmp/multipartBody5334229626689460391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303823788,"filename":"image_18032025_01_55_09_4016.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/eaee422faabcab9e37a70353ce6a7dc9.jpg","text":"TemporaryFile(/tmp/multipartBody2365457557169469825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303823788,"filename":"image_18032025_01_55_05_3571.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c37c68c0f8157261c97b590c678126ef.jpg","text":"TemporaryFile(/tmp/multipartBody3972217133586664108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303823788,"filename":"image_18032025_01_55_17_4142.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/01940da019154f48cf878298c8e66315.jpg","text":"TemporaryFile(/tmp/multipartBody1326979822195070638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303823788,"filename":"image_18032025_01_55_13_3979.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ea12179be10ef6f2bfe5495c4410254e.jpg","text":"TemporaryFile(/tmp/multipartBody1679491765151094974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303823788,"filename":"image_18032025_01_55_01_4055.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345136063","file1":"1345136060","file0":"1345136056","file4":"1345136069","file5":"1345136074","file3":"1345136066"},"map_files_photo_id_array":[{"photo_id":"1345136074","filename":"file5"},{"photo_id":"1345136063","filename":"file2"},{"photo_id":"1345136069","filename":"file4"},{"photo_id":"1345136060","filename":"file1"},{"photo_id":"1345136056","filename":"file0"},{"photo_id":"1345136066","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345136056":["hashtag1","hashtag2"]},{"1345136066":["hashtag1","hashtag2"]},{"1345136069":["hashtag1","hashtag2"]},{"1345136060":["hashtag1","hashtag2"]},{"1345136063":["hashtag1","hashtag2"]},{"1345136074":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345136056, 1345136066, 1345136069, 1345136060, 1345136063, 1345136074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.54471468925476 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:17:03.411649
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_57_4121.jpg', 2), ('/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_53_4105.jpg', 2), ('/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_49_4125.jpg', 2), ('/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_45_4025.jpg', 2), ('/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_41_4107.jpg', 2), ('/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_37_4063.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_57_4121.jpg', '/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_53_4105.jpg', '/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_49_4125.jpg', '/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_45_4025.jpg', '/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_41_4107.jpg', '/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_37_4063.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_57_4121.jpg
/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_53_4105.jpg
/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_49_4125.jpg
/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_45_4025.jpg
/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_41_4107.jpg
/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_37_4063.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345136107","1345136101","1345136103","1345136099","1345136111","1345136105"],"photo_ids_order":["1345136099","1345136101","1345136103","1345136105","1345136107","1345136111"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/760b148bcf8ab75709cb02aee7ae17eb.jpg","text":"TemporaryFile(/tmp/multipartBody6824184769012167341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303883954,"filename":"image_18032025_01_54_41_4107.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5f54ca7d110e4dba31f615e8b4abb1db.jpg","text":"TemporaryFile(/tmp/multipartBody5533299182277384325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303883954,"filename":"image_18032025_01_54_53_4105.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8a6f700a983446fb4670b4c58ceb3f4c.jpg","text":"TemporaryFile(/tmp/multipartBody2638383481612371884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303883954,"filename":"image_18032025_01_54_49_4125.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/759ff371e4245e04262e73cb94764a74.jpg","text":"TemporaryFile(/tmp/multipartBody3729526755451738302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303883954,"filename":"image_18032025_01_54_57_4121.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f3eb7e9bb1a6b15b720e4e46042f30d7.jpg","text":"TemporaryFile(/tmp/multipartBody358726241366484872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303883954,"filename":"image_18032025_01_54_37_4063.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/126848b820923bdb695174ce3c02fd76.jpg","text":"TemporaryFile(/tmp/multipartBody5572166194943855975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303883954,"filename":"image_18032025_01_54_45_4025.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345136103","file1":"1345136101","file0":"1345136099","file4":"1345136107","file5":"1345136111","file3":"1345136105"},"map_files_photo_id_array":[{"photo_id":"1345136111","filename":"file5"},{"photo_id":"1345136103","filename":"file2"},{"photo_id":"1345136107","filename":"file4"},{"photo_id":"1345136101","filename":"file1"},{"photo_id":"1345136099","filename":"file0"},{"photo_id":"1345136105","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345136107":["hashtag1","hashtag2"]},{"1345136101":["hashtag1","hashtag2"]},{"1345136103":["hashtag1","hashtag2"]},{"1345136099":["hashtag1","hashtag2"]},{"1345136111":["hashtag1","hashtag2"]},{"1345136105":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345136107, 1345136101, 1345136103, 1345136099, 1345136111, 1345136105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.71309185028076 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:18:03.252535
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_33_3157.jpg', 2), ('/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_30_4310.jpg', 2), ('/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_25_4273.jpg', 2), ('/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_21_3294.jpg', 2), ('/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_18_4314.jpg', 2), ('/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_13_4256.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_33_3157.jpg', '/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_30_4310.jpg', '/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_25_4273.jpg', '/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_21_3294.jpg', '/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_18_4314.jpg', '/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_13_4256.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_33_3157.jpg
/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_30_4310.jpg
/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_25_4273.jpg
/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_21_3294.jpg
/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_18_4314.jpg
/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_13_4256.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345136146","1345136149","1345136154","1345136142","1345136150","1345136144"],"photo_ids_order":["1345136142","1345136144","1345136146","1345136149","1345136150","1345136154"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/805e7a0a326d96ddb5ef8987b59b2839.jpg","text":"TemporaryFile(/tmp/multipartBody4249202073511944446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303943797,"filename":"image_18032025_01_54_25_4273.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d8b48262f8f133a5e00f1d7b5a181106.jpg","text":"TemporaryFile(/tmp/multipartBody3667545813065706394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303943797,"filename":"image_18032025_01_54_21_3294.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/305c60259f72a02677e4270842415d66.jpg","text":"TemporaryFile(/tmp/multipartBody403313289468131846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303943797,"filename":"image_18032025_01_54_13_4256.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ac7784fb2c4516b362e315ea9260d91b.jpg","text":"TemporaryFile(/tmp/multipartBody5374667718954981929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303943797,"filename":"image_18032025_01_54_33_3157.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0e517a08d868a4ff76d4cb13a540e70f.jpg","text":"TemporaryFile(/tmp/multipartBody1827817035635313553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303943797,"filename":"image_18032025_01_54_18_4314.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cf7beb8653cca903aa63056e9b77bb0b.jpg","text":"TemporaryFile(/tmp/multipartBody6316914497542038264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742303943797,"filename":"image_18032025_01_54_30_4310.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345136146","file1":"1345136144","file0":"1345136142","file4":"1345136150","file5":"1345136154","file3":"1345136149"},"map_files_photo_id_array":[{"photo_id":"1345136154","filename":"file5"},{"photo_id":"1345136146","filename":"file2"},{"photo_id":"1345136150","filename":"file4"},{"photo_id":"1345136144","filename":"file1"},{"photo_id":"1345136142","filename":"file0"},{"photo_id":"1345136149","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345136146":["hashtag1","hashtag2"]},{"1345136149":["hashtag1","hashtag2"]},{"1345136154":["hashtag1","hashtag2"]},{"1345136142":["hashtag1","hashtag2"]},{"1345136150":["hashtag1","hashtag2"]},{"1345136144":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345136146, 1345136149, 1345136154, 1345136142, 1345136150, 1345136144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.925084829330444 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:19:03.997404
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_09_4196.jpg', 2), ('/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_05_3358.jpg', 2), ('/home/nano/Desktop/images/18032025/01/53/image_18032025_01_54_02_4016.jpg', 2), ('/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_58_4001.jpg', 2), ('/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_54_4080.jpg', 2), ('/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_49_4067.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_09_4196.jpg', '/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_05_3358.jpg', '/home/nano/Desktop/images/18032025/01/53/image_18032025_01_54_02_4016.jpg', '/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_58_4001.jpg', '/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_54_4080.jpg', '/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_49_4067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_09_4196.jpg
/home/nano/Desktop/images/18032025/01/54/image_18032025_01_54_05_3358.jpg
/home/nano/Desktop/images/18032025/01/53/image_18032025_01_54_02_4016.jpg
/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_58_4001.jpg
/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_54_4080.jpg
/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_49_4067.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345136185","1345136179","1345136187","1345136181","1345136183","1345136191"],"photo_ids_order":["1345136179","1345136181","1345136183","1345136185","1345136187","1345136191"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/060f7d859e9861505c544a95ceefb581.jpg","text":"TemporaryFile(/tmp/multipartBody1884824365703471180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304004513,"filename":"image_18032025_01_53_58_4001.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0d942d4c6f4819ce1d94833d7920a7ad.jpg","text":"TemporaryFile(/tmp/multipartBody3823456047511857049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304004513,"filename":"image_18032025_01_54_09_4196.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ccce5b857ddd16f8187bfe189f7c1a36.jpg","text":"TemporaryFile(/tmp/multipartBody113387692909334824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304004513,"filename":"image_18032025_01_53_54_4080.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/34528c2ebfd435abf576c97902feac36.jpg","text":"TemporaryFile(/tmp/multipartBody7112922631151900029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304004513,"filename":"image_18032025_01_54_05_3358.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6a0cf7e2c7562399a87f068a323c45cb.jpg","text":"TemporaryFile(/tmp/multipartBody5289169723874314069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304004513,"filename":"image_18032025_01_54_02_4016.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/937b02e4a7f717b16b43dd4278feb118.jpg","text":"TemporaryFile(/tmp/multipartBody1075304542219116548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304004513,"filename":"image_18032025_01_53_49_4067.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345136183","file1":"1345136181","file0":"1345136179","file4":"1345136187","file5":"1345136191","file3":"1345136185"},"map_files_photo_id_array":[{"photo_id":"1345136191","filename":"file5"},{"photo_id":"1345136183","filename":"file2"},{"photo_id":"1345136187","filename":"file4"},{"photo_id":"1345136181","filename":"file1"},{"photo_id":"1345136179","filename":"file0"},{"photo_id":"1345136185","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345136185":["hashtag1","hashtag2"]},{"1345136179":["hashtag1","hashtag2"]},{"1345136187":["hashtag1","hashtag2"]},{"1345136181":["hashtag1","hashtag2"]},{"1345136183":["hashtag1","hashtag2"]},{"1345136191":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345136185, 1345136179, 1345136187, 1345136181, 1345136183, 1345136191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.922529458999634 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:20:02.845266
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_45_4179.jpg', 2), ('/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_41_4243.jpg', 2), ('/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_37_4189.jpg', 2), ('/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_33_3222.jpg', 2), ('/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_30_4114.jpg', 2), ('/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_25_4217.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_45_4179.jpg', '/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_41_4243.jpg', '/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_37_4189.jpg', '/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_33_3222.jpg', '/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_30_4114.jpg', '/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_25_4217.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_45_4179.jpg
/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_41_4243.jpg
/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_37_4189.jpg
/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_33_3222.jpg
/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_30_4114.jpg
/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_25_4217.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345136242","1345136236","1345136247","1345136238","1345136240","1345136234"],"photo_ids_order":["1345136234","1345136236","1345136238","1345136240","1345136242","1345136247"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/df782211a8fc06d84c9925c7081004fa.jpg","text":"TemporaryFile(/tmp/multipartBody2714728510513908878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304063397,"filename":"image_18032025_01_53_30_4114.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f7406a37e28e264e685d04eba67108bf.jpg","text":"TemporaryFile(/tmp/multipartBody2532112277243504333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304063397,"filename":"image_18032025_01_53_41_4243.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/90f4af327c2bd4688e441affaa14d579.jpg","text":"TemporaryFile(/tmp/multipartBody4993219971105486983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304063397,"filename":"image_18032025_01_53_25_4217.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0301c48732be9ae246d6bb01f53159ee.jpg","text":"TemporaryFile(/tmp/multipartBody5529048343259931676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304063397,"filename":"image_18032025_01_53_37_4189.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/66e982df60f85ac5fec2ad35c734bd44.jpg","text":"TemporaryFile(/tmp/multipartBody5726504970946751445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304063397,"filename":"image_18032025_01_53_33_3222.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/17b28f3f38f9291419bc478f75fee4d5.jpg","text":"TemporaryFile(/tmp/multipartBody6008005742865556587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304063397,"filename":"image_18032025_01_53_45_4179.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345136238","file1":"1345136236","file0":"1345136234","file4":"1345136242","file5":"1345136247","file3":"1345136240"},"map_files_photo_id_array":[{"photo_id":"1345136247","filename":"file5"},{"photo_id":"1345136238","filename":"file2"},{"photo_id":"1345136242","filename":"file4"},{"photo_id":"1345136236","filename":"file1"},{"photo_id":"1345136234","filename":"file0"},{"photo_id":"1345136240","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345136242":["hashtag1","hashtag2"]},{"1345136236":["hashtag1","hashtag2"]},{"1345136247":["hashtag1","hashtag2"]},{"1345136238":["hashtag1","hashtag2"]},{"1345136240":["hashtag1","hashtag2"]},{"1345136234":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345136242, 1345136236, 1345136247, 1345136238, 1345136240, 1345136234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.82948112487793 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:21:02.926820
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_21_3860.jpg', 2), ('/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_17_4366.jpg', 2), ('/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_13_3433.jpg', 2), ('/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_10_4299.jpg', 2), ('/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_05_4389.jpg', 2), ('/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_01_3226.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_21_3860.jpg', '/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_17_4366.jpg', '/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_13_3433.jpg', '/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_10_4299.jpg', '/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_05_4389.jpg', '/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_01_3226.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_21_3860.jpg
/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_17_4366.jpg
/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_13_3433.jpg
/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_10_4299.jpg
/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_05_4389.jpg
/home/nano/Desktop/images/18032025/01/53/image_18032025_01_53_01_3226.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345136281","1345136278","1345136280","1345136282","1345136285","1345136279"],"photo_ids_order":["1345136278","1345136279","1345136280","1345136281","1345136282","1345136285"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ad688cbf1f1025d24d66e05e1d29c590.jpg","text":"TemporaryFile(/tmp/multipartBody2261493471858317557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304123437,"filename":"image_18032025_01_53_10_4299.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/39e4b4e40ae1869b23722b9dcb8e89e1.jpg","text":"TemporaryFile(/tmp/multipartBody5635262574285393125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304123437,"filename":"image_18032025_01_53_21_3860.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/92564bd5ed75e9ce7636024de2591fa3.jpg","text":"TemporaryFile(/tmp/multipartBody2642065951261523556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304123437,"filename":"image_18032025_01_53_13_3433.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8f25b1f229cde4fa9b4cb791d41eae59.jpg","text":"TemporaryFile(/tmp/multipartBody7965373105086859152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304123437,"filename":"image_18032025_01_53_05_4389.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f8a3b14651d0d34d157327737d67d057.jpg","text":"TemporaryFile(/tmp/multipartBody1014818123885895208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304123437,"filename":"image_18032025_01_53_01_3226.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6fd090d6ed768178f33d873912583a66.jpg","text":"TemporaryFile(/tmp/multipartBody4170325788820021800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304123437,"filename":"image_18032025_01_53_17_4366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345136280","file1":"1345136279","file0":"1345136278","file4":"1345136282","file5":"1345136285","file3":"1345136281"},"map_files_photo_id_array":[{"photo_id":"1345136285","filename":"file5"},{"photo_id":"1345136280","filename":"file2"},{"photo_id":"1345136282","filename":"file4"},{"photo_id":"1345136279","filename":"file1"},{"photo_id":"1345136278","filename":"file0"},{"photo_id":"1345136281","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345136281":["hashtag1","hashtag2"]},{"1345136278":["hashtag1","hashtag2"]},{"1345136280":["hashtag1","hashtag2"]},{"1345136282":["hashtag1","hashtag2"]},{"1345136285":["hashtag1","hashtag2"]},{"1345136279":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345136281, 1345136278, 1345136280, 1345136282, 1345136285, 1345136279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.40938711166382 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:22:03.185343
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_58_4126.jpg', 2), ('/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_54_4004.jpg', 2), ('/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_50_3942.jpg', 2), ('/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_46_4016.jpg', 2), ('/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_42_4140.jpg', 2), ('/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_37_4248.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_58_4126.jpg', '/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_54_4004.jpg', '/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_50_3942.jpg', '/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_46_4016.jpg', '/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_42_4140.jpg', '/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_37_4248.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_58_4126.jpg
/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_54_4004.jpg
/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_50_3942.jpg
/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_46_4016.jpg
/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_42_4140.jpg
/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_37_4248.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345136362","1345136335","1345136358","1345136334","1345136331","1345136336"],"photo_ids_order":["1345136331","1345136334","1345136335","1345136336","1345136358","1345136362"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8f7ac170074124f8f8ca940ef07196ba.jpg","text":"TemporaryFile(/tmp/multipartBody7037801875161529107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304183673,"filename":"image_18032025_01_52_37_4248.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/77732ac33f02a7d01470755149303fae.jpg","text":"TemporaryFile(/tmp/multipartBody6854789560282394447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304183673,"filename":"image_18032025_01_52_50_3942.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3fb91fbed7496df387418898c0bfb770.jpg","text":"TemporaryFile(/tmp/multipartBody892739255996492348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304183673,"filename":"image_18032025_01_52_42_4140.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/59f93afe2745866604d080ce984a45de.jpg","text":"TemporaryFile(/tmp/multipartBody7534692576885601231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304183673,"filename":"image_18032025_01_52_54_4004.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3e105003ff1a05e7acb4ef1a323e6112.jpg","text":"TemporaryFile(/tmp/multipartBody1944242975143876496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304183673,"filename":"image_18032025_01_52_58_4126.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/859b6b3502721e1afef365eb47a4160f.jpg","text":"TemporaryFile(/tmp/multipartBody753152944454840461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304183673,"filename":"image_18032025_01_52_46_4016.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345136335","file1":"1345136334","file0":"1345136331","file4":"1345136358","file5":"1345136362","file3":"1345136336"},"map_files_photo_id_array":[{"photo_id":"1345136362","filename":"file5"},{"photo_id":"1345136335","filename":"file2"},{"photo_id":"1345136358","filename":"file4"},{"photo_id":"1345136334","filename":"file1"},{"photo_id":"1345136331","filename":"file0"},{"photo_id":"1345136336","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345136362":["hashtag1","hashtag2"]},{"1345136335":["hashtag1","hashtag2"]},{"1345136358":["hashtag1","hashtag2"]},{"1345136334":["hashtag1","hashtag2"]},{"1345136331":["hashtag1","hashtag2"]},{"1345136336":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345136362, 1345136335, 1345136358, 1345136334, 1345136331, 1345136336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.13364601135254 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:23:03.220370
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_33_4167.jpg', 2), ('/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_29_4270.jpg', 2), ('/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_25_3294.jpg', 2), ('/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_21_4183.jpg', 2), ('/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_17_4328.jpg', 2), ('/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_13_3315.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_33_4167.jpg', '/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_29_4270.jpg', '/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_25_3294.jpg', '/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_21_4183.jpg', '/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_17_4328.jpg', '/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_13_3315.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_33_4167.jpg
/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_29_4270.jpg
/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_25_3294.jpg
/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_21_4183.jpg
/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_17_4328.jpg
/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_13_3315.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345136401","1345136400","1345136399","1345136405","1345136398","1345136402"],"photo_ids_order":["1345136398","1345136399","1345136400","1345136401","1345136402","1345136405"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3b4efc1617d4f3c8fc76f7727955e1db.jpg","text":"TemporaryFile(/tmp/multipartBody301191689797139048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304243781,"filename":"image_18032025_01_52_21_4183.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7b9ab9c1b738eac519eba5938c8b449e.jpg","text":"TemporaryFile(/tmp/multipartBody6171015913625886534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304243781,"filename":"image_18032025_01_52_25_3294.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a9dd168722a2e95bc5311b17196a685f.jpg","text":"TemporaryFile(/tmp/multipartBody56785795680389482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304243781,"filename":"image_18032025_01_52_29_4270.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f6b21389a7e18059bcfd6610dcd88ab9.jpg","text":"TemporaryFile(/tmp/multipartBody8215887750246641218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304243781,"filename":"image_18032025_01_52_13_3315.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4e44759affd1fe6a705661692149a867.jpg","text":"TemporaryFile(/tmp/multipartBody8102553531708367942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304243781,"filename":"image_18032025_01_52_33_4167.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cae003e963717004db216ad38dc609d9.jpg","text":"TemporaryFile(/tmp/multipartBody2185142873472236200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304243781,"filename":"image_18032025_01_52_17_4328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345136400","file1":"1345136399","file0":"1345136398","file4":"1345136402","file5":"1345136405","file3":"1345136401"},"map_files_photo_id_array":[{"photo_id":"1345136405","filename":"file5"},{"photo_id":"1345136400","filename":"file2"},{"photo_id":"1345136402","filename":"file4"},{"photo_id":"1345136399","filename":"file1"},{"photo_id":"1345136398","filename":"file0"},{"photo_id":"1345136401","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345136401":["hashtag1","hashtag2"]},{"1345136400":["hashtag1","hashtag2"]},{"1345136399":["hashtag1","hashtag2"]},{"1345136405":["hashtag1","hashtag2"]},{"1345136398":["hashtag1","hashtag2"]},{"1345136402":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345136401, 1345136400, 1345136399, 1345136405, 1345136398, 1345136402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.571183919906616 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:24:03.586277
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_10_4359.jpg', 2), ('/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_05_3707.jpg', 2), ('/home/nano/Desktop/images/18032025/01/51/image_18032025_01_52_02_4134.jpg', 2), ('/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_57_4160.jpg', 2), ('/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_53_4138.jpg', 2), ('/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_49_4151.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_10_4359.jpg', '/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_05_3707.jpg', '/home/nano/Desktop/images/18032025/01/51/image_18032025_01_52_02_4134.jpg', '/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_57_4160.jpg', '/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_53_4138.jpg', '/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_49_4151.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_10_4359.jpg
/home/nano/Desktop/images/18032025/01/52/image_18032025_01_52_05_3707.jpg
/home/nano/Desktop/images/18032025/01/51/image_18032025_01_52_02_4134.jpg
/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_57_4160.jpg
/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_53_4138.jpg
/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_49_4151.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345136437","1345136446","1345136439","1345136442","1345136441","1345136444"],"photo_ids_order":["1345136437","1345136439","1345136441","1345136442","1345136444","1345136446"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/039fddd15d0a8a841b5912dbeb9d7aa3.jpg","text":"TemporaryFile(/tmp/multipartBody6643835985909863975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304304210,"filename":"image_18032025_01_52_10_4359.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/613576209a9dd701856c30497638732f.jpg","text":"TemporaryFile(/tmp/multipartBody4615111333727488129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304304210,"filename":"image_18032025_01_51_49_4151.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d5bca64734270021e864a111a0bb1d91.jpg","text":"TemporaryFile(/tmp/multipartBody5017566457381257863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304304210,"filename":"image_18032025_01_52_05_3707.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cc0c0b6f142e10f03be5b42217055642.jpg","text":"TemporaryFile(/tmp/multipartBody5749360439965039245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304304210,"filename":"image_18032025_01_51_57_4160.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/385f3cc67b577b0b0f710deb6fafcadc.jpg","text":"TemporaryFile(/tmp/multipartBody3914640577975739808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304304210,"filename":"image_18032025_01_52_02_4134.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8248b11a6a378d1ad06a0957b6f9542f.jpg","text":"TemporaryFile(/tmp/multipartBody4325828795427888412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304304210,"filename":"image_18032025_01_51_53_4138.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345136441","file1":"1345136439","file0":"1345136437","file4":"1345136444","file5":"1345136446","file3":"1345136442"},"map_files_photo_id_array":[{"photo_id":"1345136446","filename":"file5"},{"photo_id":"1345136441","filename":"file2"},{"photo_id":"1345136444","filename":"file4"},{"photo_id":"1345136439","filename":"file1"},{"photo_id":"1345136437","filename":"file0"},{"photo_id":"1345136442","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345136437":["hashtag1","hashtag2"]},{"1345136446":["hashtag1","hashtag2"]},{"1345136439":["hashtag1","hashtag2"]},{"1345136442":["hashtag1","hashtag2"]},{"1345136441":["hashtag1","hashtag2"]},{"1345136444":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345136437, 1345136446, 1345136439, 1345136442, 1345136441, 1345136444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.917328357696533 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:25:02.620637
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_45_4162.jpg', 2), ('/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_41_3126.jpg', 2), ('/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_38_4245.jpg', 2), ('/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_33_4190.jpg', 2), ('/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_29_4348.jpg', 2), ('/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_25_3386.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_45_4162.jpg', '/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_41_3126.jpg', '/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_38_4245.jpg', '/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_33_4190.jpg', '/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_29_4348.jpg', '/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_25_3386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_45_4162.jpg
/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_41_3126.jpg
/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_38_4245.jpg
/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_33_4190.jpg
/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_29_4348.jpg
/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_25_3386.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345136482","1345136481","1345136478","1345136480","1345136483","1345136479"],"photo_ids_order":["1345136478","1345136479","1345136480","1345136481","1345136482","1345136483"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/14e95128b060193f153bb6f2e7d3f270.jpg","text":"TemporaryFile(/tmp/multipartBody1732715916054169698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304363167,"filename":"image_18032025_01_51_29_4348.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b5148aac246a264b5d766fdd09896f05.jpg","text":"TemporaryFile(/tmp/multipartBody7917383871310151419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304363167,"filename":"image_18032025_01_51_33_4190.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/97c9f97205bfd212b801c596531a1dc6.jpg","text":"TemporaryFile(/tmp/multipartBody6925845722103443603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304363167,"filename":"image_18032025_01_51_45_4162.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3b5e912861943a73703a0f6d380b5ee0.jpg","text":"TemporaryFile(/tmp/multipartBody8542685029310809135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304363167,"filename":"image_18032025_01_51_38_4245.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/022628f8150e33ab260d25883e92e28f.jpg","text":"TemporaryFile(/tmp/multipartBody6556131083657767052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304363167,"filename":"image_18032025_01_51_25_3386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b6d739493396869864782d81dab8a164.jpg","text":"TemporaryFile(/tmp/multipartBody3451725733484712884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304363167,"filename":"image_18032025_01_51_41_3126.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345136480","file1":"1345136479","file0":"1345136478","file4":"1345136482","file5":"1345136483","file3":"1345136481"},"map_files_photo_id_array":[{"photo_id":"1345136483","filename":"file5"},{"photo_id":"1345136480","filename":"file2"},{"photo_id":"1345136482","filename":"file4"},{"photo_id":"1345136479","filename":"file1"},{"photo_id":"1345136478","filename":"file0"},{"photo_id":"1345136481","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345136482":["hashtag1","hashtag2"]},{"1345136481":["hashtag1","hashtag2"]},{"1345136478":["hashtag1","hashtag2"]},{"1345136480":["hashtag1","hashtag2"]},{"1345136483":["hashtag1","hashtag2"]},{"1345136479":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345136482, 1345136481, 1345136478, 1345136480, 1345136483, 1345136479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.129719734191895 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:26:02.881405
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_21_4468.jpg', 2), ('/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_17_4304.jpg', 2), ('/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_13_3301.jpg', 2), ('/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_09_4263.jpg', 2), ('/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_05_3557.jpg', 2), ('/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_02_4124.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_21_4468.jpg', '/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_17_4304.jpg', '/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_13_3301.jpg', '/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_09_4263.jpg', '/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_05_3557.jpg', '/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_02_4124.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_21_4468.jpg
/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_17_4304.jpg
/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_13_3301.jpg
/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_09_4263.jpg
/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_05_3557.jpg
/home/nano/Desktop/images/18032025/01/51/image_18032025_01_51_02_4124.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345136515","1345136518","1345136520","1345136517","1345136519","1345136516"],"photo_ids_order":["1345136515","1345136516","1345136517","1345136518","1345136519","1345136520"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/54d82d287df831b76cd76565e0e9301f.jpg","text":"TemporaryFile(/tmp/multipartBody5209833920403667111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304423438,"filename":"image_18032025_01_51_21_4468.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e7caf9a902297af4353177c36252bf47.jpg","text":"TemporaryFile(/tmp/multipartBody5239159671053829991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304423438,"filename":"image_18032025_01_51_09_4263.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9b651768d12709b40c64fc4233b0d4a9.jpg","text":"TemporaryFile(/tmp/multipartBody8808603165263557731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304423438,"filename":"image_18032025_01_51_02_4124.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cfed8182b9547db298efb484c1840820.jpg","text":"TemporaryFile(/tmp/multipartBody783764280540823432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304423438,"filename":"image_18032025_01_51_13_3301.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/36b1ae532602c962d683d31859803019.jpg","text":"TemporaryFile(/tmp/multipartBody2133461204772060565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304423438,"filename":"image_18032025_01_51_05_3557.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bf0ccd575d2fd183f1bbef77138f6aba.jpg","text":"TemporaryFile(/tmp/multipartBody3459147840332239770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304423438,"filename":"image_18032025_01_51_17_4304.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345136517","file1":"1345136516","file0":"1345136515","file4":"1345136519","file5":"1345136520","file3":"1345136518"},"map_files_photo_id_array":[{"photo_id":"1345136520","filename":"file5"},{"photo_id":"1345136517","filename":"file2"},{"photo_id":"1345136519","filename":"file4"},{"photo_id":"1345136516","filename":"file1"},{"photo_id":"1345136515","filename":"file0"},{"photo_id":"1345136518","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345136515":["hashtag1","hashtag2"]},{"1345136518":["hashtag1","hashtag2"]},{"1345136520":["hashtag1","hashtag2"]},{"1345136517":["hashtag1","hashtag2"]},{"1345136519":["hashtag1","hashtag2"]},{"1345136516":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345136515, 1345136518, 1345136520, 1345136517, 1345136519, 1345136516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.034130334854126 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:27:03.065154
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_57_4355.jpg', 2), ('/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_53_4101.jpg', 2), ('/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_49_4192.jpg', 2), ('/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_45_3228.jpg', 2), ('/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_42_4142.jpg', 2), ('/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_37_4121.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_57_4355.jpg', '/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_53_4101.jpg', '/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_49_4192.jpg', '/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_45_3228.jpg', '/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_42_4142.jpg', '/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_37_4121.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_57_4355.jpg
/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_53_4101.jpg
/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_49_4192.jpg
/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_45_3228.jpg
/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_42_4142.jpg
/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_37_4121.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345136566","1345136560","1345136563","1345136580","1345136586","1345136568"],"photo_ids_order":["1345136560","1345136563","1345136566","1345136568","1345136580","1345136586"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/71e80d187d85e3fbe898a3129e4c68c2.jpg","text":"TemporaryFile(/tmp/multipartBody7790818290131119535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304483685,"filename":"image_18032025_01_50_49_4192.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b899322a6a7dbaba11869376044723c0.jpg","text":"TemporaryFile(/tmp/multipartBody5217736027309733684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304483685,"filename":"image_18032025_01_50_57_4355.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2a56a552f09b2081d614b7496faa6d91.jpg","text":"TemporaryFile(/tmp/multipartBody494707674930250435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304483685,"filename":"image_18032025_01_50_53_4101.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dbd226d800c5ce3fe015eeab74409657.jpg","text":"TemporaryFile(/tmp/multipartBody126786834711284684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304483685,"filename":"image_18032025_01_50_42_4142.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/92a0b25d91a3bd68c4424b481b3d01ba.jpg","text":"TemporaryFile(/tmp/multipartBody5149317882313692629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304483685,"filename":"image_18032025_01_50_37_4121.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ff2d1ed7750dce8a19435ef5598e04e7.jpg","text":"TemporaryFile(/tmp/multipartBody2464654951371718189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304483685,"filename":"image_18032025_01_50_45_3228.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345136566","file1":"1345136563","file0":"1345136560","file4":"1345136580","file5":"1345136586","file3":"1345136568"},"map_files_photo_id_array":[{"photo_id":"1345136586","filename":"file5"},{"photo_id":"1345136566","filename":"file2"},{"photo_id":"1345136580","filename":"file4"},{"photo_id":"1345136563","filename":"file1"},{"photo_id":"1345136560","filename":"file0"},{"photo_id":"1345136568","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345136566":["hashtag1","hashtag2"]},{"1345136560":["hashtag1","hashtag2"]},{"1345136563":["hashtag1","hashtag2"]},{"1345136580":["hashtag1","hashtag2"]},{"1345136586":["hashtag1","hashtag2"]},{"1345136568":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345136566, 1345136560, 1345136563, 1345136580, 1345136586, 1345136568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.374154806137085 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:28:03.139147
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_33_4059.jpg', 2), ('/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_29_4206.jpg', 2), ('/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_25_4153.jpg', 2), ('/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_21_4125.jpg', 2), ('/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_17_3165.jpg', 2), ('/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_14_4194.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_33_4059.jpg', '/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_29_4206.jpg', '/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_25_4153.jpg', '/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_21_4125.jpg', '/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_17_3165.jpg', '/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_14_4194.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_33_4059.jpg
/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_29_4206.jpg
/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_25_4153.jpg
/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_21_4125.jpg
/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_17_3165.jpg
/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_14_4194.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345136614","1345136619","1345136622","1345136616","1345136624","1345136627"],"photo_ids_order":["1345136614","1345136616","1345136619","1345136622","1345136624","1345136627"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3d96df3048192e7c6d8ef3191809ac9a.jpg","text":"TemporaryFile(/tmp/multipartBody7472541149844074445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304543667,"filename":"image_18032025_01_50_33_4059.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e7124f22933933630b903892f650faea.jpg","text":"TemporaryFile(/tmp/multipartBody1025012523369695163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304543667,"filename":"image_18032025_01_50_25_4153.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9d1879932165014cafb34f2852b5d8f8.jpg","text":"TemporaryFile(/tmp/multipartBody2789654525079372076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304543667,"filename":"image_18032025_01_50_21_4125.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1db7079eebaec4195e3b0f2bb3c9f9e1.jpg","text":"TemporaryFile(/tmp/multipartBody4518409888166020012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304543667,"filename":"image_18032025_01_50_29_4206.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9949137c8c4a8b5372005b102f2ec194.jpg","text":"TemporaryFile(/tmp/multipartBody5205888861092162944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304543667,"filename":"image_18032025_01_50_17_3165.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8e0d9264ae3a032163afb95f7adf7e6b.jpg","text":"TemporaryFile(/tmp/multipartBody2672450505999712582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304543667,"filename":"image_18032025_01_50_14_4194.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345136619","file1":"1345136616","file0":"1345136614","file4":"1345136624","file5":"1345136627","file3":"1345136622"},"map_files_photo_id_array":[{"photo_id":"1345136627","filename":"file5"},{"photo_id":"1345136619","filename":"file2"},{"photo_id":"1345136624","filename":"file4"},{"photo_id":"1345136616","filename":"file1"},{"photo_id":"1345136614","filename":"file0"},{"photo_id":"1345136622","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345136614":["hashtag1","hashtag2"]},{"1345136619":["hashtag1","hashtag2"]},{"1345136622":["hashtag1","hashtag2"]},{"1345136616":["hashtag1","hashtag2"]},{"1345136624":["hashtag1","hashtag2"]},{"1345136627":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345136614, 1345136619, 1345136622, 1345136616, 1345136624, 1345136627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.096759557724 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:29:03.777937
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_09_4188.jpg', 2), ('/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_05_3862.jpg', 2), ('/home/nano/Desktop/images/18032025/01/49/image_18032025_01_50_01_4107.jpg', 2), ('/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_57_4216.jpg', 2), ('/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_53_4248.jpg', 2), ('/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_49_3224.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_09_4188.jpg', '/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_05_3862.jpg', '/home/nano/Desktop/images/18032025/01/49/image_18032025_01_50_01_4107.jpg', '/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_57_4216.jpg', '/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_53_4248.jpg', '/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_49_3224.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_09_4188.jpg
/home/nano/Desktop/images/18032025/01/50/image_18032025_01_50_05_3862.jpg
/home/nano/Desktop/images/18032025/01/49/image_18032025_01_50_01_4107.jpg
/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_57_4216.jpg
/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_53_4248.jpg
/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_49_3224.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345136671","1345136665","1345136659","1345136661","1345136652","1345136657"],"photo_ids_order":["1345136652","1345136657","1345136659","1345136661","1345136665","1345136671"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/29403961282434cb0cd173e7c1872ab9.jpg","text":"TemporaryFile(/tmp/multipartBody668348658673685501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304604347,"filename":"image_18032025_01_49_49_3224.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0af7c960731427afd33734ec9cf37019.jpg","text":"TemporaryFile(/tmp/multipartBody7639184452080007875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304604347,"filename":"image_18032025_01_49_53_4248.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bc1f82ac41a462bdf91706a07970824c.jpg","text":"TemporaryFile(/tmp/multipartBody7784853209546952870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304604347,"filename":"image_18032025_01_50_01_4107.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e6445a508cf47fa617ee3b58d9fb6721.jpg","text":"TemporaryFile(/tmp/multipartBody7245005864118559292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304604347,"filename":"image_18032025_01_49_57_4216.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b753fc280e3e662771c92fe503a04323.jpg","text":"TemporaryFile(/tmp/multipartBody8256851128267819891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304604347,"filename":"image_18032025_01_50_09_4188.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/56e32b7196d9d64a7839a1c00207a2f8.jpg","text":"TemporaryFile(/tmp/multipartBody4391245526752913184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304604347,"filename":"image_18032025_01_50_05_3862.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345136659","file1":"1345136657","file0":"1345136652","file4":"1345136665","file5":"1345136671","file3":"1345136661"},"map_files_photo_id_array":[{"photo_id":"1345136671","filename":"file5"},{"photo_id":"1345136659","filename":"file2"},{"photo_id":"1345136665","filename":"file4"},{"photo_id":"1345136657","filename":"file1"},{"photo_id":"1345136652","filename":"file0"},{"photo_id":"1345136661","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345136671":["hashtag1","hashtag2"]},{"1345136665":["hashtag1","hashtag2"]},{"1345136659":["hashtag1","hashtag2"]},{"1345136661":["hashtag1","hashtag2"]},{"1345136652":["hashtag1","hashtag2"]},{"1345136657":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345136671, 1345136665, 1345136659, 1345136661, 1345136652, 1345136657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.97976756095886 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:30:02.782831
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_46_4205.jpg', 2), ('/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_41_4227.jpg', 2), ('/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_37_4346.jpg', 2), ('/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_33_3998.jpg', 2), ('/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_29_3306.jpg', 2), ('/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_25_4295.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_46_4205.jpg', '/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_41_4227.jpg', '/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_37_4346.jpg', '/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_33_3998.jpg', '/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_29_3306.jpg', '/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_25_4295.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_46_4205.jpg
/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_41_4227.jpg
/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_37_4346.jpg
/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_33_3998.jpg
/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_29_3306.jpg
/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_25_4295.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345136731","1345136725","1345136718","1345136721","1345136735","1345136729"],"photo_ids_order":["1345136718","1345136721","1345136725","1345136729","1345136731","1345136735"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b3d2d09c1a9a952bfafb08042e381427.jpg","text":"TemporaryFile(/tmp/multipartBody4778612837695285386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304663296,"filename":"image_18032025_01_49_29_3306.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0c4c567772784322f8df934f87559506.jpg","text":"TemporaryFile(/tmp/multipartBody2237327632806876810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304663296,"filename":"image_18032025_01_49_37_4346.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/74679ddbe698ac700a6a4e1678ef99d4.jpg","text":"TemporaryFile(/tmp/multipartBody4636508253665270597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304663296,"filename":"image_18032025_01_49_46_4205.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/89dc66d43bc3a234e613e1830472dd81.jpg","text":"TemporaryFile(/tmp/multipartBody2315364519169146039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304663296,"filename":"image_18032025_01_49_41_4227.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/668dde0242eec567a4a9aad63abfe908.jpg","text":"TemporaryFile(/tmp/multipartBody7986025279834248611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304663296,"filename":"image_18032025_01_49_25_4295.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f1d8d28dd432b7aef18769a981b5b660.jpg","text":"TemporaryFile(/tmp/multipartBody1093280673752801756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304663296,"filename":"image_18032025_01_49_33_3998.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345136725","file1":"1345136721","file0":"1345136718","file4":"1345136731","file5":"1345136735","file3":"1345136729"},"map_files_photo_id_array":[{"photo_id":"1345136735","filename":"file5"},{"photo_id":"1345136725","filename":"file2"},{"photo_id":"1345136731","filename":"file4"},{"photo_id":"1345136721","filename":"file1"},{"photo_id":"1345136718","filename":"file0"},{"photo_id":"1345136729","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345136731":["hashtag1","hashtag2"]},{"1345136725":["hashtag1","hashtag2"]},{"1345136718":["hashtag1","hashtag2"]},{"1345136721":["hashtag1","hashtag2"]},{"1345136735":["hashtag1","hashtag2"]},{"1345136729":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345136731, 1345136725, 1345136718, 1345136721, 1345136735, 1345136729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.40556359291077 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:31:02.773692
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_21_3865.jpg', 2), ('/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_17_4237.jpg', 2), ('/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_13_4221.jpg', 2), ('/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_09_4161.jpg', 2), ('/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_05_3585.jpg', 2), ('/home/nano/Desktop/images/18032025/01/48/image_18032025_01_49_01_4047.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_21_3865.jpg', '/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_17_4237.jpg', '/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_13_4221.jpg', '/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_09_4161.jpg', '/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_05_3585.jpg', '/home/nano/Desktop/images/18032025/01/48/image_18032025_01_49_01_4047.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_21_3865.jpg
/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_17_4237.jpg
/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_13_4221.jpg
/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_09_4161.jpg
/home/nano/Desktop/images/18032025/01/49/image_18032025_01_49_05_3585.jpg
/home/nano/Desktop/images/18032025/01/48/image_18032025_01_49_01_4047.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345136764","1345136767","1345136781","1345136784","1345136759","1345136761"],"photo_ids_order":["1345136759","1345136761","1345136764","1345136767","1345136781","1345136784"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c39bd8ba200d1308c5c84dc0db6b38da.jpg","text":"TemporaryFile(/tmp/multipartBody4550223657777770181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304723246,"filename":"image_18032025_01_49_13_4221.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dbab244bdcc84b948bf9c56744fc0fb4.jpg","text":"TemporaryFile(/tmp/multipartBody4736902096263231345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304723246,"filename":"image_18032025_01_49_09_4161.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8cffbbc1f6c2f785664a620c1b03eb56.jpg","text":"TemporaryFile(/tmp/multipartBody3606085398810523940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304723246,"filename":"image_18032025_01_49_05_3585.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/084e19a5ce83e95c6ab1a321fd9eecf2.jpg","text":"TemporaryFile(/tmp/multipartBody8465536478620544745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304723246,"filename":"image_18032025_01_49_01_4047.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/af93e2973c3540fcf30f31881405a89c.jpg","text":"TemporaryFile(/tmp/multipartBody7038489140007129292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304723246,"filename":"image_18032025_01_49_21_3865.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d3cbc23dffc7c41928f2e223b16de850.jpg","text":"TemporaryFile(/tmp/multipartBody279881122381771957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304723246,"filename":"image_18032025_01_49_17_4237.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345136764","file1":"1345136761","file0":"1345136759","file4":"1345136781","file5":"1345136784","file3":"1345136767"},"map_files_photo_id_array":[{"photo_id":"1345136784","filename":"file5"},{"photo_id":"1345136764","filename":"file2"},{"photo_id":"1345136781","filename":"file4"},{"photo_id":"1345136761","filename":"file1"},{"photo_id":"1345136759","filename":"file0"},{"photo_id":"1345136767","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345136764":["hashtag1","hashtag2"]},{"1345136767":["hashtag1","hashtag2"]},{"1345136781":["hashtag1","hashtag2"]},{"1345136784":["hashtag1","hashtag2"]},{"1345136759":["hashtag1","hashtag2"]},{"1345136761":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345136764, 1345136767, 1345136781, 1345136784, 1345136759, 1345136761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.269477128982544 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:32:02.984447
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_57_4058.jpg', 2), ('/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_53_4096.jpg', 2), ('/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_49_4089.jpg', 2), ('/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_45_4110.jpg', 2), ('/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_41_3112.jpg', 2), ('/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_38_4080.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_57_4058.jpg', '/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_53_4096.jpg', '/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_49_4089.jpg', '/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_45_4110.jpg', '/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_41_3112.jpg', '/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_38_4080.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_57_4058.jpg
/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_53_4096.jpg
/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_49_4089.jpg
/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_45_4110.jpg
/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_41_3112.jpg
/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_38_4080.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345136839","1345136833","1345136841","1345136811","1345136814","1345136837"],"photo_ids_order":["1345136811","1345136814","1345136833","1345136837","1345136839","1345136841"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/892c0a2ff4e43737afcd96dddaf59975.jpg","text":"TemporaryFile(/tmp/multipartBody7944722411619557161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304783506,"filename":"image_18032025_01_48_41_3112.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6ddb0ba5740236b462b2dc5d60f15a10.jpg","text":"TemporaryFile(/tmp/multipartBody2399352294248889584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304783506,"filename":"image_18032025_01_48_49_4089.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b8a2a5b99ed23447636f1653298e4d16.jpg","text":"TemporaryFile(/tmp/multipartBody7701661253251011698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304783506,"filename":"image_18032025_01_48_38_4080.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/159257ffc2e02ad81ac22e7d893e3da5.jpg","text":"TemporaryFile(/tmp/multipartBody7620855985403640574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304783506,"filename":"image_18032025_01_48_57_4058.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/172af60318e20894c1acf50ecad0f895.jpg","text":"TemporaryFile(/tmp/multipartBody8998540675996388965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304783506,"filename":"image_18032025_01_48_53_4096.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/41970491d3553e9091f294e315c9dc5d.jpg","text":"TemporaryFile(/tmp/multipartBody4462128972034137921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304783506,"filename":"image_18032025_01_48_45_4110.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345136833","file1":"1345136814","file0":"1345136811","file4":"1345136839","file5":"1345136841","file3":"1345136837"},"map_files_photo_id_array":[{"photo_id":"1345136841","filename":"file5"},{"photo_id":"1345136833","filename":"file2"},{"photo_id":"1345136839","filename":"file4"},{"photo_id":"1345136814","filename":"file1"},{"photo_id":"1345136811","filename":"file0"},{"photo_id":"1345136837","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345136839":["hashtag1","hashtag2"]},{"1345136833":["hashtag1","hashtag2"]},{"1345136841":["hashtag1","hashtag2"]},{"1345136811":["hashtag1","hashtag2"]},{"1345136814":["hashtag1","hashtag2"]},{"1345136837":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345136839, 1345136833, 1345136841, 1345136811, 1345136814, 1345136837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.298739433288574 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:33:03.145461
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_34_4110.jpg', 2), ('/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_29_4125.jpg', 2), ('/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_25_4069.jpg', 2), ('/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_21_4150.jpg', 2), ('/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_17_4152.jpg', 2), ('/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_13_4166.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_34_4110.jpg', '/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_29_4125.jpg', '/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_25_4069.jpg', '/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_21_4150.jpg', '/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_17_4152.jpg', '/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_13_4166.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_34_4110.jpg
/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_29_4125.jpg
/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_25_4069.jpg
/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_21_4150.jpg
/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_17_4152.jpg
/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_13_4166.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345137010","1345136982","1345137039","1345136978","1345137073","1345137067"],"photo_ids_order":["1345136978","1345136982","1345137010","1345137039","1345137067","1345137073"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ac37813003fc589505f11c637bc1c3d7.jpg","text":"TemporaryFile(/tmp/multipartBody8251035882423131367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304843750,"filename":"image_18032025_01_48_25_4069.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b18bb91ad194006cff289a99a61d9660.jpg","text":"TemporaryFile(/tmp/multipartBody5486167595309375390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304843750,"filename":"image_18032025_01_48_29_4125.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2464aa6a6464d5f08b50f2bde6dbc6ea.jpg","text":"TemporaryFile(/tmp/multipartBody6935000845029052397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304843750,"filename":"image_18032025_01_48_21_4150.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/eb73a70c07e4653e4d94ca375ab0de15.jpg","text":"TemporaryFile(/tmp/multipartBody3533049747135613465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304843750,"filename":"image_18032025_01_48_34_4110.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f084f191b3f85af9cc7c3919a48dfc9f.jpg","text":"TemporaryFile(/tmp/multipartBody2402377735486580835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304843750,"filename":"image_18032025_01_48_13_4166.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f8b534c540aaf28538abb8fe1d5f467c.jpg","text":"TemporaryFile(/tmp/multipartBody4907893014470477465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304843750,"filename":"image_18032025_01_48_17_4152.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345137010","file1":"1345136982","file0":"1345136978","file4":"1345137067","file5":"1345137073","file3":"1345137039"},"map_files_photo_id_array":[{"photo_id":"1345137073","filename":"file5"},{"photo_id":"1345137010","filename":"file2"},{"photo_id":"1345137067","filename":"file4"},{"photo_id":"1345136982","filename":"file1"},{"photo_id":"1345136978","filename":"file0"},{"photo_id":"1345137039","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345137010":["hashtag1","hashtag2"]},{"1345136982":["hashtag1","hashtag2"]},{"1345137039":["hashtag1","hashtag2"]},{"1345136978":["hashtag1","hashtag2"]},{"1345137073":["hashtag1","hashtag2"]},{"1345137067":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345137010, 1345136982, 1345137039, 1345136978, 1345137073, 1345137067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.217886209487915 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:34:03.504830
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_09_3056.jpg', 2), ('/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_06_4555.jpg', 2), ('/home/nano/Desktop/images/18032025/01/47/image_18032025_01_48_01_4156.jpg', 2), ('/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_57_4138.jpg', 2), ('/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_53_4084.jpg', 2), ('/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_49_3108.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_09_3056.jpg', '/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_06_4555.jpg', '/home/nano/Desktop/images/18032025/01/47/image_18032025_01_48_01_4156.jpg', '/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_57_4138.jpg', '/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_53_4084.jpg', '/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_49_3108.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_09_3056.jpg
/home/nano/Desktop/images/18032025/01/48/image_18032025_01_48_06_4555.jpg
/home/nano/Desktop/images/18032025/01/47/image_18032025_01_48_01_4156.jpg
/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_57_4138.jpg
/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_53_4084.jpg
/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_49_3108.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345137130","1345137141","1345137138","1345137143","1345137149","1345137116"],"photo_ids_order":["1345137116","1345137130","1345137138","1345137141","1345137143","1345137149"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/55d6bbecb45d9a6c8690c851d137e42d.jpg","text":"TemporaryFile(/tmp/multipartBody5485478447452063002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304904040,"filename":"image_18032025_01_48_06_4555.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d57dcf794ab01db70c018c2f4ee3a7f5.jpg","text":"TemporaryFile(/tmp/multipartBody6556381640148257558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304904040,"filename":"image_18032025_01_47_57_4138.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d94033fbf399de4d0f8a6a062b63279e.jpg","text":"TemporaryFile(/tmp/multipartBody847794345605522502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304904040,"filename":"image_18032025_01_48_01_4156.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/31783cb81ee2d76d8aa71189e2647809.jpg","text":"TemporaryFile(/tmp/multipartBody339311135376695273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304904040,"filename":"image_18032025_01_47_53_4084.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/018be90e26a0522a1a9106906185a0db.jpg","text":"TemporaryFile(/tmp/multipartBody8737422659639379730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304904040,"filename":"image_18032025_01_47_49_3108.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e499af51ca77dd5cc2407e08bed30f65.jpg","text":"TemporaryFile(/tmp/multipartBody382183782959227398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304904040,"filename":"image_18032025_01_48_09_3056.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345137138","file1":"1345137130","file0":"1345137116","file4":"1345137143","file5":"1345137149","file3":"1345137141"},"map_files_photo_id_array":[{"photo_id":"1345137149","filename":"file5"},{"photo_id":"1345137138","filename":"file2"},{"photo_id":"1345137143","filename":"file4"},{"photo_id":"1345137130","filename":"file1"},{"photo_id":"1345137116","filename":"file0"},{"photo_id":"1345137141","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345137130":["hashtag1","hashtag2"]},{"1345137141":["hashtag1","hashtag2"]},{"1345137138":["hashtag1","hashtag2"]},{"1345137143":["hashtag1","hashtag2"]},{"1345137149":["hashtag1","hashtag2"]},{"1345137116":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345137130, 1345137141, 1345137138, 1345137143, 1345137149, 1345137116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.149768590927124 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:35:03.418890
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_46_4148.jpg', 2), ('/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_42_4000.jpg', 2), ('/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_38_4196.jpg', 2), ('/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_33_4172.jpg', 2), ('/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_29_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_25_4249.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_46_4148.jpg', '/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_42_4000.jpg', '/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_38_4196.jpg', '/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_33_4172.jpg', '/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_29_4146.jpg', '/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_25_4249.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_46_4148.jpg
/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_42_4000.jpg
/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_38_4196.jpg
/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_33_4172.jpg
/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_29_4146.jpg
/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_25_4249.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345137189","1345137180","1345137198","1345137184","1345137187","1345137181"],"photo_ids_order":["1345137180","1345137181","1345137184","1345137187","1345137189","1345137198"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ba25e84bec0226b828e12dd5963bd427.jpg","text":"TemporaryFile(/tmp/multipartBody6366721765499846209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304963934,"filename":"image_18032025_01_47_29_4146.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ac1477e7035cbf6713e644ab4f154f22.jpg","text":"TemporaryFile(/tmp/multipartBody4040183310396587651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304963934,"filename":"image_18032025_01_47_46_4148.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c186f21739b647f0b8f921c6cb484b3f.jpg","text":"TemporaryFile(/tmp/multipartBody599540122960917000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304963934,"filename":"image_18032025_01_47_25_4249.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/04eb7077d02ee1b5f2d48a2a6d1776ff.jpg","text":"TemporaryFile(/tmp/multipartBody7750910618242435291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304963934,"filename":"image_18032025_01_47_38_4196.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5c517f774f1a1d2b18031d2e82cd5af4.jpg","text":"TemporaryFile(/tmp/multipartBody8913224081514334822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304963934,"filename":"image_18032025_01_47_33_4172.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2cfc7e3ffe2f8f7d040f9dab46173f53.jpg","text":"TemporaryFile(/tmp/multipartBody6390923519128547129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742304963934,"filename":"image_18032025_01_47_42_4000.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345137184","file1":"1345137181","file0":"1345137180","file4":"1345137189","file5":"1345137198","file3":"1345137187"},"map_files_photo_id_array":[{"photo_id":"1345137198","filename":"file5"},{"photo_id":"1345137184","filename":"file2"},{"photo_id":"1345137189","filename":"file4"},{"photo_id":"1345137181","filename":"file1"},{"photo_id":"1345137180","filename":"file0"},{"photo_id":"1345137187","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345137189":["hashtag1","hashtag2"]},{"1345137180":["hashtag1","hashtag2"]},{"1345137198":["hashtag1","hashtag2"]},{"1345137184":["hashtag1","hashtag2"]},{"1345137187":["hashtag1","hashtag2"]},{"1345137181":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345137189, 1345137180, 1345137198, 1345137184, 1345137187, 1345137181)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.972942352294922 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:36:02.577820
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_21_3233.jpg', 2), ('/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_18_4162.jpg', 2), ('/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_13_4189.jpg', 2), ('/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_09_4170.jpg', 2), ('/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_05_3314.jpg', 2), ('/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_02_4312.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_21_3233.jpg', '/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_18_4162.jpg', '/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_13_4189.jpg', '/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_09_4170.jpg', '/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_05_3314.jpg', '/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_02_4312.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_21_3233.jpg
/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_18_4162.jpg
/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_13_4189.jpg
/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_09_4170.jpg
/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_05_3314.jpg
/home/nano/Desktop/images/18032025/01/47/image_18032025_01_47_02_4312.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345137279","1345137243","1345137267","1345137263","1345137245","1345137239"],"photo_ids_order":["1345137239","1345137243","1345137245","1345137263","1345137267","1345137279"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d1a0f9701a17782c8d567c917bcf5652.jpg","text":"TemporaryFile(/tmp/multipartBody7332843109503523195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305023220,"filename":"image_18032025_01_47_02_4312.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c71ad13c394829562eee86b32347cf1c.jpg","text":"TemporaryFile(/tmp/multipartBody6977142799520627722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305023220,"filename":"image_18032025_01_47_18_4162.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d59c1fbf99ccb6cd650b4ebf30c1abd7.jpg","text":"TemporaryFile(/tmp/multipartBody6553023527787804583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305023220,"filename":"image_18032025_01_47_05_3314.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/259042b7958c89768b353f1ba4a62319.jpg","text":"TemporaryFile(/tmp/multipartBody7458511894349122891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305023220,"filename":"image_18032025_01_47_09_4170.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/082397491d1bf96bb5388935fa6a8251.jpg","text":"TemporaryFile(/tmp/multipartBody3955303421399250490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305023220,"filename":"image_18032025_01_47_13_4189.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/178defaec8e000abdecfc1a10e30bc74.jpg","text":"TemporaryFile(/tmp/multipartBody315133003198332745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305023220,"filename":"image_18032025_01_47_21_3233.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345137245","file1":"1345137243","file0":"1345137239","file4":"1345137267","file5":"1345137279","file3":"1345137263"},"map_files_photo_id_array":[{"photo_id":"1345137279","filename":"file5"},{"photo_id":"1345137245","filename":"file2"},{"photo_id":"1345137267","filename":"file4"},{"photo_id":"1345137243","filename":"file1"},{"photo_id":"1345137239","filename":"file0"},{"photo_id":"1345137263","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345137279":["hashtag1","hashtag2"]},{"1345137243":["hashtag1","hashtag2"]},{"1345137267":["hashtag1","hashtag2"]},{"1345137263":["hashtag1","hashtag2"]},{"1345137245":["hashtag1","hashtag2"]},{"1345137239":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345137279, 1345137243, 1345137267, 1345137263, 1345137245, 1345137239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.249907970428467 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:37:02.809473
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_57_4316.jpg', 2), ('/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_53_4333.jpg', 2), ('/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_49_3231.jpg', 2), ('/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_45_4217.jpg', 2), ('/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_41_4214.jpg', 2), ('/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_37_4217.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_57_4316.jpg', '/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_53_4333.jpg', '/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_49_3231.jpg', '/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_45_4217.jpg', '/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_41_4214.jpg', '/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_37_4217.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_57_4316.jpg
/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_53_4333.jpg
/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_49_3231.jpg
/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_45_4217.jpg
/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_41_4214.jpg
/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_37_4217.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345137337","1345137333","1345137341","1345137344","1345137347","1345137352"],"photo_ids_order":["1345137333","1345137337","1345137341","1345137344","1345137347","1345137352"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e74cddd596128e3a41bc615136d49d89.jpg","text":"TemporaryFile(/tmp/multipartBody3599017720149669473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305083556,"filename":"image_18032025_01_46_53_4333.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e11289864f9efb7832ff745af921ab64.jpg","text":"TemporaryFile(/tmp/multipartBody2699030097553178813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305083556,"filename":"image_18032025_01_46_57_4316.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4f2faae11dceb14903cba39f37e07e56.jpg","text":"TemporaryFile(/tmp/multipartBody5950419623658449252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305083556,"filename":"image_18032025_01_46_49_3231.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2ffe1d3a1720fa769f0d59098ae55b3b.jpg","text":"TemporaryFile(/tmp/multipartBody2047365872331585458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305083556,"filename":"image_18032025_01_46_45_4217.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2efb91b58ef2c0a66a77e068555c4d9a.jpg","text":"TemporaryFile(/tmp/multipartBody4599415496503253411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305083556,"filename":"image_18032025_01_46_41_4214.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ebb3525b072ecd66cf86c89838dcf1d8.jpg","text":"TemporaryFile(/tmp/multipartBody4221716058975557444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305083556,"filename":"image_18032025_01_46_37_4217.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345137341","file1":"1345137337","file0":"1345137333","file4":"1345137347","file5":"1345137352","file3":"1345137344"},"map_files_photo_id_array":[{"photo_id":"1345137352","filename":"file5"},{"photo_id":"1345137341","filename":"file2"},{"photo_id":"1345137347","filename":"file4"},{"photo_id":"1345137337","filename":"file1"},{"photo_id":"1345137333","filename":"file0"},{"photo_id":"1345137344","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345137337":["hashtag1","hashtag2"]},{"1345137333":["hashtag1","hashtag2"]},{"1345137341":["hashtag1","hashtag2"]},{"1345137344":["hashtag1","hashtag2"]},{"1345137347":["hashtag1","hashtag2"]},{"1345137352":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345137337, 1345137333, 1345137341, 1345137344, 1345137347, 1345137352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.98448419570923 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:38:03.193240
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_33_4122.jpg', 2), ('/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_29_3132.jpg', 2), ('/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_26_4217.jpg', 2), ('/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_21_4318.jpg', 2), ('/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_17_4107.jpg', 2), ('/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_13_3322.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_33_4122.jpg', '/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_29_3132.jpg', '/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_26_4217.jpg', '/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_21_4318.jpg', '/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_17_4107.jpg', '/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_13_3322.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_33_4122.jpg
/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_29_3132.jpg
/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_26_4217.jpg
/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_21_4318.jpg
/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_17_4107.jpg
/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_13_3322.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345137406","1345137381","1345137398","1345137461","1345137404","1345137430"],"photo_ids_order":["1345137381","1345137398","1345137404","1345137406","1345137430","1345137461"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/975dbd1a5bb9ebc0402da13a4afc6b5c.jpg","text":"TemporaryFile(/tmp/multipartBody5309118924380409310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305143738,"filename":"image_18032025_01_46_21_4318.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1740558788085152182a0f96669ed151.jpg","text":"TemporaryFile(/tmp/multipartBody4186884401923574095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305143738,"filename":"image_18032025_01_46_33_4122.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/784486e724dba256869fddefbf836238.jpg","text":"TemporaryFile(/tmp/multipartBody5506248990533191917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305143738,"filename":"image_18032025_01_46_29_3132.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5e476e0782c859772e568f9a8ecd3101.jpg","text":"TemporaryFile(/tmp/multipartBody9043758110062628356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305143738,"filename":"image_18032025_01_46_13_3322.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c102178e0251ae2eae95af6332288805.jpg","text":"TemporaryFile(/tmp/multipartBody1904595564574197021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305143738,"filename":"image_18032025_01_46_26_4217.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b29448a73574dc891af1c5be1444fa25.jpg","text":"TemporaryFile(/tmp/multipartBody1474936484336808767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305143738,"filename":"image_18032025_01_46_17_4107.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345137404","file1":"1345137398","file0":"1345137381","file4":"1345137430","file5":"1345137461","file3":"1345137406"},"map_files_photo_id_array":[{"photo_id":"1345137461","filename":"file5"},{"photo_id":"1345137404","filename":"file2"},{"photo_id":"1345137430","filename":"file4"},{"photo_id":"1345137398","filename":"file1"},{"photo_id":"1345137381","filename":"file0"},{"photo_id":"1345137406","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345137406":["hashtag1","hashtag2"]},{"1345137381":["hashtag1","hashtag2"]},{"1345137398":["hashtag1","hashtag2"]},{"1345137461":["hashtag1","hashtag2"]},{"1345137404":["hashtag1","hashtag2"]},{"1345137430":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345137406, 1345137381, 1345137398, 1345137461, 1345137404, 1345137430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.894108772277832 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:39:03.456487
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_10_4112.jpg', 2), ('/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_05_4411.jpg', 2), ('/home/nano/Desktop/images/18032025/01/45/image_18032025_01_46_01_4089.jpg', 2), ('/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_57_4102.jpg', 2), ('/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_53_4066.jpg', 2), ('/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_49_4080.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_10_4112.jpg', '/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_05_4411.jpg', '/home/nano/Desktop/images/18032025/01/45/image_18032025_01_46_01_4089.jpg', '/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_57_4102.jpg', '/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_53_4066.jpg', '/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_49_4080.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_10_4112.jpg
/home/nano/Desktop/images/18032025/01/46/image_18032025_01_46_05_4411.jpg
/home/nano/Desktop/images/18032025/01/45/image_18032025_01_46_01_4089.jpg
/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_57_4102.jpg
/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_53_4066.jpg
/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_49_4080.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345137715","1345137703","1345137606","1345137707","1345137710","1345137655"],"photo_ids_order":["1345137606","1345137655","1345137703","1345137707","1345137710","1345137715"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b49bfbc458a0af6981e3d127273e5f68.jpg","text":"TemporaryFile(/tmp/multipartBody8084519585560868421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305204080,"filename":"image_18032025_01_45_49_4080.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/315614cb5497ba897f0957e96b6f1e4b.jpg","text":"TemporaryFile(/tmp/multipartBody2369035155702908075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305204080,"filename":"image_18032025_01_46_01_4089.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9ba85bc9eae307b59bf645e43a792307.jpg","text":"TemporaryFile(/tmp/multipartBody3492151492868488221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305204080,"filename":"image_18032025_01_46_10_4112.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5d0af404a94f0bb53fb1a1a984201d67.jpg","text":"TemporaryFile(/tmp/multipartBody6431883186117814116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305204080,"filename":"image_18032025_01_45_57_4102.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3f472f4ce8a1ddfd1a6d75a79e53609a.jpg","text":"TemporaryFile(/tmp/multipartBody790854229027572899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305204080,"filename":"image_18032025_01_45_53_4066.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e1aece26457fae66bc16f7cdf35062f5.jpg","text":"TemporaryFile(/tmp/multipartBody7736301754760949976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305204080,"filename":"image_18032025_01_46_05_4411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345137703","file1":"1345137655","file0":"1345137606","file4":"1345137710","file5":"1345137715","file3":"1345137707"},"map_files_photo_id_array":[{"photo_id":"1345137715","filename":"file5"},{"photo_id":"1345137703","filename":"file2"},{"photo_id":"1345137710","filename":"file4"},{"photo_id":"1345137655","filename":"file1"},{"photo_id":"1345137606","filename":"file0"},{"photo_id":"1345137707","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345137715":["hashtag1","hashtag2"]},{"1345137703":["hashtag1","hashtag2"]},{"1345137606":["hashtag1","hashtag2"]},{"1345137707":["hashtag1","hashtag2"]},{"1345137710":["hashtag1","hashtag2"]},{"1345137655":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345137715, 1345137703, 1345137606, 1345137707, 1345137710, 1345137655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.74282169342041 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:40:03.157904
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_45_4038.jpg', 2), ('/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_41_3004.jpg', 2), ('/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_38_4012.jpg', 2), ('/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_34_4088.jpg', 2), ('/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_30_4065.jpg', 2), ('/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_26_4017.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_45_4038.jpg', '/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_41_3004.jpg', '/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_38_4012.jpg', '/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_34_4088.jpg', '/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_30_4065.jpg', '/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_26_4017.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_45_4038.jpg
/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_41_3004.jpg
/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_38_4012.jpg
/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_34_4088.jpg
/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_30_4065.jpg
/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_26_4017.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345137948","1345137942","1345137968","1345137977","1345137956","1345137958"],"photo_ids_order":["1345137942","1345137948","1345137956","1345137958","1345137968","1345137977"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/41d3746929994eabf9e268670be0ba8d.jpg","text":"TemporaryFile(/tmp/multipartBody8546609813000396377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305263763,"filename":"image_18032025_01_45_41_3004.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9f7d4a938e5614c640d9be1c1776a109.jpg","text":"TemporaryFile(/tmp/multipartBody5044727905750511889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305263763,"filename":"image_18032025_01_45_45_4038.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8d91744da6ac3dd151ce9ba9e55b79f2.jpg","text":"TemporaryFile(/tmp/multipartBody4968424156596230679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305263763,"filename":"image_18032025_01_45_30_4065.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/04024975730064e2d2331ff789248e8b.jpg","text":"TemporaryFile(/tmp/multipartBody1913840678520914161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305263763,"filename":"image_18032025_01_45_26_4017.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b3654849e6ab4c429797a653ec5480d4.jpg","text":"TemporaryFile(/tmp/multipartBody7077576986593391273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305263763,"filename":"image_18032025_01_45_38_4012.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c203fdf5fa8243e147bee45fdc1fc428.jpg","text":"TemporaryFile(/tmp/multipartBody5612739413662371993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305263763,"filename":"image_18032025_01_45_34_4088.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345137956","file1":"1345137948","file0":"1345137942","file4":"1345137968","file5":"1345137977","file3":"1345137958"},"map_files_photo_id_array":[{"photo_id":"1345137977","filename":"file5"},{"photo_id":"1345137956","filename":"file2"},{"photo_id":"1345137968","filename":"file4"},{"photo_id":"1345137948","filename":"file1"},{"photo_id":"1345137942","filename":"file0"},{"photo_id":"1345137958","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345137948":["hashtag1","hashtag2"]},{"1345137942":["hashtag1","hashtag2"]},{"1345137968":["hashtag1","hashtag2"]},{"1345137977":["hashtag1","hashtag2"]},{"1345137956":["hashtag1","hashtag2"]},{"1345137958":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345137948, 1345137942, 1345137968, 1345137977, 1345137956, 1345137958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.550139665603638 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:41:03.653014
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_22_4041.jpg', 2), ('/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_17_3829.jpg', 2), ('/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_14_4882.jpg', 2), ('/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_09_4017.jpg', 2), ('/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_05_3379.jpg', 2), ('/home/nano/Desktop/images/18032025/01/44/image_18032025_01_45_01_4110.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_22_4041.jpg', '/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_17_3829.jpg', '/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_14_4882.jpg', '/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_09_4017.jpg', '/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_05_3379.jpg', '/home/nano/Desktop/images/18032025/01/44/image_18032025_01_45_01_4110.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_22_4041.jpg
/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_17_3829.jpg
/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_14_4882.jpg
/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_09_4017.jpg
/home/nano/Desktop/images/18032025/01/45/image_18032025_01_45_05_3379.jpg
/home/nano/Desktop/images/18032025/01/44/image_18032025_01_45_01_4110.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345138098","1345138185","1345138152","1345138122","1345138096","1345138100"],"photo_ids_order":["1345138096","1345138098","1345138100","1345138122","1345138152","1345138185"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/48a907cb2a0afea35492e758b16b9ff6.jpg","text":"TemporaryFile(/tmp/multipartBody4690392654004457081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305324139,"filename":"image_18032025_01_45_17_3829.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2a758714aeed257a5ed6083e7107a963.jpg","text":"TemporaryFile(/tmp/multipartBody6944062730011575250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305324139,"filename":"image_18032025_01_45_01_4110.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/602b4e4eeb47e11b21b3cd49ceeac387.jpg","text":"TemporaryFile(/tmp/multipartBody4464199475468569216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305324139,"filename":"image_18032025_01_45_05_3379.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0a462d1043416d76bdb06290742abc0a.jpg","text":"TemporaryFile(/tmp/multipartBody90002833568004840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305324139,"filename":"image_18032025_01_45_09_4017.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/664044edb51d5d83d0aa3c6ebe0f45aa.jpg","text":"TemporaryFile(/tmp/multipartBody3160292510535806853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305324139,"filename":"image_18032025_01_45_22_4041.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/35c1e25d67c8d696661be0ddc2ef816a.jpg","text":"TemporaryFile(/tmp/multipartBody2009681033472944565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305324139,"filename":"image_18032025_01_45_14_4882.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345138100","file1":"1345138098","file0":"1345138096","file4":"1345138152","file5":"1345138185","file3":"1345138122"},"map_files_photo_id_array":[{"photo_id":"1345138185","filename":"file5"},{"photo_id":"1345138100","filename":"file2"},{"photo_id":"1345138152","filename":"file4"},{"photo_id":"1345138098","filename":"file1"},{"photo_id":"1345138096","filename":"file0"},{"photo_id":"1345138122","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345138098":["hashtag1","hashtag2"]},{"1345138185":["hashtag1","hashtag2"]},{"1345138152":["hashtag1","hashtag2"]},{"1345138122":["hashtag1","hashtag2"]},{"1345138096":["hashtag1","hashtag2"]},{"1345138100":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345138098, 1345138185, 1345138152, 1345138122, 1345138096, 1345138100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.02253556251526 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:42:02.493958
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_57_3965.jpg', 2), ('/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_53_4129.jpg', 2), ('/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_49_4098.jpg', 2), ('/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_45_4129.jpg', 2), ('/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_41_4112.jpg', 2), ('/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_37_4124.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_57_3965.jpg', '/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_53_4129.jpg', '/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_49_4098.jpg', '/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_45_4129.jpg', '/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_41_4112.jpg', '/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_37_4124.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_57_3965.jpg
/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_53_4129.jpg
/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_49_4098.jpg
/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_45_4129.jpg
/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_41_4112.jpg
/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_37_4124.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345138476","1345138617","1345138524","1345138580","1345138544","1345138498"],"photo_ids_order":["1345138476","1345138498","1345138524","1345138544","1345138580","1345138617"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d42253a20a7f79e66bd2fa44d89bb826.jpg","text":"TemporaryFile(/tmp/multipartBody769658214042667698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305383163,"filename":"image_18032025_01_44_57_3965.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9c0df1ec10509d81a0c924746c10721b.jpg","text":"TemporaryFile(/tmp/multipartBody328173519825519386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305383163,"filename":"image_18032025_01_44_37_4124.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/264abe040c971ca485af590b96df3439.jpg","text":"TemporaryFile(/tmp/multipartBody8410005425941831480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305383163,"filename":"image_18032025_01_44_49_4098.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/87eebb6d147f1a865905b1ceb7db8fd8.jpg","text":"TemporaryFile(/tmp/multipartBody5144546507389630547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305383163,"filename":"image_18032025_01_44_41_4112.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9ecd834afc145621cf3e7b746d855e98.jpg","text":"TemporaryFile(/tmp/multipartBody1098170953852982122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305383163,"filename":"image_18032025_01_44_45_4129.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d1905bbc85b04654dc22b78251fa2449.jpg","text":"TemporaryFile(/tmp/multipartBody7841793415285287045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305383163,"filename":"image_18032025_01_44_53_4129.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345138524","file1":"1345138498","file0":"1345138476","file4":"1345138580","file5":"1345138617","file3":"1345138544"},"map_files_photo_id_array":[{"photo_id":"1345138617","filename":"file5"},{"photo_id":"1345138524","filename":"file2"},{"photo_id":"1345138580","filename":"file4"},{"photo_id":"1345138498","filename":"file1"},{"photo_id":"1345138476","filename":"file0"},{"photo_id":"1345138544","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345138476":["hashtag1","hashtag2"]},{"1345138617":["hashtag1","hashtag2"]},{"1345138524":["hashtag1","hashtag2"]},{"1345138580":["hashtag1","hashtag2"]},{"1345138544":["hashtag1","hashtag2"]},{"1345138498":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345138476, 1345138617, 1345138524, 1345138580, 1345138544, 1345138498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.07599449157715 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:43:02.891808
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_33_3039.jpg', 2), ('/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_30_4064.jpg', 2), ('/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_26_4069.jpg', 2), ('/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_22_4123.jpg', 2), ('/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_17_4222.jpg', 2), ('/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_13_4248.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_33_3039.jpg', '/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_30_4064.jpg', '/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_26_4069.jpg', '/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_22_4123.jpg', '/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_17_4222.jpg', '/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_13_4248.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_33_3039.jpg
/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_30_4064.jpg
/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_26_4069.jpg
/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_22_4123.jpg
/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_17_4222.jpg
/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_13_4248.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345139025","1345138944","1345139090","1345139135","1345139129","1345138967"],"photo_ids_order":["1345138944","1345138967","1345139025","1345139090","1345139129","1345139135"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2513ae17af696fa69689db1c107b6993.jpg","text":"TemporaryFile(/tmp/multipartBody934288331309380548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305443446,"filename":"image_18032025_01_44_26_4069.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0f355fc231d6782b9edab7f880f1dcd0.jpg","text":"TemporaryFile(/tmp/multipartBody989699514538317083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305443446,"filename":"image_18032025_01_44_33_3039.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5af0ce3f11a8ba7a593eb8f7a45aeac6.jpg","text":"TemporaryFile(/tmp/multipartBody9213871180904601390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305443446,"filename":"image_18032025_01_44_22_4123.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b342679d425125e366539b31cd5b1321.jpg","text":"TemporaryFile(/tmp/multipartBody2032792170595892971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305443446,"filename":"image_18032025_01_44_13_4248.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/735922579c04f843816fab40981e5a0b.jpg","text":"TemporaryFile(/tmp/multipartBody7213721857302763815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305443446,"filename":"image_18032025_01_44_17_4222.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1164ad703db432cb4ecf643beab9d5cd.jpg","text":"TemporaryFile(/tmp/multipartBody3265257592928900437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305443446,"filename":"image_18032025_01_44_30_4064.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345139025","file1":"1345138967","file0":"1345138944","file4":"1345139129","file5":"1345139135","file3":"1345139090"},"map_files_photo_id_array":[{"photo_id":"1345139135","filename":"file5"},{"photo_id":"1345139025","filename":"file2"},{"photo_id":"1345139129","filename":"file4"},{"photo_id":"1345138967","filename":"file1"},{"photo_id":"1345138944","filename":"file0"},{"photo_id":"1345139090","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345139025":["hashtag1","hashtag2"]},{"1345138944":["hashtag1","hashtag2"]},{"1345139090":["hashtag1","hashtag2"]},{"1345139135":["hashtag1","hashtag2"]},{"1345139129":["hashtag1","hashtag2"]},{"1345138967":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345139025, 1345138944, 1345139090, 1345139135, 1345139129, 1345138967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.35958695411682 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:44:03.042597
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_09_3927.jpg', 2), ('/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_05_4266.jpg', 2), ('/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_01_3167.jpg', 2), ('/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_58_4356.jpg', 2), ('/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_53_4345.jpg', 2), ('/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_49_4169.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_09_3927.jpg', '/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_05_4266.jpg', '/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_01_3167.jpg', '/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_58_4356.jpg', '/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_53_4345.jpg', '/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_49_4169.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_09_3927.jpg
/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_05_4266.jpg
/home/nano/Desktop/images/18032025/01/44/image_18032025_01_44_01_3167.jpg
/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_58_4356.jpg
/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_53_4345.jpg
/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_49_4169.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345139180","1345139174","1345139176","1345139172","1345139166","1345139169"],"photo_ids_order":["1345139166","1345139169","1345139172","1345139174","1345139176","1345139180"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/29ccc14d6f22d94285c7844b15a0caf8.jpg","text":"TemporaryFile(/tmp/multipartBody701705137550161086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305503695,"filename":"image_18032025_01_43_49_4169.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9c6c86305a0f6136435046e6d3482dde.jpg","text":"TemporaryFile(/tmp/multipartBody8806985119672983047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305503695,"filename":"image_18032025_01_43_58_4356.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/42f9b2a51ee37f51022d59a795b770b2.jpg","text":"TemporaryFile(/tmp/multipartBody7915710446148235821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305503695,"filename":"image_18032025_01_43_53_4345.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ee6b9182259d6c1c18f4dae1482cc7c5.jpg","text":"TemporaryFile(/tmp/multipartBody4138934238392919080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305503695,"filename":"image_18032025_01_44_01_3167.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b75a529637b0fc5d9fcf0643d9810a5b.jpg","text":"TemporaryFile(/tmp/multipartBody487340642600245255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305503695,"filename":"image_18032025_01_44_09_3927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cf513df334d494daa0314b123cf1e9b8.jpg","text":"TemporaryFile(/tmp/multipartBody1481966790506706836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305503695,"filename":"image_18032025_01_44_05_4266.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345139172","file1":"1345139169","file0":"1345139166","file4":"1345139176","file5":"1345139180","file3":"1345139174"},"map_files_photo_id_array":[{"photo_id":"1345139180","filename":"file5"},{"photo_id":"1345139172","filename":"file2"},{"photo_id":"1345139176","filename":"file4"},{"photo_id":"1345139169","filename":"file1"},{"photo_id":"1345139166","filename":"file0"},{"photo_id":"1345139174","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345139180":["hashtag1","hashtag2"]},{"1345139174":["hashtag1","hashtag2"]},{"1345139176":["hashtag1","hashtag2"]},{"1345139172":["hashtag1","hashtag2"]},{"1345139166":["hashtag1","hashtag2"]},{"1345139169":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345139180, 1345139174, 1345139176, 1345139172, 1345139166, 1345139169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.03016662597656 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:45:03.080524
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_45_3159.jpg', 2), ('/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_42_4192.jpg', 2), ('/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_37_3828.jpg', 2), ('/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_34_4172.jpg', 2), ('/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_29_4165.jpg', 2), ('/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_25_4139.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_45_3159.jpg', '/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_42_4192.jpg', '/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_37_3828.jpg', '/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_34_4172.jpg', '/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_29_4165.jpg', '/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_25_4139.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_45_3159.jpg
/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_42_4192.jpg
/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_37_3828.jpg
/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_34_4172.jpg
/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_29_4165.jpg
/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_25_4139.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345139406","1345139461","1345139455","1345139458","1345139466","1345139448"],"photo_ids_order":["1345139406","1345139448","1345139455","1345139458","1345139461","1345139466"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/024a51e4de2c3384bd26d38b652c985d.jpg","text":"TemporaryFile(/tmp/multipartBody4134779279921980445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305563584,"filename":"image_18032025_01_43_45_3159.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2b2a9f19acc5aecb64d395a071c81ab3.jpg","text":"TemporaryFile(/tmp/multipartBody2607021850648427493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305563584,"filename":"image_18032025_01_43_29_4165.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/734d7ec3c05a2323f729687645f8c892.jpg","text":"TemporaryFile(/tmp/multipartBody3289372723737213506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305563584,"filename":"image_18032025_01_43_37_3828.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c3abab123ae0622b48e18ba3dc4243bf.jpg","text":"TemporaryFile(/tmp/multipartBody8152125759717511391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305563584,"filename":"image_18032025_01_43_34_4172.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/acbe1d3af63c0c882026f69e05d64b08.jpg","text":"TemporaryFile(/tmp/multipartBody5571064921318375762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305563584,"filename":"image_18032025_01_43_25_4139.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b91fdd2899869d38ee69b7c343a901d9.jpg","text":"TemporaryFile(/tmp/multipartBody7818078361669138353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305563584,"filename":"image_18032025_01_43_42_4192.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345139455","file1":"1345139448","file0":"1345139406","file4":"1345139461","file5":"1345139466","file3":"1345139458"},"map_files_photo_id_array":[{"photo_id":"1345139466","filename":"file5"},{"photo_id":"1345139455","filename":"file2"},{"photo_id":"1345139461","filename":"file4"},{"photo_id":"1345139448","filename":"file1"},{"photo_id":"1345139406","filename":"file0"},{"photo_id":"1345139458","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345139406":["hashtag1","hashtag2"]},{"1345139461":["hashtag1","hashtag2"]},{"1345139455":["hashtag1","hashtag2"]},{"1345139458":["hashtag1","hashtag2"]},{"1345139466":["hashtag1","hashtag2"]},{"1345139448":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345139406, 1345139461, 1345139455, 1345139458, 1345139466, 1345139448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.87128162384033 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:46:03.208379
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_21_4154.jpg', 2), ('/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_17_3187.jpg', 2), ('/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_14_4263.jpg', 2), ('/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_09_4162.jpg', 2), ('/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_05_3572.jpg', 2), ('/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_02_4170.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_21_4154.jpg', '/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_17_3187.jpg', '/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_14_4263.jpg', '/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_09_4162.jpg', '/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_05_3572.jpg', '/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_02_4170.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_21_4154.jpg
/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_17_3187.jpg
/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_14_4263.jpg
/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_09_4162.jpg
/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_05_3572.jpg
/home/nano/Desktop/images/18032025/01/43/image_18032025_01_43_02_4170.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345139695","1345139653","1345139635","1345139592","1345139544","1345139538"],"photo_ids_order":["1345139538","1345139544","1345139592","1345139635","1345139653","1345139695"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5b4b6771ff389d73f6e79f76d8cba092.jpg","text":"TemporaryFile(/tmp/multipartBody6211241601347769788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305623748,"filename":"image_18032025_01_43_02_4170.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e160628e4e4a2c4efae2b742332bd445.jpg","text":"TemporaryFile(/tmp/multipartBody8898008605567786141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305623748,"filename":"image_18032025_01_43_05_3572.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/18f20eb34e2a222429b70368feb25884.jpg","text":"TemporaryFile(/tmp/multipartBody3538860124427504059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305623748,"filename":"image_18032025_01_43_09_4162.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2cb33c5ef345cbdf95b582c41dd8560a.jpg","text":"TemporaryFile(/tmp/multipartBody3876851274976833909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305623748,"filename":"image_18032025_01_43_14_4263.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e22ca03552fc3b6540175e640b1735f3.jpg","text":"TemporaryFile(/tmp/multipartBody3190583433262916345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305623748,"filename":"image_18032025_01_43_17_3187.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ba0c6a736c08fd02b82f57af3203e2bd.jpg","text":"TemporaryFile(/tmp/multipartBody7309203206435427628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305623748,"filename":"image_18032025_01_43_21_4154.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345139592","file1":"1345139544","file0":"1345139538","file4":"1345139653","file5":"1345139695","file3":"1345139635"},"map_files_photo_id_array":[{"photo_id":"1345139695","filename":"file5"},{"photo_id":"1345139592","filename":"file2"},{"photo_id":"1345139653","filename":"file4"},{"photo_id":"1345139544","filename":"file1"},{"photo_id":"1345139538","filename":"file0"},{"photo_id":"1345139635","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345139695":["hashtag1","hashtag2"]},{"1345139653":["hashtag1","hashtag2"]},{"1345139635":["hashtag1","hashtag2"]},{"1345139592":["hashtag1","hashtag2"]},{"1345139544":["hashtag1","hashtag2"]},{"1345139538":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345139695, 1345139653, 1345139635, 1345139592, 1345139544, 1345139538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.02013111114502 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:47:03.482819
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_58_4160.jpg', 2), ('/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_53_4277.jpg', 2), ('/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_49_4278.jpg', 2), ('/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_45_3221.jpg', 2), ('/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_42_4238.jpg', 2), ('/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_37_4086.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_58_4160.jpg', '/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_53_4277.jpg', '/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_49_4278.jpg', '/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_45_3221.jpg', '/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_42_4238.jpg', '/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_37_4086.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_58_4160.jpg
/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_53_4277.jpg
/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_49_4278.jpg
/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_45_3221.jpg
/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_42_4238.jpg
/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_37_4086.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345139759","1345139762","1345139764","1345139766","1345139760","1345139757"],"photo_ids_order":["1345139757","1345139759","1345139760","1345139762","1345139764","1345139766"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3bcd320d3801a8e6219ae6398053c4c6.jpg","text":"TemporaryFile(/tmp/multipartBody4766652878752691423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305684045,"filename":"image_18032025_01_42_53_4277.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e0e96551876e09ebd48f991aab6e979d.jpg","text":"TemporaryFile(/tmp/multipartBody915827159505323763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305684045,"filename":"image_18032025_01_42_45_3221.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7843e8cf71bc4cf0f027ce5dd96b2753.jpg","text":"TemporaryFile(/tmp/multipartBody3040828456271182770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305684045,"filename":"image_18032025_01_42_42_4238.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c954c32b31f6f94254e53c0edfc77410.jpg","text":"TemporaryFile(/tmp/multipartBody1254577767780707673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305684045,"filename":"image_18032025_01_42_37_4086.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9ffc435f26fcc66f45c79d53bf07c9fa.jpg","text":"TemporaryFile(/tmp/multipartBody5827003623957251848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305684045,"filename":"image_18032025_01_42_49_4278.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c56f1381b57419af36f16d54b9e5a451.jpg","text":"TemporaryFile(/tmp/multipartBody4195593492457113731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305684045,"filename":"image_18032025_01_42_58_4160.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345139760","file1":"1345139759","file0":"1345139757","file4":"1345139764","file5":"1345139766","file3":"1345139762"},"map_files_photo_id_array":[{"photo_id":"1345139766","filename":"file5"},{"photo_id":"1345139760","filename":"file2"},{"photo_id":"1345139764","filename":"file4"},{"photo_id":"1345139759","filename":"file1"},{"photo_id":"1345139757","filename":"file0"},{"photo_id":"1345139762","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345139759":["hashtag1","hashtag2"]},{"1345139762":["hashtag1","hashtag2"]},{"1345139764":["hashtag1","hashtag2"]},{"1345139766":["hashtag1","hashtag2"]},{"1345139760":["hashtag1","hashtag2"]},{"1345139757":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345139759, 1345139762, 1345139764, 1345139766, 1345139760, 1345139757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.999525785446167 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:48:02.743631
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_33_4087.jpg', 2), ('/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_29_4077.jpg', 2), ('/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_25_4082.jpg', 2), ('/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_21_4190.jpg', 2), ('/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_17_3950.jpg', 2), ('/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_13_4089.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_33_4087.jpg', '/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_29_4077.jpg', '/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_25_4082.jpg', '/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_21_4190.jpg', '/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_17_3950.jpg', '/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_13_4089.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_33_4087.jpg
/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_29_4077.jpg
/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_25_4082.jpg
/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_21_4190.jpg
/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_17_3950.jpg
/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_13_4089.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345139808","1345139804","1345139812","1345139800","1345139793","1345139796"],"photo_ids_order":["1345139793","1345139796","1345139800","1345139804","1345139808","1345139812"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d3ad53aa8368aeaefe131db85551efd3.jpg","text":"TemporaryFile(/tmp/multipartBody5930412444196770388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305743301,"filename":"image_18032025_01_42_17_3950.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5b3ac832b65a9487c371628fc48cd3d6.jpg","text":"TemporaryFile(/tmp/multipartBody7699927873609519320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305743301,"filename":"image_18032025_01_42_21_4190.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3a815b5e5bd2666e15a8b6043d6d868e.jpg","text":"TemporaryFile(/tmp/multipartBody3969468894777893671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305743301,"filename":"image_18032025_01_42_13_4089.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1644ebef116e40062b4807f96b5b3220.jpg","text":"TemporaryFile(/tmp/multipartBody7480184351448226489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305743301,"filename":"image_18032025_01_42_25_4082.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5310cd3f3ab471470036c9bf1fc7db36.jpg","text":"TemporaryFile(/tmp/multipartBody7658087619099044083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305743301,"filename":"image_18032025_01_42_33_4087.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1faaf6e359b6a25ba1fca50e8bf2ef69.jpg","text":"TemporaryFile(/tmp/multipartBody2713989022733260310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305743301,"filename":"image_18032025_01_42_29_4077.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345139800","file1":"1345139796","file0":"1345139793","file4":"1345139808","file5":"1345139812","file3":"1345139804"},"map_files_photo_id_array":[{"photo_id":"1345139812","filename":"file5"},{"photo_id":"1345139800","filename":"file2"},{"photo_id":"1345139808","filename":"file4"},{"photo_id":"1345139796","filename":"file1"},{"photo_id":"1345139793","filename":"file0"},{"photo_id":"1345139804","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345139808":["hashtag1","hashtag2"]},{"1345139804":["hashtag1","hashtag2"]},{"1345139812":["hashtag1","hashtag2"]},{"1345139800":["hashtag1","hashtag2"]},{"1345139793":["hashtag1","hashtag2"]},{"1345139796":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345139808, 1345139804, 1345139812, 1345139800, 1345139793, 1345139796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.190572261810303 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:49:03.287081
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_09_3116.jpg', 2), ('/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_06_4700.jpg', 2), ('/home/nano/Desktop/images/18032025/01/41/image_18032025_01_42_01_3907.jpg', 2), ('/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_57_4254.jpg', 2), ('/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_53_3212.jpg', 2), ('/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_50_4232.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_09_3116.jpg', '/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_06_4700.jpg', '/home/nano/Desktop/images/18032025/01/41/image_18032025_01_42_01_3907.jpg', '/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_57_4254.jpg', '/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_53_3212.jpg', '/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_50_4232.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_09_3116.jpg
/home/nano/Desktop/images/18032025/01/42/image_18032025_01_42_06_4700.jpg
/home/nano/Desktop/images/18032025/01/41/image_18032025_01_42_01_3907.jpg
/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_57_4254.jpg
/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_53_3212.jpg
/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_50_4232.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345139843","1345139836","1345139839","1345139848","1345139865","1345139856"],"photo_ids_order":["1345139836","1345139839","1345139843","1345139848","1345139856","1345139865"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/98d96547a5506ce42b49ada368d55f9d.jpg","text":"TemporaryFile(/tmp/multipartBody8248304578913671316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305803983,"filename":"image_18032025_01_42_01_3907.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3a22bc1132b1a50817e98ca92ebb383c.jpg","text":"TemporaryFile(/tmp/multipartBody99874838835066848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305803983,"filename":"image_18032025_01_42_09_3116.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/471d55c09ad7525f53739afae61b663c.jpg","text":"TemporaryFile(/tmp/multipartBody1810573878184525134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305803983,"filename":"image_18032025_01_42_06_4700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b3b903ad61d48b5a60a56535a4b369b3.jpg","text":"TemporaryFile(/tmp/multipartBody8440491699452587664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305803983,"filename":"image_18032025_01_41_57_4254.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bb25038acd9937e313bd4370b1cea844.jpg","text":"TemporaryFile(/tmp/multipartBody7599122250849277472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305803983,"filename":"image_18032025_01_41_50_4232.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/addf16122526a378b3d46c3531427c42.jpg","text":"TemporaryFile(/tmp/multipartBody9042066252420159935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305803983,"filename":"image_18032025_01_41_53_3212.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345139843","file1":"1345139839","file0":"1345139836","file4":"1345139856","file5":"1345139865","file3":"1345139848"},"map_files_photo_id_array":[{"photo_id":"1345139865","filename":"file5"},{"photo_id":"1345139843","filename":"file2"},{"photo_id":"1345139856","filename":"file4"},{"photo_id":"1345139839","filename":"file1"},{"photo_id":"1345139836","filename":"file0"},{"photo_id":"1345139848","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345139843":["hashtag1","hashtag2"]},{"1345139836":["hashtag1","hashtag2"]},{"1345139839":["hashtag1","hashtag2"]},{"1345139848":["hashtag1","hashtag2"]},{"1345139865":["hashtag1","hashtag2"]},{"1345139856":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345139843, 1345139836, 1345139839, 1345139848, 1345139865, 1345139856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.76971936225891 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:50:03.138603
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_45_4408.jpg', 2), ('/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_41_3384.jpg', 2), ('/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_38_4289.jpg', 2), ('/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_33_4189.jpg', 2), ('/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_29_4127.jpg', 2), ('/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_25_4073.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_45_4408.jpg', '/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_41_3384.jpg', '/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_38_4289.jpg', '/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_33_4189.jpg', '/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_29_4127.jpg', '/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_25_4073.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_45_4408.jpg
/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_41_3384.jpg
/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_38_4289.jpg
/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_33_4189.jpg
/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_29_4127.jpg
/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_25_4073.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345139975","1345139990","1345139978","1345139972","1345139982","1345139985"],"photo_ids_order":["1345139972","1345139975","1345139978","1345139982","1345139985","1345139990"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/45e13f35db0d1b432840304199bacd2e.jpg","text":"TemporaryFile(/tmp/multipartBody7441743095314974049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305863704,"filename":"image_18032025_01_41_41_3384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5a553618ee26e8fff24a918d98ea537b.jpg","text":"TemporaryFile(/tmp/multipartBody5920221421538454393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305863704,"filename":"image_18032025_01_41_25_4073.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/05d2dae465a5c654e1f8f3a15ebd1808.jpg","text":"TemporaryFile(/tmp/multipartBody6276079033290308861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305863704,"filename":"image_18032025_01_41_38_4289.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b3f4cbee5eb292a435a536faefb04fa6.jpg","text":"TemporaryFile(/tmp/multipartBody7603808270539068482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305863704,"filename":"image_18032025_01_41_45_4408.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5b13ec369bb9b3b3f6b0e0a5476fbb31.jpg","text":"TemporaryFile(/tmp/multipartBody2949540706022563199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305863704,"filename":"image_18032025_01_41_33_4189.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/33279d3e04bd63f51766e120bfc28864.jpg","text":"TemporaryFile(/tmp/multipartBody3663855515625645139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305863704,"filename":"image_18032025_01_41_29_4127.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345139978","file1":"1345139975","file0":"1345139972","file4":"1345139985","file5":"1345139990","file3":"1345139982"},"map_files_photo_id_array":[{"photo_id":"1345139990","filename":"file5"},{"photo_id":"1345139978","filename":"file2"},{"photo_id":"1345139985","filename":"file4"},{"photo_id":"1345139975","filename":"file1"},{"photo_id":"1345139972","filename":"file0"},{"photo_id":"1345139982","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345139975":["hashtag1","hashtag2"]},{"1345139990":["hashtag1","hashtag2"]},{"1345139978":["hashtag1","hashtag2"]},{"1345139972":["hashtag1","hashtag2"]},{"1345139982":["hashtag1","hashtag2"]},{"1345139985":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345139975, 1345139990, 1345139978, 1345139972, 1345139982, 1345139985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.706401348114014 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:51:03.148801
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_21_4024.jpg', 2), ('/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_17_4020.jpg', 2), ('/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_13_4028.jpg', 2), ('/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_09_4103.jpg', 2), ('/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_05_3682.jpg', 2), ('/home/nano/Desktop/images/18032025/01/40/image_18032025_01_41_01_4184.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_21_4024.jpg', '/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_17_4020.jpg', '/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_13_4028.jpg', '/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_09_4103.jpg', '/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_05_3682.jpg', '/home/nano/Desktop/images/18032025/01/40/image_18032025_01_41_01_4184.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_21_4024.jpg
/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_17_4020.jpg
/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_13_4028.jpg
/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_09_4103.jpg
/home/nano/Desktop/images/18032025/01/41/image_18032025_01_41_05_3682.jpg
/home/nano/Desktop/images/18032025/01/40/image_18032025_01_41_01_4184.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345140022","1345140031","1345140025","1345140019","1345140013","1345140016"],"photo_ids_order":["1345140013","1345140016","1345140019","1345140022","1345140025","1345140031"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0e31f33472b6a0752dc9054a43bf1357.jpg","text":"TemporaryFile(/tmp/multipartBody3691693944235170246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305923661,"filename":"image_18032025_01_41_09_4103.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/835f872d359634d7d896727105bc8eaf.jpg","text":"TemporaryFile(/tmp/multipartBody1583980203024032413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305923661,"filename":"image_18032025_01_41_01_4184.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/44af1eb53428588856675cd6612d1b2d.jpg","text":"TemporaryFile(/tmp/multipartBody1134667994804387747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305923661,"filename":"image_18032025_01_41_05_3682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/29c60b2601bfcfbcfcb67eaee180e356.jpg","text":"TemporaryFile(/tmp/multipartBody1487616708374663432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305923661,"filename":"image_18032025_01_41_13_4028.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7519f367c691f2549cfea5d3d2846dc7.jpg","text":"TemporaryFile(/tmp/multipartBody7963457407885660062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305923661,"filename":"image_18032025_01_41_21_4024.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cf0326b1c8e0906c9af0fbdfb02182e0.jpg","text":"TemporaryFile(/tmp/multipartBody8902486498236126669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305923661,"filename":"image_18032025_01_41_17_4020.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345140019","file1":"1345140016","file0":"1345140013","file4":"1345140025","file5":"1345140031","file3":"1345140022"},"map_files_photo_id_array":[{"photo_id":"1345140031","filename":"file5"},{"photo_id":"1345140019","filename":"file2"},{"photo_id":"1345140025","filename":"file4"},{"photo_id":"1345140016","filename":"file1"},{"photo_id":"1345140013","filename":"file0"},{"photo_id":"1345140022","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345140022":["hashtag1","hashtag2"]},{"1345140031":["hashtag1","hashtag2"]},{"1345140025":["hashtag1","hashtag2"]},{"1345140019":["hashtag1","hashtag2"]},{"1345140013":["hashtag1","hashtag2"]},{"1345140016":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345140022, 1345140031, 1345140025, 1345140019, 1345140013, 1345140016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.870233297348022 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:52:03.485759
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_57_3183.jpg', 2), ('/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_54_4209.jpg', 2), ('/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_49_4201.jpg', 2), ('/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_45_4206.jpg', 2), ('/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_41_4226.jpg', 2), ('/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_37_3196.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_57_3183.jpg', '/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_54_4209.jpg', '/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_49_4201.jpg', '/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_45_4206.jpg', '/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_41_4226.jpg', '/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_37_3196.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_57_3183.jpg
/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_54_4209.jpg
/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_49_4201.jpg
/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_45_4206.jpg
/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_41_4226.jpg
/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_37_3196.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345140060","1345140054","1345140063","1345140057","1345140050","1345140068"],"photo_ids_order":["1345140050","1345140054","1345140057","1345140060","1345140063","1345140068"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3546d7b570fc185398b194e4bb41079c.jpg","text":"TemporaryFile(/tmp/multipartBody951927389699136384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305984043,"filename":"image_18032025_01_40_45_4206.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/948215b7e6d506d6579f8b4389a40601.jpg","text":"TemporaryFile(/tmp/multipartBody2281347386575611846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305984043,"filename":"image_18032025_01_40_54_4209.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f992648ba9eead7b4eb716e46494dbb9.jpg","text":"TemporaryFile(/tmp/multipartBody5802357222386069759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305984043,"filename":"image_18032025_01_40_41_4226.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7004a4297569395d6f639cd34d66b30d.jpg","text":"TemporaryFile(/tmp/multipartBody8618400319398500981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305984043,"filename":"image_18032025_01_40_49_4201.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5dcac6723ab06cc2d92653b0dcaeacb8.jpg","text":"TemporaryFile(/tmp/multipartBody6321419883589906597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305984043,"filename":"image_18032025_01_40_57_3183.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8c1de18e073322faae05e9e48d56dc3c.jpg","text":"TemporaryFile(/tmp/multipartBody7119192009626245782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742305984043,"filename":"image_18032025_01_40_37_3196.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345140057","file1":"1345140054","file0":"1345140050","file4":"1345140063","file5":"1345140068","file3":"1345140060"},"map_files_photo_id_array":[{"photo_id":"1345140068","filename":"file5"},{"photo_id":"1345140057","filename":"file2"},{"photo_id":"1345140063","filename":"file4"},{"photo_id":"1345140054","filename":"file1"},{"photo_id":"1345140050","filename":"file0"},{"photo_id":"1345140060","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345140060":["hashtag1","hashtag2"]},{"1345140054":["hashtag1","hashtag2"]},{"1345140063":["hashtag1","hashtag2"]},{"1345140057":["hashtag1","hashtag2"]},{"1345140050":["hashtag1","hashtag2"]},{"1345140068":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345140060, 1345140054, 1345140063, 1345140057, 1345140050, 1345140068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.710719347000122 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:53:02.739363
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_34_4084.jpg', 2), ('/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_30_3998.jpg', 2), ('/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_26_4074.jpg', 2), ('/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_21_4109.jpg', 2), ('/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_17_3933.jpg', 2), ('/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_13_3934.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_34_4084.jpg', '/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_30_3998.jpg', '/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_26_4074.jpg', '/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_21_4109.jpg', '/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_17_3933.jpg', '/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_13_3934.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_34_4084.jpg
/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_30_3998.jpg
/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_26_4074.jpg
/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_21_4109.jpg
/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_17_3933.jpg
/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_13_3934.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345140093","1345140086","1345140103","1345140096","1345140099","1345140090"],"photo_ids_order":["1345140086","1345140090","1345140093","1345140096","1345140099","1345140103"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8d382fa95a2617359d0171f277e0e323.jpg","text":"TemporaryFile(/tmp/multipartBody3459957511869179386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306043352,"filename":"image_18032025_01_40_26_4074.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e97cf95120094b4c7e3bedb1faae94a9.jpg","text":"TemporaryFile(/tmp/multipartBody1792680078837459848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306043352,"filename":"image_18032025_01_40_34_4084.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e5f72d4fd5915dded8393356d8d2bd76.jpg","text":"TemporaryFile(/tmp/multipartBody5880524564867800012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306043352,"filename":"image_18032025_01_40_13_3934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/36b3e429c2dc4a77b7146ade0ef03588.jpg","text":"TemporaryFile(/tmp/multipartBody5800324960336325985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306043352,"filename":"image_18032025_01_40_21_4109.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b559f7b35c3c5bd8d531f189c14f1cdc.jpg","text":"TemporaryFile(/tmp/multipartBody1848783848455111245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306043352,"filename":"image_18032025_01_40_17_3933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8f3bbf6082c26d16e89acf693cc2ccd5.jpg","text":"TemporaryFile(/tmp/multipartBody988716119245579721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306043352,"filename":"image_18032025_01_40_30_3998.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345140093","file1":"1345140090","file0":"1345140086","file4":"1345140099","file5":"1345140103","file3":"1345140096"},"map_files_photo_id_array":[{"photo_id":"1345140103","filename":"file5"},{"photo_id":"1345140093","filename":"file2"},{"photo_id":"1345140099","filename":"file4"},{"photo_id":"1345140090","filename":"file1"},{"photo_id":"1345140086","filename":"file0"},{"photo_id":"1345140096","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345140093":["hashtag1","hashtag2"]},{"1345140086":["hashtag1","hashtag2"]},{"1345140103":["hashtag1","hashtag2"]},{"1345140096":["hashtag1","hashtag2"]},{"1345140099":["hashtag1","hashtag2"]},{"1345140090":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345140093, 1345140086, 1345140103, 1345140096, 1345140099, 1345140090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.31678795814514 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:54:03.212686
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_09_3944.jpg', 2), ('/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_06_4700.jpg', 2), ('/home/nano/Desktop/images/18032025/01/39/image_18032025_01_40_01_3917.jpg', 2), ('/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_57_3931.jpg', 2), ('/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_53_4083.jpg', 2), ('/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_49_4134.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_09_3944.jpg', '/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_06_4700.jpg', '/home/nano/Desktop/images/18032025/01/39/image_18032025_01_40_01_3917.jpg', '/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_57_3931.jpg', '/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_53_4083.jpg', '/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_49_4134.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_09_3944.jpg
/home/nano/Desktop/images/18032025/01/40/image_18032025_01_40_06_4700.jpg
/home/nano/Desktop/images/18032025/01/39/image_18032025_01_40_01_3917.jpg
/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_57_3931.jpg
/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_53_4083.jpg
/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_49_4134.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345140132","1345140135","1345140129","1345140138","1345140126","1345140143"],"photo_ids_order":["1345140126","1345140129","1345140132","1345140135","1345140138","1345140143"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2511ae2e7ae09b76d09750612b0f5b85.jpg","text":"TemporaryFile(/tmp/multipartBody5588055437142346235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306103903,"filename":"image_18032025_01_40_01_3917.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a7fe1beb35ef62471a62bdf94a28c979.jpg","text":"TemporaryFile(/tmp/multipartBody8771948848962675582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306103903,"filename":"image_18032025_01_39_57_3931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3565a58243f4ae6c43ee9da5b5439edc.jpg","text":"TemporaryFile(/tmp/multipartBody8060427967020731223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306103903,"filename":"image_18032025_01_40_06_4700.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0847f8519a089eae1c8021869a37d81d.jpg","text":"TemporaryFile(/tmp/multipartBody334988793480882690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306103903,"filename":"image_18032025_01_39_53_4083.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d3672a81ac4c208486c8f4d01c7d1868.jpg","text":"TemporaryFile(/tmp/multipartBody2663061636416851624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306103903,"filename":"image_18032025_01_40_09_3944.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/999b22a7f96a38b1f102d1cca2eb00a5.jpg","text":"TemporaryFile(/tmp/multipartBody7038741245395420437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306103903,"filename":"image_18032025_01_39_49_4134.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345140132","file1":"1345140129","file0":"1345140126","file4":"1345140138","file5":"1345140143","file3":"1345140135"},"map_files_photo_id_array":[{"photo_id":"1345140143","filename":"file5"},{"photo_id":"1345140132","filename":"file2"},{"photo_id":"1345140138","filename":"file4"},{"photo_id":"1345140129","filename":"file1"},{"photo_id":"1345140126","filename":"file0"},{"photo_id":"1345140135","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345140132":["hashtag1","hashtag2"]},{"1345140135":["hashtag1","hashtag2"]},{"1345140129":["hashtag1","hashtag2"]},{"1345140138":["hashtag1","hashtag2"]},{"1345140126":["hashtag1","hashtag2"]},{"1345140143":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345140132, 1345140135, 1345140129, 1345140138, 1345140126, 1345140143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.798503160476685 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:55:03.196919
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_45_4065.jpg', 2), ('/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_41_3922.jpg', 2), ('/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_37_4082.jpg', 2), ('/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_33_3091.jpg', 2), ('/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_30_4122.jpg', 2), ('/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_25_4153.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_45_4065.jpg', '/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_41_3922.jpg', '/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_37_4082.jpg', '/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_33_3091.jpg', '/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_30_4122.jpg', '/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_25_4153.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_45_4065.jpg
/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_41_3922.jpg
/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_37_4082.jpg
/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_33_3091.jpg
/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_30_4122.jpg
/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_25_4153.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345140192","1345140219","1345140194","1345140196","1345140223","1345140198"],"photo_ids_order":["1345140192","1345140194","1345140196","1345140198","1345140219","1345140223"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/87a4135aded8c194bf19f2404837236c.jpg","text":"TemporaryFile(/tmp/multipartBody7810854287742181063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306163699,"filename":"image_18032025_01_39_45_4065.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c788b7ff9e3b512810b3374a96965b82.jpg","text":"TemporaryFile(/tmp/multipartBody4070913603972710471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306163699,"filename":"image_18032025_01_39_30_4122.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/13503d4f30b65c6d10f460535a768c8a.jpg","text":"TemporaryFile(/tmp/multipartBody7800837748868190158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306163699,"filename":"image_18032025_01_39_41_3922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/68882537d86cf7c02b59b0de50182073.jpg","text":"TemporaryFile(/tmp/multipartBody844170596907116795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306163699,"filename":"image_18032025_01_39_37_4082.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cabbefcf97a45c7a4ed1644efa111c5f.jpg","text":"TemporaryFile(/tmp/multipartBody3114893934712753589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306163699,"filename":"image_18032025_01_39_25_4153.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/542af00d6f6c8c52cfcd542082faa38b.jpg","text":"TemporaryFile(/tmp/multipartBody3647462502423179994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306163699,"filename":"image_18032025_01_39_33_3091.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345140196","file1":"1345140194","file0":"1345140192","file4":"1345140219","file5":"1345140223","file3":"1345140198"},"map_files_photo_id_array":[{"photo_id":"1345140223","filename":"file5"},{"photo_id":"1345140196","filename":"file2"},{"photo_id":"1345140219","filename":"file4"},{"photo_id":"1345140194","filename":"file1"},{"photo_id":"1345140192","filename":"file0"},{"photo_id":"1345140198","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345140192":["hashtag1","hashtag2"]},{"1345140219":["hashtag1","hashtag2"]},{"1345140194":["hashtag1","hashtag2"]},{"1345140196":["hashtag1","hashtag2"]},{"1345140223":["hashtag1","hashtag2"]},{"1345140198":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345140192, 1345140219, 1345140194, 1345140196, 1345140223, 1345140198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.049240589141846 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:56:03.221279
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_21_3955.jpg', 2), ('/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_17_4125.jpg', 2), ('/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_13_4264.jpg', 2), ('/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_09_4280.jpg', 2), ('/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_05_3828.jpg', 2), ('/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_01_3241.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_21_3955.jpg', '/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_17_4125.jpg', '/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_13_4264.jpg', '/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_09_4280.jpg', '/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_05_3828.jpg', '/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_01_3241.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_21_3955.jpg
/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_17_4125.jpg
/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_13_4264.jpg
/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_09_4280.jpg
/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_05_3828.jpg
/home/nano/Desktop/images/18032025/01/39/image_18032025_01_39_01_3241.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345140264","1345140272","1345140260","1345140266","1345140268","1345140262"],"photo_ids_order":["1345140260","1345140262","1345140264","1345140266","1345140268","1345140272"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d050eadec3c58a8126f6c4bdb6d4cc85.jpg","text":"TemporaryFile(/tmp/multipartBody5645568853320918789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306223779,"filename":"image_18032025_01_39_13_4264.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a37992a144ba803d25a77323387bcbb9.jpg","text":"TemporaryFile(/tmp/multipartBody7290196685775144273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306223779,"filename":"image_18032025_01_39_01_3241.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1a438d0f7df36e4e98f125c935318001.jpg","text":"TemporaryFile(/tmp/multipartBody3315744780649623784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306223779,"filename":"image_18032025_01_39_21_3955.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f7bda8bae854bbce31f3596fdabc63d5.jpg","text":"TemporaryFile(/tmp/multipartBody3136986192223602482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306223779,"filename":"image_18032025_01_39_09_4280.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3e52e17226eacc9c3a9903eb694805dd.jpg","text":"TemporaryFile(/tmp/multipartBody6221477433580495331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306223779,"filename":"image_18032025_01_39_05_3828.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/89e1fb639adfd2b49cd12370faeaa058.jpg","text":"TemporaryFile(/tmp/multipartBody2015583701316020873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306223779,"filename":"image_18032025_01_39_17_4125.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345140264","file1":"1345140262","file0":"1345140260","file4":"1345140268","file5":"1345140272","file3":"1345140266"},"map_files_photo_id_array":[{"photo_id":"1345140272","filename":"file5"},{"photo_id":"1345140264","filename":"file2"},{"photo_id":"1345140268","filename":"file4"},{"photo_id":"1345140262","filename":"file1"},{"photo_id":"1345140260","filename":"file0"},{"photo_id":"1345140266","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345140264":["hashtag1","hashtag2"]},{"1345140272":["hashtag1","hashtag2"]},{"1345140260":["hashtag1","hashtag2"]},{"1345140266":["hashtag1","hashtag2"]},{"1345140268":["hashtag1","hashtag2"]},{"1345140262":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345140264, 1345140272, 1345140260, 1345140266, 1345140268, 1345140262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.920137405395508 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:57:03.449674
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_58_4204.jpg', 2), ('/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_53_4275.jpg', 2), ('/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_49_3786.jpg', 2), ('/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_45_4156.jpg', 2), ('/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_41_4163.jpg', 2), ('/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_37_4232.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_58_4204.jpg', '/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_53_4275.jpg', '/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_49_3786.jpg', '/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_45_4156.jpg', '/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_41_4163.jpg', '/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_37_4232.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_58_4204.jpg
/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_53_4275.jpg
/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_49_3786.jpg
/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_45_4156.jpg
/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_41_4163.jpg
/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_37_4232.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345140938","1345140449","1345140656","1345140790","1345140404","1345140544"],"photo_ids_order":["1345140404","1345140449","1345140544","1345140656","1345140790","1345140938"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f6fb7857c10afaa08c1f5f2f33b2965e.jpg","text":"TemporaryFile(/tmp/multipartBody9051271385975960699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306283944,"filename":"image_18032025_01_38_37_4232.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/51154e5119f8ca4446e6df34bb2854b1.jpg","text":"TemporaryFile(/tmp/multipartBody8133438990718308132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306283944,"filename":"image_18032025_01_38_53_4275.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4b12079acf066507078feb5969059bc4.jpg","text":"TemporaryFile(/tmp/multipartBody5092464459493698415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306283944,"filename":"image_18032025_01_38_45_4156.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b8afc0ef0ed3bfcfb98915e426e6dd73.jpg","text":"TemporaryFile(/tmp/multipartBody8204880247818446295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306283944,"filename":"image_18032025_01_38_41_4163.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0179a5c53ac4553bed07a3b31282ad22.jpg","text":"TemporaryFile(/tmp/multipartBody2642085261463358587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306283944,"filename":"image_18032025_01_38_58_4204.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c5e30713a9753401b8a802da4abc050e.jpg","text":"TemporaryFile(/tmp/multipartBody7971491891081041002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306283944,"filename":"image_18032025_01_38_49_3786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345140544","file1":"1345140449","file0":"1345140404","file4":"1345140790","file5":"1345140938","file3":"1345140656"},"map_files_photo_id_array":[{"photo_id":"1345140938","filename":"file5"},{"photo_id":"1345140544","filename":"file2"},{"photo_id":"1345140790","filename":"file4"},{"photo_id":"1345140449","filename":"file1"},{"photo_id":"1345140404","filename":"file0"},{"photo_id":"1345140656","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345140938":["hashtag1","hashtag2"]},{"1345140449":["hashtag1","hashtag2"]},{"1345140656":["hashtag1","hashtag2"]},{"1345140790":["hashtag1","hashtag2"]},{"1345140404":["hashtag1","hashtag2"]},{"1345140544":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345140938, 1345140449, 1345140656, 1345140790, 1345140404, 1345140544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.71489191055298 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 14:59:03.533338
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_33_4105.jpg', 2), ('/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_29_3231.jpg', 2), ('/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_25_4247.jpg', 2), ('/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_21_4103.jpg', 2), ('/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_17_4107.jpg', 2), ('/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_13_4111.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_33_4105.jpg', '/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_29_3231.jpg', '/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_25_4247.jpg', '/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_21_4103.jpg', '/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_17_4107.jpg', '/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_13_4111.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_33_4105.jpg
/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_29_3231.jpg
/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_25_4247.jpg
/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_21_4103.jpg
/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_17_4107.jpg
/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_13_4111.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345141836","1345141867","1345141828","1345141843","1345141848","1345141806"],"photo_ids_order":["1345141806","1345141828","1345141836","1345141843","1345141848","1345141867"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/697338eaf1e94241c8e2efc520fa8418.jpg","text":"TemporaryFile(/tmp/multipartBody2786460699874557650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306404065,"filename":"image_18032025_01_38_25_4247.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d2637fa41fa6858fa036d182ba6034d9.jpg","text":"TemporaryFile(/tmp/multipartBody4687809288479006610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306404065,"filename":"image_18032025_01_38_13_4111.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/90ad9ef3bb25cb28c245fc0beadac37b.jpg","text":"TemporaryFile(/tmp/multipartBody3317893344175432626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306404065,"filename":"image_18032025_01_38_29_3231.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8bd081389bb396d3df885b7bca824ecf.jpg","text":"TemporaryFile(/tmp/multipartBody5035261220731032701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306404065,"filename":"image_18032025_01_38_21_4103.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e3ccab83fba6ebc3a05db74ee1e2fa94.jpg","text":"TemporaryFile(/tmp/multipartBody4594277685342790503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306404065,"filename":"image_18032025_01_38_17_4107.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/392de9690cf5f4cc47915931f1c8a0cf.jpg","text":"TemporaryFile(/tmp/multipartBody3360268236377845176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306404065,"filename":"image_18032025_01_38_33_4105.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345141836","file1":"1345141828","file0":"1345141806","file4":"1345141848","file5":"1345141867","file3":"1345141843"},"map_files_photo_id_array":[{"photo_id":"1345141867","filename":"file5"},{"photo_id":"1345141836","filename":"file2"},{"photo_id":"1345141848","filename":"file4"},{"photo_id":"1345141828","filename":"file1"},{"photo_id":"1345141806","filename":"file0"},{"photo_id":"1345141843","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345141836":["hashtag1","hashtag2"]},{"1345141867":["hashtag1","hashtag2"]},{"1345141828":["hashtag1","hashtag2"]},{"1345141843":["hashtag1","hashtag2"]},{"1345141848":["hashtag1","hashtag2"]},{"1345141806":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345141836, 1345141867, 1345141828, 1345141843, 1345141848, 1345141806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.10635232925415 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:00:02.195765
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_09_4152.jpg', 2), ('/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_05_3346.jpg', 2), ('/home/nano/Desktop/images/18032025/01/37/image_18032025_01_38_01_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_57_4138.jpg', 2), ('/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_53_4143.jpg', 2), ('/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_49_4168.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_09_4152.jpg', '/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_05_3346.jpg', '/home/nano/Desktop/images/18032025/01/37/image_18032025_01_38_01_4146.jpg', '/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_57_4138.jpg', '/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_53_4143.jpg', '/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_49_4168.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_09_4152.jpg
/home/nano/Desktop/images/18032025/01/38/image_18032025_01_38_05_3346.jpg
/home/nano/Desktop/images/18032025/01/37/image_18032025_01_38_01_4146.jpg
/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_57_4138.jpg
/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_53_4143.jpg
/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_49_4168.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345142024","1345142018","1345142029","1345142014","1345142022","1345142034"],"photo_ids_order":["1345142014","1345142018","1345142022","1345142024","1345142029","1345142034"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6c78d217df0628d0c88aa0f408244040.jpg","text":"TemporaryFile(/tmp/multipartBody7834573543703441631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306462714,"filename":"image_18032025_01_37_57_4138.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d2a97fa3d689d609c5248dfd0160a898.jpg","text":"TemporaryFile(/tmp/multipartBody4589972881284069022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306462714,"filename":"image_18032025_01_38_05_3346.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3482fa828ac3d730daed12912cde0eda.jpg","text":"TemporaryFile(/tmp/multipartBody1761295397121209172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306462714,"filename":"image_18032025_01_37_53_4143.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9a10ec9004c5d3a4e4813dd6ebe2b7c7.jpg","text":"TemporaryFile(/tmp/multipartBody1055509081730814875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306462714,"filename":"image_18032025_01_38_09_4152.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b3ca2c3b11f83035887df2a675829cc9.jpg","text":"TemporaryFile(/tmp/multipartBody3654040543095470389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306462714,"filename":"image_18032025_01_38_01_4146.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ff036e9eca9596de8f09c58b9005a85f.jpg","text":"TemporaryFile(/tmp/multipartBody6334822204231161195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306462714,"filename":"image_18032025_01_37_49_4168.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345142022","file1":"1345142018","file0":"1345142014","file4":"1345142029","file5":"1345142034","file3":"1345142024"},"map_files_photo_id_array":[{"photo_id":"1345142034","filename":"file5"},{"photo_id":"1345142022","filename":"file2"},{"photo_id":"1345142029","filename":"file4"},{"photo_id":"1345142018","filename":"file1"},{"photo_id":"1345142014","filename":"file0"},{"photo_id":"1345142024","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345142024":["hashtag1","hashtag2"]},{"1345142018":["hashtag1","hashtag2"]},{"1345142029":["hashtag1","hashtag2"]},{"1345142014":["hashtag1","hashtag2"]},{"1345142022":["hashtag1","hashtag2"]},{"1345142034":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345142024, 1345142018, 1345142029, 1345142014, 1345142022, 1345142034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.844454050064087 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:01:02.828151
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_45_4094.jpg', 2), ('/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_41_3979.jpg', 2), ('/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_37_3077.jpg', 2), ('/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_34_4095.jpg', 2), ('/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_30_4129.jpg', 2), ('/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_25_4153.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_45_4094.jpg', '/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_41_3979.jpg', '/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_37_3077.jpg', '/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_34_4095.jpg', '/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_30_4129.jpg', '/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_25_4153.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_45_4094.jpg
/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_41_3979.jpg
/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_37_3077.jpg
/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_34_4095.jpg
/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_30_4129.jpg
/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_25_4153.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345142219","1345142080","1345142170","1345142055","1345142139","1345142109"],"photo_ids_order":["1345142055","1345142080","1345142109","1345142139","1345142170","1345142219"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c5c35eb9ad54d94942dbf735295dd60f.jpg","text":"TemporaryFile(/tmp/multipartBody3011488469207583553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306523342,"filename":"image_18032025_01_37_25_4153.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/668f8a068c8f87802e1dcae8e833547d.jpg","text":"TemporaryFile(/tmp/multipartBody8059139925364812902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306523342,"filename":"image_18032025_01_37_41_3979.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7154bef55450efba06553df8f5c0ef13.jpg","text":"TemporaryFile(/tmp/multipartBody7295250213261212934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306523342,"filename":"image_18032025_01_37_30_4129.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6a98087339d346e91b12f73311f23b4b.jpg","text":"TemporaryFile(/tmp/multipartBody6610137330671723275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306523342,"filename":"image_18032025_01_37_45_4094.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/50a60a3ec47dfd653f3256d46db572a0.jpg","text":"TemporaryFile(/tmp/multipartBody2763350387787326605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306523342,"filename":"image_18032025_01_37_34_4095.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0c31a353beefa9ea311defd3c3758e43.jpg","text":"TemporaryFile(/tmp/multipartBody2025165395320919025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306523342,"filename":"image_18032025_01_37_37_3077.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345142109","file1":"1345142080","file0":"1345142055","file4":"1345142170","file5":"1345142219","file3":"1345142139"},"map_files_photo_id_array":[{"photo_id":"1345142219","filename":"file5"},{"photo_id":"1345142109","filename":"file2"},{"photo_id":"1345142170","filename":"file4"},{"photo_id":"1345142080","filename":"file1"},{"photo_id":"1345142055","filename":"file0"},{"photo_id":"1345142139","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345142219":["hashtag1","hashtag2"]},{"1345142080":["hashtag1","hashtag2"]},{"1345142170":["hashtag1","hashtag2"]},{"1345142055":["hashtag1","hashtag2"]},{"1345142139":["hashtag1","hashtag2"]},{"1345142109":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345142219, 1345142080, 1345142170, 1345142055, 1345142139, 1345142109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.066776752471924 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:02:02.869428
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_21_4140.jpg', 2), ('/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_17_4149.jpg', 2), ('/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_13_4120.jpg', 2), ('/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_09_4063.jpg', 2), ('/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_05_3147.jpg', 2), ('/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_02_4026.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_21_4140.jpg', '/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_17_4149.jpg', '/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_13_4120.jpg', '/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_09_4063.jpg', '/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_05_3147.jpg', '/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_02_4026.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_21_4140.jpg
/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_17_4149.jpg
/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_13_4120.jpg
/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_09_4063.jpg
/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_05_3147.jpg
/home/nano/Desktop/images/18032025/01/37/image_18032025_01_37_02_4026.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345142456","1345142513","1345142566","1345142643","1345142613","1345142678"],"photo_ids_order":["1345142456","1345142513","1345142566","1345142613","1345142643","1345142678"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/77987bf5b96e5ad2eba4ae904199793c.jpg","text":"TemporaryFile(/tmp/multipartBody807476215467221792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306583391,"filename":"image_18032025_01_37_21_4140.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/af785c47e513a64ce6e39832575f3ed2.jpg","text":"TemporaryFile(/tmp/multipartBody6976976076369623687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306583391,"filename":"image_18032025_01_37_17_4149.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/61905927f03829a40c8d2ac9595a12f3.jpg","text":"TemporaryFile(/tmp/multipartBody4550319782945267319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306583391,"filename":"image_18032025_01_37_13_4120.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d89e3b9364d9f3048296015c4d8b4cbb.jpg","text":"TemporaryFile(/tmp/multipartBody3667200430912515117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306583391,"filename":"image_18032025_01_37_05_3147.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6dde53054efaf8e30948e4abc09de01d.jpg","text":"TemporaryFile(/tmp/multipartBody2012653790284448502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306583391,"filename":"image_18032025_01_37_09_4063.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6a57af1e05140e58b9f1c50e6f9fcf38.jpg","text":"TemporaryFile(/tmp/multipartBody5011182372379244270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306583391,"filename":"image_18032025_01_37_02_4026.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345142566","file1":"1345142513","file0":"1345142456","file4":"1345142643","file5":"1345142678","file3":"1345142613"},"map_files_photo_id_array":[{"photo_id":"1345142678","filename":"file5"},{"photo_id":"1345142566","filename":"file2"},{"photo_id":"1345142643","filename":"file4"},{"photo_id":"1345142513","filename":"file1"},{"photo_id":"1345142456","filename":"file0"},{"photo_id":"1345142613","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345142456":["hashtag1","hashtag2"]},{"1345142513":["hashtag1","hashtag2"]},{"1345142566":["hashtag1","hashtag2"]},{"1345142643":["hashtag1","hashtag2"]},{"1345142613":["hashtag1","hashtag2"]},{"1345142678":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345142456, 1345142513, 1345142566, 1345142643, 1345142613, 1345142678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.816909790039062 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:03:02.952241
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_58_4041.jpg', 2), ('/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_54_4029.jpg', 2), ('/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_50_4114.jpg', 2), ('/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_45_4144.jpg', 2), ('/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_41_4256.jpg', 2), ('/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_37_4308.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_58_4041.jpg', '/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_54_4029.jpg', '/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_50_4114.jpg', '/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_45_4144.jpg', '/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_41_4256.jpg', '/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_37_4308.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_58_4041.jpg
/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_54_4029.jpg
/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_50_4114.jpg
/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_45_4144.jpg
/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_41_4256.jpg
/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_37_4308.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345142900","1345142906","1345142896","1345142836","1345142808","1345142864"],"photo_ids_order":["1345142808","1345142836","1345142864","1345142896","1345142900","1345142906"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8f30b0d126146a190437b3553dba2578.jpg","text":"TemporaryFile(/tmp/multipartBody1381737250308744145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306643451,"filename":"image_18032025_01_36_41_4256.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/48df4bed5e76ce42fbe069f47c7344f6.jpg","text":"TemporaryFile(/tmp/multipartBody4275053044961767694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306643451,"filename":"image_18032025_01_36_37_4308.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/66d58339e2a87a45bb79ac4548ef5ea0.jpg","text":"TemporaryFile(/tmp/multipartBody2442682090884958217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306643451,"filename":"image_18032025_01_36_45_4144.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5586ad73d88231285f1cf33bca40a148.jpg","text":"TemporaryFile(/tmp/multipartBody3083186888347120485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306643451,"filename":"image_18032025_01_36_54_4029.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b5797c7f30e9770d5389dd525b0ee743.jpg","text":"TemporaryFile(/tmp/multipartBody7638187466396340931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306643451,"filename":"image_18032025_01_36_58_4041.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/caaadc52b2ab6b4fb69810ecbec3b6d4.jpg","text":"TemporaryFile(/tmp/multipartBody4049777915158305167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306643451,"filename":"image_18032025_01_36_50_4114.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345142864","file1":"1345142836","file0":"1345142808","file4":"1345142900","file5":"1345142906","file3":"1345142896"},"map_files_photo_id_array":[{"photo_id":"1345142906","filename":"file5"},{"photo_id":"1345142864","filename":"file2"},{"photo_id":"1345142900","filename":"file4"},{"photo_id":"1345142836","filename":"file1"},{"photo_id":"1345142808","filename":"file0"},{"photo_id":"1345142896","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345142900":["hashtag1","hashtag2"]},{"1345142906":["hashtag1","hashtag2"]},{"1345142896":["hashtag1","hashtag2"]},{"1345142836":["hashtag1","hashtag2"]},{"1345142808":["hashtag1","hashtag2"]},{"1345142864":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345142900, 1345142906, 1345142896, 1345142836, 1345142808, 1345142864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.131150722503662 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:04:03.216581
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_33_3412.jpg', 2), ('/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_29_4428.jpg', 2), ('/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_25_3409.jpg', 2), ('/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_21_4434.jpg', 2), ('/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_17_3408.jpg', 2), ('/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_14_4374.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_33_3412.jpg', '/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_29_4428.jpg', '/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_25_3409.jpg', '/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_21_4434.jpg', '/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_17_3408.jpg', '/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_14_4374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_33_3412.jpg
/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_29_4428.jpg
/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_25_3409.jpg
/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_21_4434.jpg
/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_17_3408.jpg
/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_14_4374.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345142933","1345142942","1345142936","1345142923","1345142926","1345142929"],"photo_ids_order":["1345142923","1345142926","1345142929","1345142933","1345142936","1345142942"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1c13777f3e35fe1b62593309945591c0.jpg","text":"TemporaryFile(/tmp/multipartBody7672674791602296246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306703785,"filename":"image_18032025_01_36_21_4434.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8cac8289fec0321d8d0e2638088cee54.jpg","text":"TemporaryFile(/tmp/multipartBody842373398360657327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306703785,"filename":"image_18032025_01_36_14_4374.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/48047ae715c0168420e1f06d7be2edb2.jpg","text":"TemporaryFile(/tmp/multipartBody2814135659055259499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306703785,"filename":"image_18032025_01_36_17_3408.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fdf70fac954313b00d6d976e34b1f1b3.jpg","text":"TemporaryFile(/tmp/multipartBody8045043107827406666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306703785,"filename":"image_18032025_01_36_33_3412.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/43b709a524148d5485969ffab826c4e8.jpg","text":"TemporaryFile(/tmp/multipartBody4407305359490690757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306703785,"filename":"image_18032025_01_36_29_4428.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3a1965be1ee79bf5fac365309b6c5657.jpg","text":"TemporaryFile(/tmp/multipartBody921970753246584762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306703785,"filename":"image_18032025_01_36_25_3409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345142929","file1":"1345142926","file0":"1345142923","file4":"1345142936","file5":"1345142942","file3":"1345142933"},"map_files_photo_id_array":[{"photo_id":"1345142942","filename":"file5"},{"photo_id":"1345142929","filename":"file2"},{"photo_id":"1345142936","filename":"file4"},{"photo_id":"1345142926","filename":"file1"},{"photo_id":"1345142923","filename":"file0"},{"photo_id":"1345142933","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345142933":["hashtag1","hashtag2"]},{"1345142942":["hashtag1","hashtag2"]},{"1345142936":["hashtag1","hashtag2"]},{"1345142923":["hashtag1","hashtag2"]},{"1345142926":["hashtag1","hashtag2"]},{"1345142929":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345142933, 1345142942, 1345142936, 1345142923, 1345142926, 1345142929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.75093674659729 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:05:02.435347
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_09_3819.jpg', 2), ('/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_05_4450.jpg', 2), ('/home/nano/Desktop/images/18032025/01/35/image_18032025_01_36_01_4202.jpg', 2), ('/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_57_3212.jpg', 2), ('/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_54_4281.jpg', 2), ('/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_49_4299.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_09_3819.jpg', '/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_05_4450.jpg', '/home/nano/Desktop/images/18032025/01/35/image_18032025_01_36_01_4202.jpg', '/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_57_3212.jpg', '/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_54_4281.jpg', '/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_49_4299.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_09_3819.jpg
/home/nano/Desktop/images/18032025/01/36/image_18032025_01_36_05_4450.jpg
/home/nano/Desktop/images/18032025/01/35/image_18032025_01_36_01_4202.jpg
/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_57_3212.jpg
/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_54_4281.jpg
/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_49_4299.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345143091","1345143070","1345143067","1345143052","1345143064","1345143038"],"photo_ids_order":["1345143038","1345143052","1345143064","1345143067","1345143070","1345143091"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ed2d3f5e1f08173345115da924578bbf.jpg","text":"TemporaryFile(/tmp/multipartBody7008727724653968646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306763037,"filename":"image_18032025_01_35_49_4299.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0267ba6b60f3897d853b01536cf6e4c6.jpg","text":"TemporaryFile(/tmp/multipartBody5367794251736431796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306763037,"filename":"image_18032025_01_35_54_4281.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9e60241c57d449cfc148d888e7772176.jpg","text":"TemporaryFile(/tmp/multipartBody2787611462414229734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306763037,"filename":"image_18032025_01_35_57_3212.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a892666330bc20cb537edf743fba723c.jpg","text":"TemporaryFile(/tmp/multipartBody1240510306115228849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306763037,"filename":"image_18032025_01_36_05_4450.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e824ba52a04857ce84a10b25110b1ff2.jpg","text":"TemporaryFile(/tmp/multipartBody3117565769885996196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306763037,"filename":"image_18032025_01_36_01_4202.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8d27c268add0d7bd06ab43fbb4ca0dc7.jpg","text":"TemporaryFile(/tmp/multipartBody3807358527685414190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306763037,"filename":"image_18032025_01_36_09_3819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345143064","file1":"1345143052","file0":"1345143038","file4":"1345143070","file5":"1345143091","file3":"1345143067"},"map_files_photo_id_array":[{"photo_id":"1345143091","filename":"file5"},{"photo_id":"1345143064","filename":"file2"},{"photo_id":"1345143070","filename":"file4"},{"photo_id":"1345143052","filename":"file1"},{"photo_id":"1345143038","filename":"file0"},{"photo_id":"1345143067","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345143091":["hashtag1","hashtag2"]},{"1345143070":["hashtag1","hashtag2"]},{"1345143067":["hashtag1","hashtag2"]},{"1345143052":["hashtag1","hashtag2"]},{"1345143064":["hashtag1","hashtag2"]},{"1345143038":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345143091, 1345143070, 1345143067, 1345143052, 1345143064, 1345143038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.05279612541199 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:06:02.540302
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_45_3991.jpg', 2), ('/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_41_4182.jpg', 2), ('/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_37_3178.jpg', 2), ('/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_34_4187.jpg', 2), ('/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_29_4053.jpg', 2), ('/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_25_4160.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_45_3991.jpg', '/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_41_4182.jpg', '/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_37_3178.jpg', '/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_34_4187.jpg', '/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_29_4053.jpg', '/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_25_4160.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_45_3991.jpg
/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_41_4182.jpg
/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_37_3178.jpg
/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_34_4187.jpg
/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_29_4053.jpg
/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_25_4160.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345143128","1345143157","1345143147","1345143155","1345143149","1345143152"],"photo_ids_order":["1345143128","1345143147","1345143149","1345143152","1345143155","1345143157"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1103d0f0ae5b5688a3b98c344ecd26e1.jpg","text":"TemporaryFile(/tmp/multipartBody3784959026388172111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306823138,"filename":"image_18032025_01_35_45_3991.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/11bcb7aa964fa9239a038cb8be3c1f95.jpg","text":"TemporaryFile(/tmp/multipartBody3805721211283744205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306823138,"filename":"image_18032025_01_35_25_4160.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/29c5fe3e92a2931a4f7f6bbd5bba9b12.jpg","text":"TemporaryFile(/tmp/multipartBody7960206350546939356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306823138,"filename":"image_18032025_01_35_41_4182.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9ab0e2669d7c9113e06a8e3698680db7.jpg","text":"TemporaryFile(/tmp/multipartBody5287847184988441126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306823138,"filename":"image_18032025_01_35_29_4053.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7a351ac79c1fb0a584eb86ec59d79dbc.jpg","text":"TemporaryFile(/tmp/multipartBody4847409253044883777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306823138,"filename":"image_18032025_01_35_37_3178.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3a5254611e763569d5a1e5f89dc9e8b4.jpg","text":"TemporaryFile(/tmp/multipartBody3045432132826095090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306823138,"filename":"image_18032025_01_35_34_4187.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345143149","file1":"1345143147","file0":"1345143128","file4":"1345143155","file5":"1345143157","file3":"1345143152"},"map_files_photo_id_array":[{"photo_id":"1345143157","filename":"file5"},{"photo_id":"1345143149","filename":"file2"},{"photo_id":"1345143155","filename":"file4"},{"photo_id":"1345143147","filename":"file1"},{"photo_id":"1345143128","filename":"file0"},{"photo_id":"1345143152","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345143128":["hashtag1","hashtag2"]},{"1345143157":["hashtag1","hashtag2"]},{"1345143147":["hashtag1","hashtag2"]},{"1345143155":["hashtag1","hashtag2"]},{"1345143149":["hashtag1","hashtag2"]},{"1345143152":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345143128, 1345143157, 1345143147, 1345143155, 1345143149, 1345143152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.259780406951904 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:07:02.641526
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_21_4162.jpg', 2), ('/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_17_4125.jpg', 2), ('/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_13_4078.jpg', 2), ('/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_09_4191.jpg', 2), ('/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_05_3118.jpg', 2), ('/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_02_4263.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_21_4162.jpg', '/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_17_4125.jpg', '/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_13_4078.jpg', '/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_09_4191.jpg', '/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_05_3118.jpg', '/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_02_4263.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_21_4162.jpg
/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_17_4125.jpg
/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_13_4078.jpg
/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_09_4191.jpg
/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_05_3118.jpg
/home/nano/Desktop/images/18032025/01/35/image_18032025_01_35_02_4263.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345143314","1345143253","1345143256","1345143288","1345143266","1345143263"],"photo_ids_order":["1345143253","1345143256","1345143263","1345143266","1345143288","1345143314"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ae6d31d1d98d986809264069a1f8092b.jpg","text":"TemporaryFile(/tmp/multipartBody8391546999341844443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306883168,"filename":"image_18032025_01_35_02_4263.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/16cb374382a7838c8faad4715a0ccb30.jpg","text":"TemporaryFile(/tmp/multipartBody6022601078647916568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306883168,"filename":"image_18032025_01_35_21_4162.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3bfcf39ca311ac61437057dab1086878.jpg","text":"TemporaryFile(/tmp/multipartBody6102850937386503812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306883168,"filename":"image_18032025_01_35_17_4125.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/74dea8b3e00d93af2acb9a933dfb2bfd.jpg","text":"TemporaryFile(/tmp/multipartBody2436164559764767318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306883168,"filename":"image_18032025_01_35_05_3118.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b026b10e933958cf792ca8c616754904.jpg","text":"TemporaryFile(/tmp/multipartBody7649620966214861256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306883168,"filename":"image_18032025_01_35_09_4191.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/41da3faa9f7621178c7c0b0905c67761.jpg","text":"TemporaryFile(/tmp/multipartBody6659730612165749497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306883168,"filename":"image_18032025_01_35_13_4078.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345143263","file1":"1345143256","file0":"1345143253","file4":"1345143288","file5":"1345143314","file3":"1345143266"},"map_files_photo_id_array":[{"photo_id":"1345143314","filename":"file5"},{"photo_id":"1345143263","filename":"file2"},{"photo_id":"1345143288","filename":"file4"},{"photo_id":"1345143256","filename":"file1"},{"photo_id":"1345143253","filename":"file0"},{"photo_id":"1345143266","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345143314":["hashtag1","hashtag2"]},{"1345143253":["hashtag1","hashtag2"]},{"1345143256":["hashtag1","hashtag2"]},{"1345143288":["hashtag1","hashtag2"]},{"1345143266":["hashtag1","hashtag2"]},{"1345143263":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345143314, 1345143253, 1345143256, 1345143288, 1345143266, 1345143263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80675935745239 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:08:03.015711
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_57_4210.jpg', 2), ('/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_53_4159.jpg', 2), ('/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_49_4194.jpg', 2), ('/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_45_3191.jpg', 2), ('/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_42_4269.jpg', 2), ('/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_37_4221.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_57_4210.jpg', '/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_53_4159.jpg', '/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_49_4194.jpg', '/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_45_3191.jpg', '/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_42_4269.jpg', '/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_37_4221.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_57_4210.jpg
/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_53_4159.jpg
/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_49_4194.jpg
/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_45_3191.jpg
/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_42_4269.jpg
/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_37_4221.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345143673","1345143568","1345143558","1345143587","1345143548","1345143614"],"photo_ids_order":["1345143548","1345143558","1345143568","1345143587","1345143614","1345143673"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3f997417e5882b797c78e95439c07881.jpg","text":"TemporaryFile(/tmp/multipartBody4369946725053615511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306943651,"filename":"image_18032025_01_34_37_4221.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e693c4de0523df8c22a230599105776d.jpg","text":"TemporaryFile(/tmp/multipartBody967503984427328040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306943651,"filename":"image_18032025_01_34_49_4194.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/57de4e635aa193204e3393b02c7b2a14.jpg","text":"TemporaryFile(/tmp/multipartBody3227187897806278868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306943651,"filename":"image_18032025_01_34_53_4159.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/815c5c8e59ceab81541d9c9b087cbbbc.jpg","text":"TemporaryFile(/tmp/multipartBody6500409153567165593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306943651,"filename":"image_18032025_01_34_45_3191.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5419149d463b998436b4a07cbc3ea6f3.jpg","text":"TemporaryFile(/tmp/multipartBody4313315146472078064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306943651,"filename":"image_18032025_01_34_57_4210.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1a9699939e9cc2093d710a7f90709b3b.jpg","text":"TemporaryFile(/tmp/multipartBody6805064958687656888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742306943651,"filename":"image_18032025_01_34_42_4269.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345143568","file1":"1345143558","file0":"1345143548","file4":"1345143614","file5":"1345143673","file3":"1345143587"},"map_files_photo_id_array":[{"photo_id":"1345143673","filename":"file5"},{"photo_id":"1345143568","filename":"file2"},{"photo_id":"1345143614","filename":"file4"},{"photo_id":"1345143558","filename":"file1"},{"photo_id":"1345143548","filename":"file0"},{"photo_id":"1345143587","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345143673":["hashtag1","hashtag2"]},{"1345143568":["hashtag1","hashtag2"]},{"1345143558":["hashtag1","hashtag2"]},{"1345143587":["hashtag1","hashtag2"]},{"1345143548":["hashtag1","hashtag2"]},{"1345143614":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345143673, 1345143568, 1345143558, 1345143587, 1345143548, 1345143614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.96697950363159 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:09:03.391400
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_33_4230.jpg', 2), ('/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_29_4139.jpg', 2), ('/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_25_3205.jpg', 2), ('/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_21_4046.jpg', 2), ('/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_17_4244.jpg', 2), ('/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_13_4273.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_33_4230.jpg', '/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_29_4139.jpg', '/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_25_3205.jpg', '/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_21_4046.jpg', '/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_17_4244.jpg', '/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_13_4273.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_33_4230.jpg
/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_29_4139.jpg
/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_25_3205.jpg
/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_21_4046.jpg
/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_17_4244.jpg
/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_13_4273.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345144000","1345143955","1345143888","1345143981","1345143924","1345144004"],"photo_ids_order":["1345143888","1345143924","1345143955","1345143981","1345144000","1345144004"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/555e5678200202c1cc1dcebb0f390bd8.jpg","text":"TemporaryFile(/tmp/multipartBody385322549772397569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307004039,"filename":"image_18032025_01_34_17_4244.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a82a20a7761271fd1306f4c855ee5dca.jpg","text":"TemporaryFile(/tmp/multipartBody5549025929691075969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307004039,"filename":"image_18032025_01_34_25_3205.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6835e6d82b54ae8ea32e37e68d733806.jpg","text":"TemporaryFile(/tmp/multipartBody202232578432849977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307004039,"filename":"image_18032025_01_34_33_4230.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/febebe273b8c2bc51c4209d3ff97a7cd.jpg","text":"TemporaryFile(/tmp/multipartBody3945570444690420642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307004039,"filename":"image_18032025_01_34_21_4046.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1c952dc4428055b6806b9a4c3fd81219.jpg","text":"TemporaryFile(/tmp/multipartBody7163077450514177577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307004039,"filename":"image_18032025_01_34_29_4139.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1218e2776df7ce662e46a079190d95e1.jpg","text":"TemporaryFile(/tmp/multipartBody6418408741684125432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307004039,"filename":"image_18032025_01_34_13_4273.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345143955","file1":"1345143924","file0":"1345143888","file4":"1345144000","file5":"1345144004","file3":"1345143981"},"map_files_photo_id_array":[{"photo_id":"1345144004","filename":"file5"},{"photo_id":"1345143955","filename":"file2"},{"photo_id":"1345144000","filename":"file4"},{"photo_id":"1345143924","filename":"file1"},{"photo_id":"1345143888","filename":"file0"},{"photo_id":"1345143981","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345144000":["hashtag1","hashtag2"]},{"1345143955":["hashtag1","hashtag2"]},{"1345143888":["hashtag1","hashtag2"]},{"1345143981":["hashtag1","hashtag2"]},{"1345143924":["hashtag1","hashtag2"]},{"1345144004":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345144000, 1345143955, 1345143888, 1345143981, 1345143924, 1345144004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.724438905715942 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:10:03.312270
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_09_3309.jpg', 2), ('/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_06_4622.jpg', 2), ('/home/nano/Desktop/images/18032025/01/33/image_18032025_01_34_01_4276.jpg', 2), ('/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_57_3378.jpg', 2), ('/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_53_4377.jpg', 2), ('/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_49_3413.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_09_3309.jpg', '/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_06_4622.jpg', '/home/nano/Desktop/images/18032025/01/33/image_18032025_01_34_01_4276.jpg', '/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_57_3378.jpg', '/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_53_4377.jpg', '/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_49_3413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_09_3309.jpg
/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_06_4622.jpg
/home/nano/Desktop/images/18032025/01/33/image_18032025_01_34_01_4276.jpg
/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_57_3378.jpg
/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_53_4377.jpg
/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_49_3413.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.48184776306152344 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:10:32.742537
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_09_3309.jpg', 2), ('/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_06_4622.jpg', 2), ('/home/nano/Desktop/images/18032025/01/33/image_18032025_01_34_01_4276.jpg', 2), ('/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_57_3378.jpg', 2), ('/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_53_4377.jpg', 2), ('/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_49_3413.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_09_3309.jpg', '/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_06_4622.jpg', '/home/nano/Desktop/images/18032025/01/33/image_18032025_01_34_01_4276.jpg', '/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_57_3378.jpg', '/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_53_4377.jpg', '/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_49_3413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_09_3309.jpg
/home/nano/Desktop/images/18032025/01/34/image_18032025_01_34_06_4622.jpg
/home/nano/Desktop/images/18032025/01/33/image_18032025_01_34_01_4276.jpg
/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_57_3378.jpg
/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_53_4377.jpg
/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_49_3413.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345144125","1345144116","1345144133","1345144136","1345144121","1345144130"],"photo_ids_order":["1345144116","1345144121","1345144125","1345144130","1345144133","1345144136"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4c757260bd2054ab48bc18aa9ac6b306.jpg","text":"TemporaryFile(/tmp/multipartBody2852275197414539561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307093279,"filename":"image_18032025_01_34_01_4276.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2f07bf5c4552391fc8eb8aec3f9954e1.jpg","text":"TemporaryFile(/tmp/multipartBody6396527758244492955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307093279,"filename":"image_18032025_01_34_09_3309.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9d02f8f7f0720383675a1583b91a5126.jpg","text":"TemporaryFile(/tmp/multipartBody7203106046617665603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307093279,"filename":"image_18032025_01_33_53_4377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/49c9b047af82aed25d53f4331eea6dd6.jpg","text":"TemporaryFile(/tmp/multipartBody1130319901660273270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307093279,"filename":"image_18032025_01_33_49_3413.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/34798b4f261e67a61c0d60c2d702e16b.jpg","text":"TemporaryFile(/tmp/multipartBody2770670665404460978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307093279,"filename":"image_18032025_01_34_06_4622.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3cb848351b6474303c63f649d855a807.jpg","text":"TemporaryFile(/tmp/multipartBody4628789907819877130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307093279,"filename":"image_18032025_01_33_57_3378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345144125","file1":"1345144121","file0":"1345144116","file4":"1345144133","file5":"1345144136","file3":"1345144130"},"map_files_photo_id_array":[{"photo_id":"1345144136","filename":"file5"},{"photo_id":"1345144125","filename":"file2"},{"photo_id":"1345144133","filename":"file4"},{"photo_id":"1345144121","filename":"file1"},{"photo_id":"1345144116","filename":"file0"},{"photo_id":"1345144130","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345144125":["hashtag1","hashtag2"]},{"1345144116":["hashtag1","hashtag2"]},{"1345144133":["hashtag1","hashtag2"]},{"1345144136":["hashtag1","hashtag2"]},{"1345144121":["hashtag1","hashtag2"]},{"1345144130":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345144125, 1345144116, 1345144133, 1345144136, 1345144121, 1345144130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.328696966171265 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:11:31.918728
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_46_4254.jpg', 2), ('/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_41_4280.jpg', 2), ('/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_37_4177.jpg', 2), ('/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_33_3914.jpg', 2), ('/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_29_4029.jpg', 2), ('/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_25_4049.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_46_4254.jpg', '/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_41_4280.jpg', '/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_37_4177.jpg', '/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_33_3914.jpg', '/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_29_4029.jpg', '/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_25_4049.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_46_4254.jpg
/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_41_4280.jpg
/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_37_4177.jpg
/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_33_3914.jpg
/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_29_4029.jpg
/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_25_4049.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345144384","1345144339","1345144309","1345144359","1345144364","1345144406"],"photo_ids_order":["1345144309","1345144339","1345144359","1345144364","1345144384","1345144406"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5a9df762a0e717d8b5261f71e064f0fe.jpg","text":"TemporaryFile(/tmp/multipartBody7121446307279948987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307152436,"filename":"image_18032025_01_33_29_4029.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/73d1eab21212f3dd9c27608ea9b363a7.jpg","text":"TemporaryFile(/tmp/multipartBody293602009182960827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307152436,"filename":"image_18032025_01_33_41_4280.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/74617fdcf517968f5fc8f0b56fd6dea4.jpg","text":"TemporaryFile(/tmp/multipartBody4326354225748907683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307152436,"filename":"image_18032025_01_33_46_4254.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/99954131b5a9ee3021515b8b2366c1c6.jpg","text":"TemporaryFile(/tmp/multipartBody8951382217821056133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307152436,"filename":"image_18032025_01_33_37_4177.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5446e5ff56fe7b31a3725dc568eff478.jpg","text":"TemporaryFile(/tmp/multipartBody1971523296936960568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307152436,"filename":"image_18032025_01_33_33_3914.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/15f0d2af486dcdee367bef864ecb21e7.jpg","text":"TemporaryFile(/tmp/multipartBody7939899204362814410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307152436,"filename":"image_18032025_01_33_25_4049.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345144359","file1":"1345144339","file0":"1345144309","file4":"1345144384","file5":"1345144406","file3":"1345144364"},"map_files_photo_id_array":[{"photo_id":"1345144406","filename":"file5"},{"photo_id":"1345144359","filename":"file2"},{"photo_id":"1345144384","filename":"file4"},{"photo_id":"1345144339","filename":"file1"},{"photo_id":"1345144309","filename":"file0"},{"photo_id":"1345144364","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345144384":["hashtag1","hashtag2"]},{"1345144339":["hashtag1","hashtag2"]},{"1345144309":["hashtag1","hashtag2"]},{"1345144359":["hashtag1","hashtag2"]},{"1345144364":["hashtag1","hashtag2"]},{"1345144406":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345144384, 1345144339, 1345144309, 1345144359, 1345144364, 1345144406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.49534320831299 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:12:32.081655
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_21_4034.jpg', 2), ('/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_17_4047.jpg', 2), ('/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_13_3939.jpg', 2), ('/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_09_3830.jpg', 2), ('/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_05_4162.jpg', 2), ('/home/nano/Desktop/images/18032025/01/32/image_18032025_01_33_01_3804.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_21_4034.jpg', '/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_17_4047.jpg', '/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_13_3939.jpg', '/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_09_3830.jpg', '/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_05_4162.jpg', '/home/nano/Desktop/images/18032025/01/32/image_18032025_01_33_01_3804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_21_4034.jpg
/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_17_4047.jpg
/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_13_3939.jpg
/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_09_3830.jpg
/home/nano/Desktop/images/18032025/01/33/image_18032025_01_33_05_4162.jpg
/home/nano/Desktop/images/18032025/01/32/image_18032025_01_33_01_3804.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345144576","1345144642","1345144621","1345144598","1345144670","1345144559"],"photo_ids_order":["1345144559","1345144576","1345144598","1345144621","1345144642","1345144670"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3dec4e8f0006ad490b5d771e8a7b2fb5.jpg","text":"TemporaryFile(/tmp/multipartBody7759889294704195257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307212600,"filename":"image_18032025_01_33_17_4047.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9e45eeeec9e78afe33470ee8e8e1479b.jpg","text":"TemporaryFile(/tmp/multipartBody8758653098979577211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307212600,"filename":"image_18032025_01_33_05_4162.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/76804dc7e048609f87307da1cdacd9ae.jpg","text":"TemporaryFile(/tmp/multipartBody3231433729980083192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307212600,"filename":"image_18032025_01_33_09_3830.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4d6a12baf1afe94fa4b5b40d54ddc151.jpg","text":"TemporaryFile(/tmp/multipartBody4352050169897040921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307212600,"filename":"image_18032025_01_33_13_3939.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d994b7156cf96725bf08a929210ec83e.jpg","text":"TemporaryFile(/tmp/multipartBody2152971679848644009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307212600,"filename":"image_18032025_01_33_01_3804.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/38b163a56f28772417ac459094a04c99.jpg","text":"TemporaryFile(/tmp/multipartBody3066645647209917371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307212600,"filename":"image_18032025_01_33_21_4034.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345144598","file1":"1345144576","file0":"1345144559","file4":"1345144642","file5":"1345144670","file3":"1345144621"},"map_files_photo_id_array":[{"photo_id":"1345144670","filename":"file5"},{"photo_id":"1345144598","filename":"file2"},{"photo_id":"1345144642","filename":"file4"},{"photo_id":"1345144576","filename":"file1"},{"photo_id":"1345144559","filename":"file0"},{"photo_id":"1345144621","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345144576":["hashtag1","hashtag2"]},{"1345144642":["hashtag1","hashtag2"]},{"1345144621":["hashtag1","hashtag2"]},{"1345144598":["hashtag1","hashtag2"]},{"1345144670":["hashtag1","hashtag2"]},{"1345144559":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345144576, 1345144642, 1345144621, 1345144598, 1345144670, 1345144559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.785510301589966 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:13:32.208727
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_57_4015.jpg', 2), ('/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_53_4041.jpg', 2), ('/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_49_4035.jpg', 2), ('/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_45_4221.jpg', 2), ('/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_41_3192.jpg', 2), ('/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_38_4178.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_57_4015.jpg', '/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_53_4041.jpg', '/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_49_4035.jpg', '/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_45_4221.jpg', '/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_41_3192.jpg', '/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_38_4178.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_57_4015.jpg
/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_53_4041.jpg
/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_49_4035.jpg
/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_45_4221.jpg
/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_41_3192.jpg
/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_38_4178.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345144834","1345144830","1345144820","1345144823","1345144832","1345144826"],"photo_ids_order":["1345144820","1345144823","1345144826","1345144830","1345144832","1345144834"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5213631cd8f717886a473711672b358b.jpg","text":"TemporaryFile(/tmp/multipartBody4787307349496700255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307272684,"filename":"image_18032025_01_32_38_4178.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6a0ca3f87a214c890968f329fe2e1bf5.jpg","text":"TemporaryFile(/tmp/multipartBody8379363708873593177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307272684,"filename":"image_18032025_01_32_45_4221.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f2a91320597492d47d358987ca513bcd.jpg","text":"TemporaryFile(/tmp/multipartBody5224084179935114090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307272684,"filename":"image_18032025_01_32_57_4015.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/da61c3bdba09cbbc5ae91b60d67200ff.jpg","text":"TemporaryFile(/tmp/multipartBody5191448510918901521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307272684,"filename":"image_18032025_01_32_53_4041.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/318c32fb8aa883564177fa68cfe3ac26.jpg","text":"TemporaryFile(/tmp/multipartBody1781995861106705606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307272684,"filename":"image_18032025_01_32_41_3192.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5afc1ff2caf33e6907ccf53de3a4655c.jpg","text":"TemporaryFile(/tmp/multipartBody8535901428564651582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307272684,"filename":"image_18032025_01_32_49_4035.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345144826","file1":"1345144823","file0":"1345144820","file4":"1345144832","file5":"1345144834","file3":"1345144830"},"map_files_photo_id_array":[{"photo_id":"1345144834","filename":"file5"},{"photo_id":"1345144826","filename":"file2"},{"photo_id":"1345144832","filename":"file4"},{"photo_id":"1345144823","filename":"file1"},{"photo_id":"1345144820","filename":"file0"},{"photo_id":"1345144830","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345144834":["hashtag1","hashtag2"]},{"1345144830":["hashtag1","hashtag2"]},{"1345144820":["hashtag1","hashtag2"]},{"1345144823":["hashtag1","hashtag2"]},{"1345144832":["hashtag1","hashtag2"]},{"1345144826":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345144834, 1345144830, 1345144820, 1345144823, 1345144832, 1345144826)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.497230768203735 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:14:32.394919
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_33_4240.jpg', 2), ('/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_29_4168.jpg', 2), ('/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_25_4155.jpg', 2), ('/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_21_3108.jpg', 2), ('/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_18_4141.jpg', 2), ('/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_14_4118.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_33_4240.jpg', '/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_29_4168.jpg', '/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_25_4155.jpg', '/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_21_3108.jpg', '/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_18_4141.jpg', '/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_14_4118.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_33_4240.jpg
/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_29_4168.jpg
/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_25_4155.jpg
/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_21_3108.jpg
/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_18_4141.jpg
/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_14_4118.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345144900","1345144895","1345144929","1345144886","1345144889","1345144904"],"photo_ids_order":["1345144886","1345144889","1345144895","1345144900","1345144904","1345144929"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9307ccafcb5d4206f266d3b7e706fccb.jpg","text":"TemporaryFile(/tmp/multipartBody4142715253214942543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307333025,"filename":"image_18032025_01_32_21_3108.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bf0fcbde205c86b50cd5f9429afeb43c.jpg","text":"TemporaryFile(/tmp/multipartBody5290304543476609700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307333025,"filename":"image_18032025_01_32_25_4155.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8a57f7d775bfda6d46f7b60812bae3f1.jpg","text":"TemporaryFile(/tmp/multipartBody5248757436749513953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307333025,"filename":"image_18032025_01_32_14_4118.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fc48b59c305ac4e5b35b61f8d24391f8.jpg","text":"TemporaryFile(/tmp/multipartBody915700496318336550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307333025,"filename":"image_18032025_01_32_33_4240.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/519f5d6ac142e20cd841d5684b6a6760.jpg","text":"TemporaryFile(/tmp/multipartBody3640035719796327866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307333025,"filename":"image_18032025_01_32_29_4168.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fc71aed61a419cb858f6035334649c0d.jpg","text":"TemporaryFile(/tmp/multipartBody4876635485634886928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307333025,"filename":"image_18032025_01_32_18_4141.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345144895","file1":"1345144889","file0":"1345144886","file4":"1345144904","file5":"1345144929","file3":"1345144900"},"map_files_photo_id_array":[{"photo_id":"1345144929","filename":"file5"},{"photo_id":"1345144895","filename":"file2"},{"photo_id":"1345144904","filename":"file4"},{"photo_id":"1345144889","filename":"file1"},{"photo_id":"1345144886","filename":"file0"},{"photo_id":"1345144900","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345144900":["hashtag1","hashtag2"]},{"1345144895":["hashtag1","hashtag2"]},{"1345144929":["hashtag1","hashtag2"]},{"1345144886":["hashtag1","hashtag2"]},{"1345144889":["hashtag1","hashtag2"]},{"1345144904":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345144900, 1345144895, 1345144929, 1345144886, 1345144889, 1345144904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.46269369125366 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:15:32.555841
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_09_4171.jpg', 2), ('/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_05_4531.jpg', 2), ('/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_01_3087.jpg', 2), ('/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_58_4140.jpg', 2), ('/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_53_4148.jpg', 2), ('/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_49_4129.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_09_4171.jpg', '/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_05_4531.jpg', '/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_01_3087.jpg', '/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_58_4140.jpg', '/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_53_4148.jpg', '/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_49_4129.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_09_4171.jpg
/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_05_4531.jpg
/home/nano/Desktop/images/18032025/01/32/image_18032025_01_32_01_3087.jpg
/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_58_4140.jpg
/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_53_4148.jpg
/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_49_4129.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345145052","1345145022","1345145074","1345145083","1345145077","1345145059"],"photo_ids_order":["1345145022","1345145052","1345145059","1345145074","1345145077","1345145083"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/677d9427e11f16edb8ed1f29372f13ed.jpg","text":"TemporaryFile(/tmp/multipartBody1230484541348253935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307393098,"filename":"image_18032025_01_32_05_4531.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3c55f29d3fbe53fc5be49e4708eb6a99.jpg","text":"TemporaryFile(/tmp/multipartBody8050426404571849174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307393098,"filename":"image_18032025_01_32_09_4171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/72abcc8e0505ebc31d7e7d92af72e94b.jpg","text":"TemporaryFile(/tmp/multipartBody7043838251885583875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307393098,"filename":"image_18032025_01_31_58_4140.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/647491c526df359994ebc74e11b57a1f.jpg","text":"TemporaryFile(/tmp/multipartBody6424023504954072197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307393098,"filename":"image_18032025_01_31_49_4129.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/06489e45ce1eb356800220dce67a569c.jpg","text":"TemporaryFile(/tmp/multipartBody6023133132861743471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307393098,"filename":"image_18032025_01_31_53_4148.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4a213157c0fd4516d8cb649ba3fe31ec.jpg","text":"TemporaryFile(/tmp/multipartBody8954110125752392044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307393098,"filename":"image_18032025_01_32_01_3087.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345145059","file1":"1345145052","file0":"1345145022","file4":"1345145077","file5":"1345145083","file3":"1345145074"},"map_files_photo_id_array":[{"photo_id":"1345145083","filename":"file5"},{"photo_id":"1345145059","filename":"file2"},{"photo_id":"1345145077","filename":"file4"},{"photo_id":"1345145052","filename":"file1"},{"photo_id":"1345145022","filename":"file0"},{"photo_id":"1345145074","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345145052":["hashtag1","hashtag2"]},{"1345145022":["hashtag1","hashtag2"]},{"1345145074":["hashtag1","hashtag2"]},{"1345145083":["hashtag1","hashtag2"]},{"1345145077":["hashtag1","hashtag2"]},{"1345145059":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345145052, 1345145022, 1345145074, 1345145083, 1345145077, 1345145059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.39789032936096 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:16:32.789398
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_45_4143.jpg', 2), ('/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_41_4085.jpg', 2), ('/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_37_4164.jpg', 2), ('/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_33_3156.jpg', 2), ('/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_30_4253.jpg', 2), ('/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_25_4258.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_45_4143.jpg', '/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_41_4085.jpg', '/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_37_4164.jpg', '/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_33_3156.jpg', '/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_30_4253.jpg', '/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_25_4258.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_45_4143.jpg
/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_41_4085.jpg
/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_37_4164.jpg
/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_33_3156.jpg
/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_30_4253.jpg
/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_25_4258.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345145199","1345145354","1345145177","1345145186","1345145230","1345145218"],"photo_ids_order":["1345145177","1345145186","1345145199","1345145218","1345145230","1345145354"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/477b6e99f8d506ee8404e807e960388c.jpg","text":"TemporaryFile(/tmp/multipartBody1289233138251213231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307453380,"filename":"image_18032025_01_31_37_4164.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/976c9bba26438adf813f5444fdb73bbd.jpg","text":"TemporaryFile(/tmp/multipartBody3532551932730591794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307453380,"filename":"image_18032025_01_31_25_4258.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4c699c57ee262549eb6f74e419abb80f.jpg","text":"TemporaryFile(/tmp/multipartBody3214269882971511758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307453380,"filename":"image_18032025_01_31_45_4143.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/03aec5c6ff0262891680d46e0a13cddb.jpg","text":"TemporaryFile(/tmp/multipartBody185298299370754903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307453380,"filename":"image_18032025_01_31_41_4085.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e5fd192f1c15ec1d4c789c1063307aa9.jpg","text":"TemporaryFile(/tmp/multipartBody4274213675467539992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307453380,"filename":"image_18032025_01_31_30_4253.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2f2049b3f0ab38829c7afa71986f91c0.jpg","text":"TemporaryFile(/tmp/multipartBody5480407957106908566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307453380,"filename":"image_18032025_01_31_33_3156.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345145199","file1":"1345145186","file0":"1345145177","file4":"1345145230","file5":"1345145354","file3":"1345145218"},"map_files_photo_id_array":[{"photo_id":"1345145354","filename":"file5"},{"photo_id":"1345145199","filename":"file2"},{"photo_id":"1345145230","filename":"file4"},{"photo_id":"1345145186","filename":"file1"},{"photo_id":"1345145177","filename":"file0"},{"photo_id":"1345145218","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345145199":["hashtag1","hashtag2"]},{"1345145354":["hashtag1","hashtag2"]},{"1345145177":["hashtag1","hashtag2"]},{"1345145186":["hashtag1","hashtag2"]},{"1345145230":["hashtag1","hashtag2"]},{"1345145218":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345145199, 1345145354, 1345145177, 1345145186, 1345145230, 1345145218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.07092642784119 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:17:31.947618
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_21_3991.jpg', 2), ('/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_17_4233.jpg', 2), ('/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_13_3252.jpg', 2), ('/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_10_4489.jpg', 2), ('/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_05_4094.jpg', 2), ('/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_01_3462.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_21_3991.jpg', '/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_17_4233.jpg', '/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_13_3252.jpg', '/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_10_4489.jpg', '/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_05_4094.jpg', '/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_01_3462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_21_3991.jpg
/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_17_4233.jpg
/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_13_3252.jpg
/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_10_4489.jpg
/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_05_4094.jpg
/home/nano/Desktop/images/18032025/01/31/image_18032025_01_31_01_3462.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345145496","1345145481","1345145505","1345145492","1345145486","1345145501"],"photo_ids_order":["1345145481","1345145486","1345145492","1345145496","1345145501","1345145505"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d243db543066448af74961c4b72bcd2d.jpg","text":"TemporaryFile(/tmp/multipartBody4054675802371827635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307512462,"filename":"image_18032025_01_31_10_4489.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/866ce911dafc2e20bb5f75c2cf7c5bca.jpg","text":"TemporaryFile(/tmp/multipartBody4716089679784370657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307512462,"filename":"image_18032025_01_31_21_3991.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c5bc2d026b23555d30fb98ff36847747.jpg","text":"TemporaryFile(/tmp/multipartBody4188636616811654724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307512462,"filename":"image_18032025_01_31_01_3462.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/70760245dc55a3ad2dd37e0356c6320f.jpg","text":"TemporaryFile(/tmp/multipartBody5924316553995815633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307512462,"filename":"image_18032025_01_31_13_3252.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6378918c1f3980ae82227d84fcd12486.jpg","text":"TemporaryFile(/tmp/multipartBody4951804281889036001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307512462,"filename":"image_18032025_01_31_17_4233.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/acca9812993ec0f38b16fca0230c830c.jpg","text":"TemporaryFile(/tmp/multipartBody1073727551024243926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307512462,"filename":"image_18032025_01_31_05_4094.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345145492","file1":"1345145486","file0":"1345145481","file4":"1345145501","file5":"1345145505","file3":"1345145496"},"map_files_photo_id_array":[{"photo_id":"1345145505","filename":"file5"},{"photo_id":"1345145492","filename":"file2"},{"photo_id":"1345145501","filename":"file4"},{"photo_id":"1345145486","filename":"file1"},{"photo_id":"1345145481","filename":"file0"},{"photo_id":"1345145496","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345145496":["hashtag1","hashtag2"]},{"1345145481":["hashtag1","hashtag2"]},{"1345145505":["hashtag1","hashtag2"]},{"1345145492":["hashtag1","hashtag2"]},{"1345145486":["hashtag1","hashtag2"]},{"1345145501":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345145496, 1345145481, 1345145505, 1345145492, 1345145486, 1345145501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.614259481430054 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:18:32.222821
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_58_4471.jpg', 2), ('/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_53_3450.jpg', 2), ('/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_50_4470.jpg', 2), ('/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_45_4473.jpg', 2), ('/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_41_3446.jpg', 2), ('/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_37_4459.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_58_4471.jpg', '/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_53_3450.jpg', '/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_50_4470.jpg', '/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_45_4473.jpg', '/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_41_3446.jpg', '/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_37_4459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_58_4471.jpg
/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_53_3450.jpg
/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_50_4470.jpg
/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_45_4473.jpg
/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_41_3446.jpg
/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_37_4459.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345145544","1345145523","1345145532","1345145540","1345145527","1345145536"],"photo_ids_order":["1345145523","1345145527","1345145532","1345145536","1345145540","1345145544"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/123f8c7a481938c24dceca84fffc65a9.jpg","text":"TemporaryFile(/tmp/multipartBody1459563679147849834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307572771,"filename":"image_18032025_01_30_37_4459.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/26ac5d3385a39a0b014b127633aaca96.jpg","text":"TemporaryFile(/tmp/multipartBody7227492754630175655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307572771,"filename":"image_18032025_01_30_58_4471.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/49127542d833c2c2673105506b304b79.jpg","text":"TemporaryFile(/tmp/multipartBody8619011152558872416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307572771,"filename":"image_18032025_01_30_50_4470.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1a1814c0c42aeb78fa9212e7966f5c5d.jpg","text":"TemporaryFile(/tmp/multipartBody5993940512803666483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307572771,"filename":"image_18032025_01_30_41_3446.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ae1844dbece7fba42527f43f2cddd68e.jpg","text":"TemporaryFile(/tmp/multipartBody6282450794992113320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307572771,"filename":"image_18032025_01_30_53_3450.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5ead8e66f4ca1accb53aa36b71e3f140.jpg","text":"TemporaryFile(/tmp/multipartBody2564385321589014822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307572771,"filename":"image_18032025_01_30_45_4473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345145532","file1":"1345145527","file0":"1345145523","file4":"1345145540","file5":"1345145544","file3":"1345145536"},"map_files_photo_id_array":[{"photo_id":"1345145544","filename":"file5"},{"photo_id":"1345145532","filename":"file2"},{"photo_id":"1345145540","filename":"file4"},{"photo_id":"1345145527","filename":"file1"},{"photo_id":"1345145523","filename":"file0"},{"photo_id":"1345145536","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345145544":["hashtag1","hashtag2"]},{"1345145523":["hashtag1","hashtag2"]},{"1345145532":["hashtag1","hashtag2"]},{"1345145540":["hashtag1","hashtag2"]},{"1345145527":["hashtag1","hashtag2"]},{"1345145536":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345145544, 1345145523, 1345145532, 1345145540, 1345145527, 1345145536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.54826283454895 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:19:32.489139
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_33_3445.jpg', 2), ('/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_29_4461.jpg', 2), ('/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_25_3453.jpg', 2), ('/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_21_4465.jpg', 2), ('/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_17_3450.jpg', 2), ('/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_14_4469.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_33_3445.jpg', '/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_29_4461.jpg', '/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_25_3453.jpg', '/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_21_4465.jpg', '/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_17_3450.jpg', '/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_14_4469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_33_3445.jpg
/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_29_4461.jpg
/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_25_3453.jpg
/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_21_4465.jpg
/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_17_3450.jpg
/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_14_4469.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345145617","1345145574","1345145631","1345145627","1345145606","1345145590"],"photo_ids_order":["1345145574","1345145590","1345145606","1345145617","1345145627","1345145631"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/54ce812e944c87d878c621f5f629a499.jpg","text":"TemporaryFile(/tmp/multipartBody6641948236528613350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307633007,"filename":"image_18032025_01_30_21_4465.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cd36856d74daaa59eb6135ce2a74a6e8.jpg","text":"TemporaryFile(/tmp/multipartBody5433192743631980842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307633007,"filename":"image_18032025_01_30_33_3445.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/699d7b593caa0fc06ab7cfd4e22c32b3.jpg","text":"TemporaryFile(/tmp/multipartBody2737462420858254542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307633007,"filename":"image_18032025_01_30_14_4469.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/287c080baa55e49d528439938b394000.jpg","text":"TemporaryFile(/tmp/multipartBody864819263700321360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307633007,"filename":"image_18032025_01_30_17_3450.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/758b29a9963c8000f59e9852e24f0481.jpg","text":"TemporaryFile(/tmp/multipartBody2782909393358012475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307633007,"filename":"image_18032025_01_30_25_3453.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/53ef77f2ce51e5ddbae51a370bbdafcd.jpg","text":"TemporaryFile(/tmp/multipartBody182750273402253699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307633007,"filename":"image_18032025_01_30_29_4461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345145606","file1":"1345145590","file0":"1345145574","file4":"1345145627","file5":"1345145631","file3":"1345145617"},"map_files_photo_id_array":[{"photo_id":"1345145631","filename":"file5"},{"photo_id":"1345145606","filename":"file2"},{"photo_id":"1345145627","filename":"file4"},{"photo_id":"1345145590","filename":"file1"},{"photo_id":"1345145574","filename":"file0"},{"photo_id":"1345145617","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345145617":["hashtag1","hashtag2"]},{"1345145574":["hashtag1","hashtag2"]},{"1345145631":["hashtag1","hashtag2"]},{"1345145627":["hashtag1","hashtag2"]},{"1345145606":["hashtag1","hashtag2"]},{"1345145590":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345145617, 1345145574, 1345145631, 1345145627, 1345145606, 1345145590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.21863150596619 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:20:32.686698
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_09_3449.jpg', 2), ('/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_06_4075.jpg', 2), ('/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_02_4450.jpg', 2), ('/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_57_3449.jpg', 2), ('/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_54_4462.jpg', 2), ('/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_49_4465.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_09_3449.jpg', '/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_06_4075.jpg', '/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_02_4450.jpg', '/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_57_3449.jpg', '/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_54_4462.jpg', '/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_49_4465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_09_3449.jpg
/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_06_4075.jpg
/home/nano/Desktop/images/18032025/01/30/image_18032025_01_30_02_4450.jpg
/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_57_3449.jpg
/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_54_4462.jpg
/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_49_4465.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345145715","1345145675","1345145683","1345145662","1345145686","1345145697"],"photo_ids_order":["1345145662","1345145675","1345145683","1345145686","1345145697","1345145715"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5c5945380f3d5fa3adac8b5c09c6db5d.jpg","text":"TemporaryFile(/tmp/multipartBody3463060467598825105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307693217,"filename":"image_18032025_01_29_49_4465.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6cf0a39f0f929ee8b067a10d7b51b631.jpg","text":"TemporaryFile(/tmp/multipartBody3133350595854700875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307693217,"filename":"image_18032025_01_30_06_4075.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a1d89fd6a6fde04b1fd25b18327722f6.jpg","text":"TemporaryFile(/tmp/multipartBody301488970799205938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307693217,"filename":"image_18032025_01_30_02_4450.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d34d8fb5bd4f054368d312c1a14e804d.jpg","text":"TemporaryFile(/tmp/multipartBody1669464552077363856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307693217,"filename":"image_18032025_01_30_09_3449.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f5dfe905829318049d4922c42882b547.jpg","text":"TemporaryFile(/tmp/multipartBody1704404490926746261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307693217,"filename":"image_18032025_01_29_57_3449.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a71cc3d029e9833804fb16bf56e5fd9a.jpg","text":"TemporaryFile(/tmp/multipartBody6615860621397550525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307693217,"filename":"image_18032025_01_29_54_4462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345145683","file1":"1345145675","file0":"1345145662","file4":"1345145697","file5":"1345145715","file3":"1345145686"},"map_files_photo_id_array":[{"photo_id":"1345145715","filename":"file5"},{"photo_id":"1345145683","filename":"file2"},{"photo_id":"1345145697","filename":"file4"},{"photo_id":"1345145675","filename":"file1"},{"photo_id":"1345145662","filename":"file0"},{"photo_id":"1345145686","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345145715":["hashtag1","hashtag2"]},{"1345145675":["hashtag1","hashtag2"]},{"1345145683":["hashtag1","hashtag2"]},{"1345145662":["hashtag1","hashtag2"]},{"1345145686":["hashtag1","hashtag2"]},{"1345145697":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345145715, 1345145675, 1345145683, 1345145662, 1345145686, 1345145697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.493887186050415 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:21:31.883061
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_45_3475.jpg', 2), ('/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_41_4470.jpg', 2), ('/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_37_3469.jpg', 2), ('/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_33_4467.jpg', 2), ('/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_29_3445.jpg', 2), ('/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_25_4470.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_45_3475.jpg', '/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_41_4470.jpg', '/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_37_3469.jpg', '/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_33_4467.jpg', '/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_29_3445.jpg', '/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_25_4470.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_45_3475.jpg
/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_41_4470.jpg
/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_37_3469.jpg
/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_33_4467.jpg
/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_29_3445.jpg
/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_25_4470.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345146062","1345146026","1345145870","1345145936","1345145909","1345145980"],"photo_ids_order":["1345145870","1345145909","1345145936","1345145980","1345146026","1345146062"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a7aa681a31f6a831e84d54fee5e3b7f3.jpg","text":"TemporaryFile(/tmp/multipartBody4672107013296557988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307752452,"filename":"image_18032025_01_29_25_4470.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5abd1c705f69ee690e86df33e03e1018.jpg","text":"TemporaryFile(/tmp/multipartBody6587926483743356259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307752452,"filename":"image_18032025_01_29_29_3445.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7f8f554e64af48c3925a3ad71558f52e.jpg","text":"TemporaryFile(/tmp/multipartBody4348509828738545928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307752452,"filename":"image_18032025_01_29_45_3475.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/762fb93da5b62d0a50c8f35d7dd515b7.jpg","text":"TemporaryFile(/tmp/multipartBody3357870698291431100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307752452,"filename":"image_18032025_01_29_37_3469.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3df24051c8c4294121010a0a22dd56b6.jpg","text":"TemporaryFile(/tmp/multipartBody3901918195555000485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307752452,"filename":"image_18032025_01_29_41_4470.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/de3a67c51566f806b4790f8ef64bcecd.jpg","text":"TemporaryFile(/tmp/multipartBody486380829364804581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307752452,"filename":"image_18032025_01_29_33_4467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345145936","file1":"1345145909","file0":"1345145870","file4":"1345146026","file5":"1345146062","file3":"1345145980"},"map_files_photo_id_array":[{"photo_id":"1345146062","filename":"file5"},{"photo_id":"1345145936","filename":"file2"},{"photo_id":"1345146026","filename":"file4"},{"photo_id":"1345145909","filename":"file1"},{"photo_id":"1345145870","filename":"file0"},{"photo_id":"1345145980","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345146062":["hashtag1","hashtag2"]},{"1345146026":["hashtag1","hashtag2"]},{"1345145870":["hashtag1","hashtag2"]},{"1345145936":["hashtag1","hashtag2"]},{"1345145909":["hashtag1","hashtag2"]},{"1345145980":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345146062, 1345146026, 1345145870, 1345145936, 1345145909, 1345145980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.17574167251587 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:22:32.085922
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_21_3457.jpg', 2), ('/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_17_4462.jpg', 2), ('/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_13_3457.jpg', 2), ('/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_10_4462.jpg', 2), ('/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_05_3905.jpg', 2), ('/home/nano/Desktop/images/18032025/01/28/image_18032025_01_29_01_4453.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_21_3457.jpg', '/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_17_4462.jpg', '/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_13_3457.jpg', '/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_10_4462.jpg', '/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_05_3905.jpg', '/home/nano/Desktop/images/18032025/01/28/image_18032025_01_29_01_4453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_21_3457.jpg
/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_17_4462.jpg
/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_13_3457.jpg
/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_10_4462.jpg
/home/nano/Desktop/images/18032025/01/29/image_18032025_01_29_05_3905.jpg
/home/nano/Desktop/images/18032025/01/28/image_18032025_01_29_01_4453.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345146196","1345146199","1345146190","1345146184","1345146178","1345146193"],"photo_ids_order":["1345146178","1345146184","1345146190","1345146193","1345146196","1345146199"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ae2f4d788b789fca2aeb56c3e7e610f8.jpg","text":"TemporaryFile(/tmp/multipartBody4393547161092977572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307812644,"filename":"image_18032025_01_29_05_3905.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1bdebf7ddd217db7bc392588bc35782d.jpg","text":"TemporaryFile(/tmp/multipartBody6780516783611934860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307812644,"filename":"image_18032025_01_29_01_4453.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/67708f0e03365a11db8f9f57065b7085.jpg","text":"TemporaryFile(/tmp/multipartBody7225887446363032714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307812644,"filename":"image_18032025_01_29_13_3457.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9bb2b9505f30e2c2c4a6914493c88074.jpg","text":"TemporaryFile(/tmp/multipartBody5959941361364095692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307812644,"filename":"image_18032025_01_29_17_4462.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a1fdeb67479f6e338e0a63905d2cc0cb.jpg","text":"TemporaryFile(/tmp/multipartBody2478026782659117745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307812644,"filename":"image_18032025_01_29_21_3457.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a487c50211c595eb86e1b614c307ee9d.jpg","text":"TemporaryFile(/tmp/multipartBody7915351646214051422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307812644,"filename":"image_18032025_01_29_10_4462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345146190","file1":"1345146184","file0":"1345146178","file4":"1345146196","file5":"1345146199","file3":"1345146193"},"map_files_photo_id_array":[{"photo_id":"1345146199","filename":"file5"},{"photo_id":"1345146190","filename":"file2"},{"photo_id":"1345146196","filename":"file4"},{"photo_id":"1345146184","filename":"file1"},{"photo_id":"1345146178","filename":"file0"},{"photo_id":"1345146193","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345146196":["hashtag1","hashtag2"]},{"1345146199":["hashtag1","hashtag2"]},{"1345146190":["hashtag1","hashtag2"]},{"1345146184":["hashtag1","hashtag2"]},{"1345146178":["hashtag1","hashtag2"]},{"1345146193":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345146196, 1345146199, 1345146190, 1345146184, 1345146178, 1345146193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.591123819351196 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:23:32.271794
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_57_3456.jpg', 2), ('/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_53_4469.jpg', 2), ('/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_49_3443.jpg', 2), ('/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_45_4464.jpg', 2), ('/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_41_3458.jpg', 2), ('/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_37_4469.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_57_3456.jpg', '/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_53_4469.jpg', '/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_49_3443.jpg', '/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_45_4464.jpg', '/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_41_3458.jpg', '/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_37_4469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_57_3456.jpg
/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_53_4469.jpg
/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_49_3443.jpg
/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_45_4464.jpg
/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_41_3458.jpg
/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_37_4469.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345146240","1345146230","1345146227","1345146244","1345146235","1345146223"],"photo_ids_order":["1345146223","1345146227","1345146230","1345146235","1345146240","1345146244"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/472e30d5bce230b3e7a9a9d8b61edb24.jpg","text":"TemporaryFile(/tmp/multipartBody9119948433137281154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307872797,"filename":"image_18032025_01_28_41_3458.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e840b71f1264366ed418258f86b082ad.jpg","text":"TemporaryFile(/tmp/multipartBody1849120229638870719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307872797,"filename":"image_18032025_01_28_49_3443.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6df644c0177a11ba6e03ff0eafd4a0a2.jpg","text":"TemporaryFile(/tmp/multipartBody872624048653397720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307872797,"filename":"image_18032025_01_28_53_4469.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4615e77f1e67da4c6bf20d29342ce5d6.jpg","text":"TemporaryFile(/tmp/multipartBody2988291719053249281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307872797,"filename":"image_18032025_01_28_37_4469.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3e020b8fdb3618d59d27b8306da711ef.jpg","text":"TemporaryFile(/tmp/multipartBody5887892134665664717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307872797,"filename":"image_18032025_01_28_45_4464.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4f44c3fad73076bed6557de075e09194.jpg","text":"TemporaryFile(/tmp/multipartBody3871259221156905243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307872797,"filename":"image_18032025_01_28_57_3456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345146230","file1":"1345146227","file0":"1345146223","file4":"1345146240","file5":"1345146244","file3":"1345146235"},"map_files_photo_id_array":[{"photo_id":"1345146244","filename":"file5"},{"photo_id":"1345146230","filename":"file2"},{"photo_id":"1345146240","filename":"file4"},{"photo_id":"1345146227","filename":"file1"},{"photo_id":"1345146223","filename":"file0"},{"photo_id":"1345146235","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345146240":["hashtag1","hashtag2"]},{"1345146230":["hashtag1","hashtag2"]},{"1345146227":["hashtag1","hashtag2"]},{"1345146244":["hashtag1","hashtag2"]},{"1345146235":["hashtag1","hashtag2"]},{"1345146223":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345146240, 1345146230, 1345146227, 1345146244, 1345146235, 1345146223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.968772411346436 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:24:32.448246
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_33_3457.jpg', 2), ('/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_30_4467.jpg', 2), ('/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_25_3476.jpg', 2), ('/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_22_4472.jpg', 2), ('/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_17_3442.jpg', 2), ('/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_14_4458.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_33_3457.jpg', '/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_30_4467.jpg', '/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_25_3476.jpg', '/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_22_4472.jpg', '/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_17_3442.jpg', '/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_14_4458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_33_3457.jpg
/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_30_4467.jpg
/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_25_3476.jpg
/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_22_4472.jpg
/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_17_3442.jpg
/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_14_4458.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.463714599609375 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:25:03.147016
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_33_3457.jpg', 2), ('/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_30_4467.jpg', 2), ('/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_25_3476.jpg', 2), ('/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_22_4472.jpg', 2), ('/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_17_3442.jpg', 2), ('/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_14_4458.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_33_3457.jpg', '/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_30_4467.jpg', '/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_25_3476.jpg', '/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_22_4472.jpg', '/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_17_3442.jpg', '/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_14_4458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_33_3457.jpg
/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_30_4467.jpg
/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_25_3476.jpg
/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_22_4472.jpg
/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_17_3442.jpg
/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_14_4458.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345146351","1345146318","1345146299","1345146314","1345146308","1345146328"],"photo_ids_order":["1345146299","1345146308","1345146314","1345146318","1345146328","1345146351"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/39bd32cc5d7e44d3cfac3b68bf99a913.jpg","text":"TemporaryFile(/tmp/multipartBody6424246328899801823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307963688,"filename":"image_18032025_01_28_14_4458.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8af481a8e58eb8d598cad376414ddf40.jpg","text":"TemporaryFile(/tmp/multipartBody7664276023736577295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307963688,"filename":"image_18032025_01_28_22_4472.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/aa7b289ddfab7d719d1b3ac3deac1d80.jpg","text":"TemporaryFile(/tmp/multipartBody1735942028815223664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307963688,"filename":"image_18032025_01_28_33_3457.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8a6df45bf935f8b07d668d9b211d4199.jpg","text":"TemporaryFile(/tmp/multipartBody1909502942335872413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307963688,"filename":"image_18032025_01_28_25_3476.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/341b190acdf46dd4469913abea8e2bd0.jpg","text":"TemporaryFile(/tmp/multipartBody8068921381962644856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307963688,"filename":"image_18032025_01_28_30_4467.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b99510584904d52221e2e9476c4999f8.jpg","text":"TemporaryFile(/tmp/multipartBody8136106517974843217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742307963688,"filename":"image_18032025_01_28_17_3442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345146314","file1":"1345146308","file0":"1345146299","file4":"1345146328","file5":"1345146351","file3":"1345146318"},"map_files_photo_id_array":[{"photo_id":"1345146351","filename":"file5"},{"photo_id":"1345146314","filename":"file2"},{"photo_id":"1345146328","filename":"file4"},{"photo_id":"1345146308","filename":"file1"},{"photo_id":"1345146299","filename":"file0"},{"photo_id":"1345146318","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345146351":["hashtag1","hashtag2"]},{"1345146318":["hashtag1","hashtag2"]},{"1345146299":["hashtag1","hashtag2"]},{"1345146314":["hashtag1","hashtag2"]},{"1345146308":["hashtag1","hashtag2"]},{"1345146328":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345146351, 1345146318, 1345146299, 1345146314, 1345146308, 1345146328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83103823661804 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:26:02.408412
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_09_4472.jpg', 2), ('/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_05_4032.jpg', 2), ('/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_01_3437.jpg', 2), ('/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_57_4459.jpg', 2), ('/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_53_3439.jpg', 2), ('/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_49_4448.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_09_4472.jpg', '/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_05_4032.jpg', '/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_01_3437.jpg', '/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_57_4459.jpg', '/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_53_3439.jpg', '/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_49_4448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_09_4472.jpg
/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_05_4032.jpg
/home/nano/Desktop/images/18032025/01/28/image_18032025_01_28_01_3437.jpg
/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_57_4459.jpg
/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_53_3439.jpg
/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_49_4448.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345146408","1345146402","1345146473","1345146428","1345146394","1345146447"],"photo_ids_order":["1345146394","1345146402","1345146408","1345146428","1345146447","1345146473"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/896f9bf0e25daa07d66bd9f5bdcbb878.jpg","text":"TemporaryFile(/tmp/multipartBody3797275012047900510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308022938,"filename":"image_18032025_01_28_01_3437.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cee77ad94ee984a8443030a176daba2b.jpg","text":"TemporaryFile(/tmp/multipartBody7236586718011819432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308022938,"filename":"image_18032025_01_28_05_4032.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7f639e85c5011a5e1784d28fc1b901eb.jpg","text":"TemporaryFile(/tmp/multipartBody7265439619573486472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308022938,"filename":"image_18032025_01_27_49_4448.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e20d7ba8c4cc7f8b21be73dc3a1655ad.jpg","text":"TemporaryFile(/tmp/multipartBody2229956395683004449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308022938,"filename":"image_18032025_01_27_57_4459.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/64a2596bd7292827763fab91b99dee4e.jpg","text":"TemporaryFile(/tmp/multipartBody7485613485896591877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308022938,"filename":"image_18032025_01_28_09_4472.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7234e2b793d3b17f9719e7a58c9b85dd.jpg","text":"TemporaryFile(/tmp/multipartBody275628352944272453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308022938,"filename":"image_18032025_01_27_53_3439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345146408","file1":"1345146402","file0":"1345146394","file4":"1345146447","file5":"1345146473","file3":"1345146428"},"map_files_photo_id_array":[{"photo_id":"1345146473","filename":"file5"},{"photo_id":"1345146408","filename":"file2"},{"photo_id":"1345146447","filename":"file4"},{"photo_id":"1345146402","filename":"file1"},{"photo_id":"1345146394","filename":"file0"},{"photo_id":"1345146428","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345146408":["hashtag1","hashtag2"]},{"1345146402":["hashtag1","hashtag2"]},{"1345146473":["hashtag1","hashtag2"]},{"1345146428":["hashtag1","hashtag2"]},{"1345146394":["hashtag1","hashtag2"]},{"1345146447":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345146408, 1345146402, 1345146473, 1345146428, 1345146394, 1345146447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89322376251221 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:27:02.750029
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_45_3459.jpg', 2), ('/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_41_4480.jpg', 2), ('/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_37_3455.jpg', 2), ('/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_34_4483.jpg', 2), ('/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_29_3444.jpg', 2), ('/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_26_4459.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_45_3459.jpg', '/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_41_4480.jpg', '/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_37_3455.jpg', '/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_34_4483.jpg', '/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_29_3444.jpg', '/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_26_4459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_45_3459.jpg
/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_41_4480.jpg
/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_37_3455.jpg
/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_34_4483.jpg
/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_29_3444.jpg
/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_26_4459.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345146630","1345146624","1345146612","1345146620","1345146602","1345146597"],"photo_ids_order":["1345146597","1345146602","1345146612","1345146620","1345146624","1345146630"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9718ec1a52dc6457c3213288d1970795.jpg","text":"TemporaryFile(/tmp/multipartBody3401138481554499165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308083284,"filename":"image_18032025_01_27_26_4459.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4fe31e7a1c96fdda2421d089f0587207.jpg","text":"TemporaryFile(/tmp/multipartBody8146467581383546082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308083284,"filename":"image_18032025_01_27_29_3444.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/70ba2ffef701e7f0f5ea8cfd4ba0928c.jpg","text":"TemporaryFile(/tmp/multipartBody4087690726131582561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308083284,"filename":"image_18032025_01_27_37_3455.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/962f77ecd9fbba34fda7493c4a83c03e.jpg","text":"TemporaryFile(/tmp/multipartBody1350094321858410360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308083284,"filename":"image_18032025_01_27_34_4483.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ed6b2fe29bcbedf3596c34653f21dbba.jpg","text":"TemporaryFile(/tmp/multipartBody5062661541522013615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308083284,"filename":"image_18032025_01_27_41_4480.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bc01e8b66c7ec44fc5634f5b8fc27c65.jpg","text":"TemporaryFile(/tmp/multipartBody1406382812692903741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308083284,"filename":"image_18032025_01_27_45_3459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345146612","file1":"1345146602","file0":"1345146597","file4":"1345146624","file5":"1345146630","file3":"1345146620"},"map_files_photo_id_array":[{"photo_id":"1345146630","filename":"file5"},{"photo_id":"1345146612","filename":"file2"},{"photo_id":"1345146624","filename":"file4"},{"photo_id":"1345146602","filename":"file1"},{"photo_id":"1345146597","filename":"file0"},{"photo_id":"1345146620","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345146630":["hashtag1","hashtag2"]},{"1345146624":["hashtag1","hashtag2"]},{"1345146612":["hashtag1","hashtag2"]},{"1345146620":["hashtag1","hashtag2"]},{"1345146602":["hashtag1","hashtag2"]},{"1345146597":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345146630, 1345146624, 1345146612, 1345146620, 1345146602, 1345146597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28920221328735 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:28:02.822569
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_21_3444.jpg', 2), ('/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_18_4446.jpg', 2), ('/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_13_4490.jpg', 2), ('/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_09_3447.jpg', 2), ('/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_05_3583.jpg', 2), ('/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_02_4475.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_21_3444.jpg', '/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_18_4446.jpg', '/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_13_4490.jpg', '/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_09_3447.jpg', '/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_05_3583.jpg', '/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_02_4475.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_21_3444.jpg
/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_18_4446.jpg
/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_13_4490.jpg
/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_09_3447.jpg
/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_05_3583.jpg
/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_02_4475.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.47809910774230957 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:28:32.250620
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_21_3444.jpg', 2), ('/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_18_4446.jpg', 2), ('/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_13_4490.jpg', 2), ('/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_09_3447.jpg', 2), ('/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_05_3583.jpg', 2), ('/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_02_4475.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_21_3444.jpg', '/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_18_4446.jpg', '/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_13_4490.jpg', '/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_09_3447.jpg', '/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_05_3583.jpg', '/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_02_4475.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_21_3444.jpg
/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_18_4446.jpg
/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_13_4490.jpg
/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_09_3447.jpg
/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_05_3583.jpg
/home/nano/Desktop/images/18032025/01/27/image_18032025_01_27_02_4475.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345146708","1345146695","1345146701","1345146691","1345146704","1345146706"],"photo_ids_order":["1345146691","1345146695","1345146701","1345146704","1345146706","1345146708"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2536fb315feb01ac964e30fbd645070a.jpg","text":"TemporaryFile(/tmp/multipartBody2843990069680991210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308172780,"filename":"image_18032025_01_27_02_4475.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d6226e7d3bcbeca8884c12640078b162.jpg","text":"TemporaryFile(/tmp/multipartBody4580797604980215198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308172780,"filename":"image_18032025_01_27_18_4446.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c1ea6a5d3daa4baadd063f748266efa4.jpg","text":"TemporaryFile(/tmp/multipartBody1594280628882661088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308172780,"filename":"image_18032025_01_27_13_4490.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fa00ced0e6adaf678e0dc8f091898f30.jpg","text":"TemporaryFile(/tmp/multipartBody9096368220977047644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308172780,"filename":"image_18032025_01_27_21_3444.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c5222468081f18817c1751653ad5221b.jpg","text":"TemporaryFile(/tmp/multipartBody1039301698540064576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308172780,"filename":"image_18032025_01_27_09_3447.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/62c8d1adf94df2e8660e66dbe85c9524.jpg","text":"TemporaryFile(/tmp/multipartBody4780849014556058057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308172780,"filename":"image_18032025_01_27_05_3583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345146701","file1":"1345146695","file0":"1345146691","file4":"1345146706","file5":"1345146708","file3":"1345146704"},"map_files_photo_id_array":[{"photo_id":"1345146708","filename":"file5"},{"photo_id":"1345146701","filename":"file2"},{"photo_id":"1345146706","filename":"file4"},{"photo_id":"1345146695","filename":"file1"},{"photo_id":"1345146691","filename":"file0"},{"photo_id":"1345146704","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345146708":["hashtag1","hashtag2"]},{"1345146695":["hashtag1","hashtag2"]},{"1345146701":["hashtag1","hashtag2"]},{"1345146691":["hashtag1","hashtag2"]},{"1345146704":["hashtag1","hashtag2"]},{"1345146706":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345146708, 1345146695, 1345146701, 1345146691, 1345146704, 1345146706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.54541778564453 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:29:32.432059
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_57_4452.jpg', 2), ('/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_53_3452.jpg', 2), ('/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_49_4452.jpg', 2), ('/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_45_3472.jpg', 2), ('/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_41_4454.jpg', 2), ('/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_37_3444.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_57_4452.jpg', '/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_53_3452.jpg', '/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_49_4452.jpg', '/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_45_3472.jpg', '/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_41_4454.jpg', '/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_37_3444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_57_4452.jpg
/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_53_3452.jpg
/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_49_4452.jpg
/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_45_3472.jpg
/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_41_4454.jpg
/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_37_3444.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345146774","1345146767","1345146776","1345146734","1345146739","1345146750"],"photo_ids_order":["1345146734","1345146739","1345146750","1345146767","1345146774","1345146776"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3ab71ae66033f097f103ecedf70a9d7b.jpg","text":"TemporaryFile(/tmp/multipartBody1710315886433090303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308232999,"filename":"image_18032025_01_26_41_4454.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/71f2ff15bdbae9cf942cc9f0c0226955.jpg","text":"TemporaryFile(/tmp/multipartBody8419808779082555081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308232999,"filename":"image_18032025_01_26_45_3472.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/85f31691bd40fda3dda5f3abc1fb0ea2.jpg","text":"TemporaryFile(/tmp/multipartBody114664381829440070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308232999,"filename":"image_18032025_01_26_37_3444.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/29cf66a4078e9dd00125bb1f4d4e9bce.jpg","text":"TemporaryFile(/tmp/multipartBody8388964219408234629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308232999,"filename":"image_18032025_01_26_57_4452.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d90736c7352dc9f0def98452e99934b2.jpg","text":"TemporaryFile(/tmp/multipartBody5169994407695063275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308232999,"filename":"image_18032025_01_26_53_3452.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cb4c1704d9283ff0913fe76e60c53024.jpg","text":"TemporaryFile(/tmp/multipartBody8232653599291306597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308232999,"filename":"image_18032025_01_26_49_4452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345146750","file1":"1345146739","file0":"1345146734","file4":"1345146774","file5":"1345146776","file3":"1345146767"},"map_files_photo_id_array":[{"photo_id":"1345146776","filename":"file5"},{"photo_id":"1345146750","filename":"file2"},{"photo_id":"1345146774","filename":"file4"},{"photo_id":"1345146739","filename":"file1"},{"photo_id":"1345146734","filename":"file0"},{"photo_id":"1345146767","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345146774":["hashtag1","hashtag2"]},{"1345146767":["hashtag1","hashtag2"]},{"1345146776":["hashtag1","hashtag2"]},{"1345146734":["hashtag1","hashtag2"]},{"1345146739":["hashtag1","hashtag2"]},{"1345146750":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345146774, 1345146767, 1345146776, 1345146734, 1345146739, 1345146750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27654695510864 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:30:32.593701
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_34_4457.jpg', 2), ('/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_29_3471.jpg', 2), ('/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_26_4487.jpg', 2), ('/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_21_3435.jpg', 2), ('/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_18_4471.jpg', 2), ('/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_13_3493.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_34_4457.jpg', '/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_29_3471.jpg', '/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_26_4487.jpg', '/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_21_3435.jpg', '/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_18_4471.jpg', '/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_13_3493.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_34_4457.jpg
/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_29_3471.jpg
/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_26_4487.jpg
/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_21_3435.jpg
/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_18_4471.jpg
/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_13_3493.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345146813","1345146815","1345146809","1345146805","1345146808","1345146798"],"photo_ids_order":["1345146798","1345146805","1345146808","1345146809","1345146813","1345146815"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0cbf5bb22dc8a860eb785311f5851783.jpg","text":"TemporaryFile(/tmp/multipartBody1698496074161308189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308293158,"filename":"image_18032025_01_26_18_4471.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a215eecb6fe18fd022e42ce2f3bb55bf.jpg","text":"TemporaryFile(/tmp/multipartBody6925006047418086084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308293158,"filename":"image_18032025_01_26_13_3493.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/67eda17bd90149aab08f9679c08dac9c.jpg","text":"TemporaryFile(/tmp/multipartBody552259541441849139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308293158,"filename":"image_18032025_01_26_21_3435.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/36f796f056652a5e5cc9b922eb2bdac1.jpg","text":"TemporaryFile(/tmp/multipartBody1757210516826037713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308293158,"filename":"image_18032025_01_26_29_3471.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/099a639cfd4383305988f27cfec023af.jpg","text":"TemporaryFile(/tmp/multipartBody2326806816152201162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308293158,"filename":"image_18032025_01_26_26_4487.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/394eb2e56605ed547343de1574d6c4cd.jpg","text":"TemporaryFile(/tmp/multipartBody748542882634307302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308293158,"filename":"image_18032025_01_26_34_4457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345146808","file1":"1345146805","file0":"1345146798","file4":"1345146813","file5":"1345146815","file3":"1345146809"},"map_files_photo_id_array":[{"photo_id":"1345146815","filename":"file5"},{"photo_id":"1345146808","filename":"file2"},{"photo_id":"1345146813","filename":"file4"},{"photo_id":"1345146805","filename":"file1"},{"photo_id":"1345146798","filename":"file0"},{"photo_id":"1345146809","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345146813":["hashtag1","hashtag2"]},{"1345146815":["hashtag1","hashtag2"]},{"1345146809":["hashtag1","hashtag2"]},{"1345146805":["hashtag1","hashtag2"]},{"1345146808":["hashtag1","hashtag2"]},{"1345146798":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345146813, 1345146815, 1345146809, 1345146805, 1345146808, 1345146798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.77260422706604 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:31:32.756322
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_10_4516.jpg', 2), ('/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_05_3867.jpg', 2), ('/home/nano/Desktop/images/18032025/01/25/image_18032025_01_26_01_4462.jpg', 2), ('/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_57_3449.jpg', 2), ('/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_53_4458.jpg', 2), ('/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_49_3451.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_10_4516.jpg', '/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_05_3867.jpg', '/home/nano/Desktop/images/18032025/01/25/image_18032025_01_26_01_4462.jpg', '/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_57_3449.jpg', '/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_53_4458.jpg', '/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_49_3451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_10_4516.jpg
/home/nano/Desktop/images/18032025/01/26/image_18032025_01_26_05_3867.jpg
/home/nano/Desktop/images/18032025/01/25/image_18032025_01_26_01_4462.jpg
/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_57_3449.jpg
/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_53_4458.jpg
/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_49_3451.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345146852","1345146849","1345146837","1345146842","1345146845","1345146833"],"photo_ids_order":["1345146833","1345146837","1345146842","1345146845","1345146849","1345146852"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/49a8bcd1bca620003cdb3746b4637d68.jpg","text":"TemporaryFile(/tmp/multipartBody7101480195756026630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308353289,"filename":"image_18032025_01_25_49_3451.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5e7c6004c5ed31629fad31deca20265c.jpg","text":"TemporaryFile(/tmp/multipartBody8972899814505595219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308353289,"filename":"image_18032025_01_25_53_4458.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b76b38836d7a374fe695204de7254ae5.jpg","text":"TemporaryFile(/tmp/multipartBody3075672065217682584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308353289,"filename":"image_18032025_01_26_05_3867.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/55fba97f283fb1c744471342c360769c.jpg","text":"TemporaryFile(/tmp/multipartBody4145976798503698091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308353289,"filename":"image_18032025_01_26_01_4462.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/38a44f56ff61642f058a881eb5b14b91.jpg","text":"TemporaryFile(/tmp/multipartBody8310508611973802110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308353289,"filename":"image_18032025_01_25_57_3449.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/defef816b0e3f30a10a966883642f533.jpg","text":"TemporaryFile(/tmp/multipartBody3461475243997399364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308353289,"filename":"image_18032025_01_26_10_4516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345146842","file1":"1345146837","file0":"1345146833","file4":"1345146849","file5":"1345146852","file3":"1345146845"},"map_files_photo_id_array":[{"photo_id":"1345146852","filename":"file5"},{"photo_id":"1345146842","filename":"file2"},{"photo_id":"1345146849","filename":"file4"},{"photo_id":"1345146837","filename":"file1"},{"photo_id":"1345146833","filename":"file0"},{"photo_id":"1345146845","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345146852":["hashtag1","hashtag2"]},{"1345146849":["hashtag1","hashtag2"]},{"1345146837":["hashtag1","hashtag2"]},{"1345146842":["hashtag1","hashtag2"]},{"1345146845":["hashtag1","hashtag2"]},{"1345146833":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345146852, 1345146849, 1345146837, 1345146842, 1345146845, 1345146833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.166276693344116 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:32:31.948562
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_45_4472.jpg', 2), ('/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_41_3475.jpg', 2), ('/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_38_4476.jpg', 2), ('/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_33_3457.jpg', 2), ('/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_30_4468.jpg', 2), ('/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_25_3459.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_45_4472.jpg', '/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_41_3475.jpg', '/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_38_4476.jpg', '/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_33_3457.jpg', '/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_30_4468.jpg', '/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_25_3459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_45_4472.jpg
/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_41_3475.jpg
/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_38_4476.jpg
/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_33_3457.jpg
/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_30_4468.jpg
/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_25_3459.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345146930","1345146912","1345146899","1345146904","1345146888","1345146882"],"photo_ids_order":["1345146882","1345146888","1345146899","1345146904","1345146912","1345146930"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bf14aa96fccb3a96f0add9a7a91fed27.jpg","text":"TemporaryFile(/tmp/multipartBody5038751319977108089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308412605,"filename":"image_18032025_01_25_25_3459.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2c1705c70a672da67dffc599a69b601e.jpg","text":"TemporaryFile(/tmp/multipartBody527917218608679130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308412605,"filename":"image_18032025_01_25_30_4468.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/aee20b5f46f1126e13a7d1d256f81349.jpg","text":"TemporaryFile(/tmp/multipartBody5839162929731215107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308412605,"filename":"image_18032025_01_25_38_4476.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ca76c0af5164ca20bae9a7a791b8c72d.jpg","text":"TemporaryFile(/tmp/multipartBody4838069665205611421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308412605,"filename":"image_18032025_01_25_33_3457.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8314be79180544461b9933125f98509d.jpg","text":"TemporaryFile(/tmp/multipartBody7032577985426004850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308412605,"filename":"image_18032025_01_25_41_3475.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dd15c1e5793e4d1c47aae034a9b3fb29.jpg","text":"TemporaryFile(/tmp/multipartBody1346372484712215203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308412605,"filename":"image_18032025_01_25_45_4472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345146899","file1":"1345146888","file0":"1345146882","file4":"1345146912","file5":"1345146930","file3":"1345146904"},"map_files_photo_id_array":[{"photo_id":"1345146930","filename":"file5"},{"photo_id":"1345146899","filename":"file2"},{"photo_id":"1345146912","filename":"file4"},{"photo_id":"1345146888","filename":"file1"},{"photo_id":"1345146882","filename":"file0"},{"photo_id":"1345146904","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345146930":["hashtag1","hashtag2"]},{"1345146912":["hashtag1","hashtag2"]},{"1345146899":["hashtag1","hashtag2"]},{"1345146904":["hashtag1","hashtag2"]},{"1345146888":["hashtag1","hashtag2"]},{"1345146882":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345146930, 1345146912, 1345146899, 1345146904, 1345146888, 1345146882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.220515727996826 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:33:32.135968
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_22_4470.jpg', 2), ('/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_17_4464.jpg', 2), ('/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_13_3464.jpg', 2), ('/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_09_4530.jpg', 2), ('/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_05_3415.jpg', 2), ('/home/nano/Desktop/images/18032025/01/24/image_18032025_01_25_01_4489.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_22_4470.jpg', '/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_17_4464.jpg', '/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_13_3464.jpg', '/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_09_4530.jpg', '/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_05_3415.jpg', '/home/nano/Desktop/images/18032025/01/24/image_18032025_01_25_01_4489.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_22_4470.jpg
/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_17_4464.jpg
/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_13_3464.jpg
/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_09_4530.jpg
/home/nano/Desktop/images/18032025/01/25/image_18032025_01_25_05_3415.jpg
/home/nano/Desktop/images/18032025/01/24/image_18032025_01_25_01_4489.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345146972","1345146965","1345146953","1345146961","1345146969","1345146957"],"photo_ids_order":["1345146953","1345146957","1345146961","1345146965","1345146969","1345146972"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a841e1743c1a904a65f9ae12afd42f86.jpg","text":"TemporaryFile(/tmp/multipartBody5459599837436685401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308472676,"filename":"image_18032025_01_25_01_4489.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8233c7fc50469be9f8b3d4e3a92e83f4.jpg","text":"TemporaryFile(/tmp/multipartBody8882925473865519112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308472676,"filename":"image_18032025_01_25_09_4530.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e5d1f351bea241df36eabee9d5d88b68.jpg","text":"TemporaryFile(/tmp/multipartBody4044926552366204612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308472676,"filename":"image_18032025_01_25_22_4470.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4eef8cd809f6d5dbbecd1e57e6d7aa90.jpg","text":"TemporaryFile(/tmp/multipartBody239624822569090733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308472676,"filename":"image_18032025_01_25_13_3464.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1d9299f4c219983c7dd05b91d6479755.jpg","text":"TemporaryFile(/tmp/multipartBody6591025851085376923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308472676,"filename":"image_18032025_01_25_05_3415.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2d887943c4e74361fc532fbaf0a95429.jpg","text":"TemporaryFile(/tmp/multipartBody5129486015980801987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308472676,"filename":"image_18032025_01_25_17_4464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345146961","file1":"1345146957","file0":"1345146953","file4":"1345146969","file5":"1345146972","file3":"1345146965"},"map_files_photo_id_array":[{"photo_id":"1345146972","filename":"file5"},{"photo_id":"1345146961","filename":"file2"},{"photo_id":"1345146969","filename":"file4"},{"photo_id":"1345146957","filename":"file1"},{"photo_id":"1345146953","filename":"file0"},{"photo_id":"1345146965","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345146972":["hashtag1","hashtag2"]},{"1345146965":["hashtag1","hashtag2"]},{"1345146953":["hashtag1","hashtag2"]},{"1345146961":["hashtag1","hashtag2"]},{"1345146969":["hashtag1","hashtag2"]},{"1345146957":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345146972, 1345146965, 1345146953, 1345146961, 1345146969, 1345146957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.205885648727417 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:34:32.345741
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_57_3451.jpg', 2), ('/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_53_4464.jpg', 2), ('/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_49_3446.jpg', 2), ('/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_45_4460.jpg', 2), ('/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_41_3454.jpg', 2), ('/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_38_4469.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_57_3451.jpg', '/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_53_4464.jpg', '/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_49_3446.jpg', '/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_45_4460.jpg', '/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_41_3454.jpg', '/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_38_4469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_57_3451.jpg
/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_53_4464.jpg
/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_49_3446.jpg
/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_45_4460.jpg
/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_41_3454.jpg
/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_38_4469.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345147013","1345147354","1345147350","1345147303","1345147071","1345146990"],"photo_ids_order":["1345146990","1345147013","1345147071","1345147303","1345147350","1345147354"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2afd221ee554389d8bd23c1da12c2cdb.jpg","text":"TemporaryFile(/tmp/multipartBody2142420907089909392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308532857,"filename":"image_18032025_01_24_53_4464.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1f776a319ca77d2aa484e3a5350988e3.jpg","text":"TemporaryFile(/tmp/multipartBody8640837198169715672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308532857,"filename":"image_18032025_01_24_38_4469.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/12312e528bad3be3ad6ee3329ffada02.jpg","text":"TemporaryFile(/tmp/multipartBody6102658164728984017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308532857,"filename":"image_18032025_01_24_41_3454.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/87ef814d54620f85ae734a72b32322d9.jpg","text":"TemporaryFile(/tmp/multipartBody733417763060196221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308532857,"filename":"image_18032025_01_24_45_4460.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/914b29319930821069116d68f1b4ff8a.jpg","text":"TemporaryFile(/tmp/multipartBody3170312818475538999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308532857,"filename":"image_18032025_01_24_49_3446.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fb155868723e479cd2c626d09e832f86.jpg","text":"TemporaryFile(/tmp/multipartBody7173645985323365395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308532857,"filename":"image_18032025_01_24_57_3451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345147071","file1":"1345147013","file0":"1345146990","file4":"1345147350","file5":"1345147354","file3":"1345147303"},"map_files_photo_id_array":[{"photo_id":"1345147354","filename":"file5"},{"photo_id":"1345147071","filename":"file2"},{"photo_id":"1345147350","filename":"file4"},{"photo_id":"1345147013","filename":"file1"},{"photo_id":"1345146990","filename":"file0"},{"photo_id":"1345147303","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345147013":["hashtag1","hashtag2"]},{"1345147354":["hashtag1","hashtag2"]},{"1345147350":["hashtag1","hashtag2"]},{"1345147303":["hashtag1","hashtag2"]},{"1345147071":["hashtag1","hashtag2"]},{"1345146990":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345147013, 1345147354, 1345147350, 1345147303, 1345147071, 1345146990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.2038733959198 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:35:32.497502
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_33_3456.jpg', 2), ('/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_30_4454.jpg', 2), ('/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_25_4461.jpg', 2), ('/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_21_3452.jpg', 2), ('/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_17_4483.jpg', 2), ('/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_13_3477.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_33_3456.jpg', '/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_30_4454.jpg', '/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_25_4461.jpg', '/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_21_3452.jpg', '/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_17_4483.jpg', '/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_13_3477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_33_3456.jpg
/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_30_4454.jpg
/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_25_4461.jpg
/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_21_3452.jpg
/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_17_4483.jpg
/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_13_3477.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345147643","1345147591","1345147615","1345147686","1345147539","1345147533"],"photo_ids_order":["1345147533","1345147539","1345147591","1345147615","1345147643","1345147686"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/639f9e7103c27100ec2e53d3a5c75e0c.jpg","text":"TemporaryFile(/tmp/multipartBody6337130332242586517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308593005,"filename":"image_18032025_01_24_17_4483.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9374d8acbc7f3b9ce3450b1a41c2dc77.jpg","text":"TemporaryFile(/tmp/multipartBody5302283656598619396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308593005,"filename":"image_18032025_01_24_25_4461.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b28f0ed8fbc5dc1d680670bdc2433cfb.jpg","text":"TemporaryFile(/tmp/multipartBody2604087504342853945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308593005,"filename":"image_18032025_01_24_21_3452.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e32d87ab94892abf2936cbde152700a8.jpg","text":"TemporaryFile(/tmp/multipartBody6852540226487874675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308593005,"filename":"image_18032025_01_24_13_3477.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/08faf8c94c7f22cd2539e482fa2667d6.jpg","text":"TemporaryFile(/tmp/multipartBody3392002622998018972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308593005,"filename":"image_18032025_01_24_30_4454.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0cdd84b2821501e13464cdaf15735749.jpg","text":"TemporaryFile(/tmp/multipartBody6852793535516719871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308593005,"filename":"image_18032025_01_24_33_3456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345147591","file1":"1345147539","file0":"1345147533","file4":"1345147643","file5":"1345147686","file3":"1345147615"},"map_files_photo_id_array":[{"photo_id":"1345147686","filename":"file5"},{"photo_id":"1345147591","filename":"file2"},{"photo_id":"1345147643","filename":"file4"},{"photo_id":"1345147539","filename":"file1"},{"photo_id":"1345147533","filename":"file0"},{"photo_id":"1345147615","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345147643":["hashtag1","hashtag2"]},{"1345147591":["hashtag1","hashtag2"]},{"1345147615":["hashtag1","hashtag2"]},{"1345147686":["hashtag1","hashtag2"]},{"1345147539":["hashtag1","hashtag2"]},{"1345147533":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345147643, 1345147591, 1345147615, 1345147686, 1345147539, 1345147533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18229293823242 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:36:32.651594
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_09_4494.jpg', 2), ('/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_05_3901.jpg', 2), ('/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_01_3436.jpg', 2), ('/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_57_4486.jpg', 2), ('/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_53_3442.jpg', 2), ('/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_50_4467.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_09_4494.jpg', '/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_05_3901.jpg', '/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_01_3436.jpg', '/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_57_4486.jpg', '/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_53_3442.jpg', '/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_50_4467.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_09_4494.jpg
/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_05_3901.jpg
/home/nano/Desktop/images/18032025/01/24/image_18032025_01_24_01_3436.jpg
/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_57_4486.jpg
/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_53_3442.jpg
/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_50_4467.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345148114","1345148015","1345148191","1345148053","1345148162","1345147988"],"photo_ids_order":["1345147988","1345148015","1345148053","1345148114","1345148162","1345148191"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bfda74e4cc5a2bffefb529612377ec34.jpg","text":"TemporaryFile(/tmp/multipartBody7579598046527271051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308653192,"filename":"image_18032025_01_23_57_4486.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6c186557b9d6180557188a2d462d60ca.jpg","text":"TemporaryFile(/tmp/multipartBody3526644423864108308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308653192,"filename":"image_18032025_01_24_05_3901.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d2ce283bdd71490417f4b0509cc1caa5.jpg","text":"TemporaryFile(/tmp/multipartBody1587751010731659592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308653192,"filename":"image_18032025_01_23_50_4467.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f271c7a634d68312ac1cab0ee4d99f67.jpg","text":"TemporaryFile(/tmp/multipartBody1611685208184715925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308653192,"filename":"image_18032025_01_24_01_3436.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b21dda2bf1ee29ce5bb33bd051167d7e.jpg","text":"TemporaryFile(/tmp/multipartBody6146419566345815286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308653192,"filename":"image_18032025_01_23_53_3442.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/20cd8fc60020befc0dd50ca6204a3785.jpg","text":"TemporaryFile(/tmp/multipartBody5882829150901887282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308653192,"filename":"image_18032025_01_24_09_4494.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345148053","file1":"1345148015","file0":"1345147988","file4":"1345148162","file5":"1345148191","file3":"1345148114"},"map_files_photo_id_array":[{"photo_id":"1345148191","filename":"file5"},{"photo_id":"1345148053","filename":"file2"},{"photo_id":"1345148162","filename":"file4"},{"photo_id":"1345148015","filename":"file1"},{"photo_id":"1345147988","filename":"file0"},{"photo_id":"1345148114","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345148114":["hashtag1","hashtag2"]},{"1345148015":["hashtag1","hashtag2"]},{"1345148191":["hashtag1","hashtag2"]},{"1345148053":["hashtag1","hashtag2"]},{"1345148162":["hashtag1","hashtag2"]},{"1345147988":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345148114, 1345148015, 1345148191, 1345148053, 1345148162, 1345147988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.986839056015015 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:37:31.826942
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_45_3472.jpg', 2), ('/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_42_4468.jpg', 2), ('/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_37_3462.jpg', 2), ('/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_34_4465.jpg', 2), ('/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_29_4466.jpg', 2), ('/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_25_3474.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_45_3472.jpg', '/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_42_4468.jpg', '/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_37_3462.jpg', '/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_34_4465.jpg', '/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_29_4466.jpg', '/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_25_3474.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_45_3472.jpg
/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_42_4468.jpg
/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_37_3462.jpg
/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_34_4465.jpg
/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_29_4466.jpg
/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_25_3474.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345148513","1345148485","1345148458","1345148551","1345148554","1345148542"],"photo_ids_order":["1345148458","1345148485","1345148513","1345148542","1345148551","1345148554"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/365d8fcd775edeca49af975e2fa9c884.jpg","text":"TemporaryFile(/tmp/multipartBody8243090297416586616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308712336,"filename":"image_18032025_01_23_37_3462.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7db1f093892a7aa30ee7ba3e6d29a340.jpg","text":"TemporaryFile(/tmp/multipartBody3563108351287035130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308712336,"filename":"image_18032025_01_23_42_4468.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f85dad54672a3d30f52555d78f0b2a36.jpg","text":"TemporaryFile(/tmp/multipartBody6558904712303714869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308712336,"filename":"image_18032025_01_23_45_3472.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ac623178dc32dead74f255f3776a8208.jpg","text":"TemporaryFile(/tmp/multipartBody6840843200305946597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308712336,"filename":"image_18032025_01_23_29_4466.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e5dd0b46b1db009f6b73292b5b50fcfa.jpg","text":"TemporaryFile(/tmp/multipartBody2228897398893803968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308712336,"filename":"image_18032025_01_23_25_3474.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4e065b351f703978bcded55f78a7471b.jpg","text":"TemporaryFile(/tmp/multipartBody6755732131880169266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308712336,"filename":"image_18032025_01_23_34_4465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345148513","file1":"1345148485","file0":"1345148458","file4":"1345148551","file5":"1345148554","file3":"1345148542"},"map_files_photo_id_array":[{"photo_id":"1345148554","filename":"file5"},{"photo_id":"1345148513","filename":"file2"},{"photo_id":"1345148551","filename":"file4"},{"photo_id":"1345148485","filename":"file1"},{"photo_id":"1345148458","filename":"file0"},{"photo_id":"1345148542","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345148513":["hashtag1","hashtag2"]},{"1345148485":["hashtag1","hashtag2"]},{"1345148458":["hashtag1","hashtag2"]},{"1345148551":["hashtag1","hashtag2"]},{"1345148554":["hashtag1","hashtag2"]},{"1345148542":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345148513, 1345148485, 1345148458, 1345148551, 1345148554, 1345148542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.703852653503418 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:38:31.985031
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_21_4465.jpg', 2), ('/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_17_3453.jpg', 2), ('/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_13_4474.jpg', 2), ('/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_09_3480.jpg', 2), ('/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_05_4098.jpg', 2), ('/home/nano/Desktop/images/18032025/01/22/image_18032025_01_23_01_4454.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_21_4465.jpg', '/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_17_3453.jpg', '/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_13_4474.jpg', '/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_09_3480.jpg', '/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_05_4098.jpg', '/home/nano/Desktop/images/18032025/01/22/image_18032025_01_23_01_4454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_21_4465.jpg
/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_17_3453.jpg
/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_13_4474.jpg
/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_09_3480.jpg
/home/nano/Desktop/images/18032025/01/23/image_18032025_01_23_05_4098.jpg
/home/nano/Desktop/images/18032025/01/22/image_18032025_01_23_01_4454.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345148918","1345149043","1345148875","1345148848","1345148806","1345148972"],"photo_ids_order":["1345148806","1345148848","1345148875","1345148918","1345148972","1345149043"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fcf8212854ccdace0b0860ed190896d3.jpg","text":"TemporaryFile(/tmp/multipartBody227125760648129128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308772554,"filename":"image_18032025_01_23_09_3480.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/211e6c57db780c2315404a05bc247c4e.jpg","text":"TemporaryFile(/tmp/multipartBody3192513821152949850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308772554,"filename":"image_18032025_01_23_01_4454.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c65d8e5401c90feb5ffa8b8380f76cb3.jpg","text":"TemporaryFile(/tmp/multipartBody6616301480392282709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308772554,"filename":"image_18032025_01_23_13_4474.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f7673a3b053718b720e2df781a63e82e.jpg","text":"TemporaryFile(/tmp/multipartBody2365364681472951340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308772554,"filename":"image_18032025_01_23_17_3453.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a7553665fe4a309e0ba16396d8a62820.jpg","text":"TemporaryFile(/tmp/multipartBody3840369118529705636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308772554,"filename":"image_18032025_01_23_21_4465.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7f38844210f82adaf0d9d2167c73a3ef.jpg","text":"TemporaryFile(/tmp/multipartBody504183886427508041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308772554,"filename":"image_18032025_01_23_05_4098.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345148875","file1":"1345148848","file0":"1345148806","file4":"1345148972","file5":"1345149043","file3":"1345148918"},"map_files_photo_id_array":[{"photo_id":"1345149043","filename":"file5"},{"photo_id":"1345148875","filename":"file2"},{"photo_id":"1345148972","filename":"file4"},{"photo_id":"1345148848","filename":"file1"},{"photo_id":"1345148806","filename":"file0"},{"photo_id":"1345148918","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345148918":["hashtag1","hashtag2"]},{"1345149043":["hashtag1","hashtag2"]},{"1345148875":["hashtag1","hashtag2"]},{"1345148848":["hashtag1","hashtag2"]},{"1345148806":["hashtag1","hashtag2"]},{"1345148972":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345148918, 1345149043, 1345148875, 1345148848, 1345148806, 1345148972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.71515679359436 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:39:32.140726
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_57_3457.jpg', 2), ('/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_53_4488.jpg', 2), ('/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_49_3458.jpg', 2), ('/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_45_4463.jpg', 2), ('/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_41_3456.jpg', 2), ('/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_38_4476.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_57_3457.jpg', '/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_53_4488.jpg', '/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_49_3458.jpg', '/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_45_4463.jpg', '/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_41_3456.jpg', '/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_38_4476.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_57_3457.jpg
/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_53_4488.jpg
/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_49_3458.jpg
/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_45_4463.jpg
/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_41_3456.jpg
/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_38_4476.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345150261","1345150161","1345149887","1345149755","1345149994","1345149827"],"photo_ids_order":["1345149755","1345149827","1345149887","1345149994","1345150161","1345150261"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2b64abaa5d9edc1031800938b7ad6a4a.jpg","text":"TemporaryFile(/tmp/multipartBody8908505634579290714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308832671,"filename":"image_18032025_01_22_38_4476.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d1f48096025204dc858ca33b97c47f7a.jpg","text":"TemporaryFile(/tmp/multipartBody2556325524628828070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308832671,"filename":"image_18032025_01_22_41_3456.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ec610a7997269653777e82900f6cdbc2.jpg","text":"TemporaryFile(/tmp/multipartBody7678798493432839918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308832671,"filename":"image_18032025_01_22_49_3458.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6ba16d1986de3601892066f89cfee5d5.jpg","text":"TemporaryFile(/tmp/multipartBody4296891590113044897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308832671,"filename":"image_18032025_01_22_57_3457.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/610e54413f19ee9308f8eba8a6f0e4fe.jpg","text":"TemporaryFile(/tmp/multipartBody6500066470103713502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308832671,"filename":"image_18032025_01_22_45_4463.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/33ef36949828237a233d6944cf217353.jpg","text":"TemporaryFile(/tmp/multipartBody2802906184065117580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308832671,"filename":"image_18032025_01_22_53_4488.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345149887","file1":"1345149827","file0":"1345149755","file4":"1345150161","file5":"1345150261","file3":"1345149994"},"map_files_photo_id_array":[{"photo_id":"1345150261","filename":"file5"},{"photo_id":"1345149887","filename":"file2"},{"photo_id":"1345150161","filename":"file4"},{"photo_id":"1345149827","filename":"file1"},{"photo_id":"1345149755","filename":"file0"},{"photo_id":"1345149994","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345150261":["hashtag1","hashtag2"]},{"1345150161":["hashtag1","hashtag2"]},{"1345149887":["hashtag1","hashtag2"]},{"1345149755":["hashtag1","hashtag2"]},{"1345149994":["hashtag1","hashtag2"]},{"1345149827":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345150261, 1345150161, 1345149887, 1345149755, 1345149994, 1345149827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.96100330352783 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:40:32.308850
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_33_3457.jpg', 2), ('/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_30_4463.jpg', 2), ('/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_25_3448.jpg', 2), ('/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_22_4491.jpg', 2), ('/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_17_4452.jpg', 2), ('/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_13_3477.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_33_3457.jpg', '/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_30_4463.jpg', '/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_25_3448.jpg', '/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_22_4491.jpg', '/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_17_4452.jpg', '/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_13_3477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_33_3457.jpg
/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_30_4463.jpg
/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_25_3448.jpg
/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_22_4491.jpg
/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_17_4452.jpg
/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_13_3477.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345150788","1345150705","1345150761","1345150755","1345150719","1345150740"],"photo_ids_order":["1345150705","1345150719","1345150740","1345150755","1345150761","1345150788"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e635502e05c84ec45b16177632362976.jpg","text":"TemporaryFile(/tmp/multipartBody2275973366233267171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308892869,"filename":"image_18032025_01_22_13_3477.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/20ea247dc5d1580602eb67ccb3d105c4.jpg","text":"TemporaryFile(/tmp/multipartBody1580629157054432765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308892869,"filename":"image_18032025_01_22_33_3457.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dba886a64e2b77dc794a1b7c9b9fd87b.jpg","text":"TemporaryFile(/tmp/multipartBody6517100457437201569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308892869,"filename":"image_18032025_01_22_17_4452.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/94f60543b1612d2223b2aea36e7d3367.jpg","text":"TemporaryFile(/tmp/multipartBody2734403517706776232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308892869,"filename":"image_18032025_01_22_22_4491.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e3a84e70ef0cfc5ee5b1493cd3caf114.jpg","text":"TemporaryFile(/tmp/multipartBody6756023691366052663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308892869,"filename":"image_18032025_01_22_30_4463.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1ec3a8d2ad3c34da39d696c924adba5b.jpg","text":"TemporaryFile(/tmp/multipartBody7974240867313406967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308892869,"filename":"image_18032025_01_22_25_3448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345150740","file1":"1345150719","file0":"1345150705","file4":"1345150761","file5":"1345150788","file3":"1345150755"},"map_files_photo_id_array":[{"photo_id":"1345150788","filename":"file5"},{"photo_id":"1345150740","filename":"file2"},{"photo_id":"1345150761","filename":"file4"},{"photo_id":"1345150719","filename":"file1"},{"photo_id":"1345150705","filename":"file0"},{"photo_id":"1345150755","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345150788":["hashtag1","hashtag2"]},{"1345150705":["hashtag1","hashtag2"]},{"1345150761":["hashtag1","hashtag2"]},{"1345150755":["hashtag1","hashtag2"]},{"1345150719":["hashtag1","hashtag2"]},{"1345150740":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345150788, 1345150705, 1345150761, 1345150755, 1345150719, 1345150740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.77818489074707 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:41:32.457529
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_09_4471.jpg', 2), ('/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_05_3991.jpg', 2), ('/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_01_3448.jpg', 2), ('/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_57_4459.jpg', 2), ('/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_53_3455.jpg', 2), ('/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_49_4460.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_09_4471.jpg', '/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_05_3991.jpg', '/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_01_3448.jpg', '/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_57_4459.jpg', '/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_53_3455.jpg', '/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_49_4460.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_09_4471.jpg
/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_05_3991.jpg
/home/nano/Desktop/images/18032025/01/22/image_18032025_01_22_01_3448.jpg
/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_57_4459.jpg
/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_53_3455.jpg
/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_49_4460.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345151284","1345151470","1345151352","1345151547","1345151235","1345151403"],"photo_ids_order":["1345151235","1345151284","1345151352","1345151403","1345151470","1345151547"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/882dd468765700c55b7f29b71e7fc288.jpg","text":"TemporaryFile(/tmp/multipartBody5657679929589563684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308953001,"filename":"image_18032025_01_22_05_3991.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1496d1136467c85a580e6d0eb7c7fc3a.jpg","text":"TemporaryFile(/tmp/multipartBody4481292620656097337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308953001,"filename":"image_18032025_01_21_53_3455.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fc203bc0a7223854637a1cb4e14f08a7.jpg","text":"TemporaryFile(/tmp/multipartBody3370342271191864030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308953001,"filename":"image_18032025_01_22_01_3448.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7cba056157edac3b05b8e4cecf6b8a2c.jpg","text":"TemporaryFile(/tmp/multipartBody8185480738636699080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308953001,"filename":"image_18032025_01_21_49_4460.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6fbde8bc72f0b23a02d48719d54b9610.jpg","text":"TemporaryFile(/tmp/multipartBody2231498568652785591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308953001,"filename":"image_18032025_01_22_09_4471.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c11a304969fc8ef43fefd82e66ef9327.jpg","text":"TemporaryFile(/tmp/multipartBody2030919673006808872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742308953001,"filename":"image_18032025_01_21_57_4459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345151352","file1":"1345151284","file0":"1345151235","file4":"1345151470","file5":"1345151547","file3":"1345151403"},"map_files_photo_id_array":[{"photo_id":"1345151547","filename":"file5"},{"photo_id":"1345151352","filename":"file2"},{"photo_id":"1345151470","filename":"file4"},{"photo_id":"1345151284","filename":"file1"},{"photo_id":"1345151235","filename":"file0"},{"photo_id":"1345151403","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345151284":["hashtag1","hashtag2"]},{"1345151470":["hashtag1","hashtag2"]},{"1345151352":["hashtag1","hashtag2"]},{"1345151547":["hashtag1","hashtag2"]},{"1345151235":["hashtag1","hashtag2"]},{"1345151403":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345151284, 1345151470, 1345151352, 1345151547, 1345151235, 1345151403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.273993730545044 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:42:32.628505
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_45_3452.jpg', 2), ('/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_42_4454.jpg', 2), ('/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_37_3481.jpg', 2), ('/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_34_4482.jpg', 2), ('/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_29_3453.jpg', 2), ('/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_26_4474.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_45_3452.jpg', '/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_42_4454.jpg', '/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_37_3481.jpg', '/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_34_4482.jpg', '/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_29_3453.jpg', '/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_26_4474.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_45_3452.jpg
/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_42_4454.jpg
/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_37_3481.jpg
/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_34_4482.jpg
/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_29_3453.jpg
/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_26_4474.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345152133","1345151941","1345152041","1345151993","1345151904","1345152094"],"photo_ids_order":["1345151904","1345151941","1345151993","1345152041","1345152094","1345152133"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a3a90339f9f530e4b6a673f42694d813.jpg","text":"TemporaryFile(/tmp/multipartBody3851688956326884209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309013159,"filename":"image_18032025_01_21_26_4474.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d0a8790492def20139d755f15e3e72ad.jpg","text":"TemporaryFile(/tmp/multipartBody8636863172546719276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309013159,"filename":"image_18032025_01_21_42_4454.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9f91bac2f40625d342e7d27eb60316be.jpg","text":"TemporaryFile(/tmp/multipartBody4482709095947098512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309013159,"filename":"image_18032025_01_21_34_4482.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d79c873edcfe27eb10bf9802960284dc.jpg","text":"TemporaryFile(/tmp/multipartBody3636781694135730598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309013159,"filename":"image_18032025_01_21_37_3481.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/477e1bd3f4fb3b3f4f8b260dfda79fb7.jpg","text":"TemporaryFile(/tmp/multipartBody8937453771512034484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309013159,"filename":"image_18032025_01_21_45_3452.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a9a967a3fc439ac5b74964904119a9e9.jpg","text":"TemporaryFile(/tmp/multipartBody5141110329366973980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309013159,"filename":"image_18032025_01_21_29_3453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345151993","file1":"1345151941","file0":"1345151904","file4":"1345152094","file5":"1345152133","file3":"1345152041"},"map_files_photo_id_array":[{"photo_id":"1345152133","filename":"file5"},{"photo_id":"1345151993","filename":"file2"},{"photo_id":"1345152094","filename":"file4"},{"photo_id":"1345151941","filename":"file1"},{"photo_id":"1345151904","filename":"file0"},{"photo_id":"1345152041","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345152133":["hashtag1","hashtag2"]},{"1345151941":["hashtag1","hashtag2"]},{"1345152041":["hashtag1","hashtag2"]},{"1345151993":["hashtag1","hashtag2"]},{"1345151904":["hashtag1","hashtag2"]},{"1345152094":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345152133, 1345151941, 1345152041, 1345151993, 1345151904, 1345152094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.115562438964844 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:43:32.824432
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_21_4469.jpg', 2), ('/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_17_3487.jpg', 2), ('/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_13_4491.jpg', 2), ('/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_09_3454.jpg', 2), ('/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_05_3877.jpg', 2), ('/home/nano/Desktop/images/18032025/01/20/image_18032025_01_21_01_4459.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_21_4469.jpg', '/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_17_3487.jpg', '/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_13_4491.jpg', '/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_09_3454.jpg', '/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_05_3877.jpg', '/home/nano/Desktop/images/18032025/01/20/image_18032025_01_21_01_4459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_21_4469.jpg
/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_17_3487.jpg
/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_13_4491.jpg
/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_09_3454.jpg
/home/nano/Desktop/images/18032025/01/21/image_18032025_01_21_05_3877.jpg
/home/nano/Desktop/images/18032025/01/20/image_18032025_01_21_01_4459.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345152333","1345152359","1345152431","1345152404","1345152376","1345152308"],"photo_ids_order":["1345152308","1345152333","1345152359","1345152376","1345152404","1345152431"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/49e83795266a3cb258bf2985c26f374a.jpg","text":"TemporaryFile(/tmp/multipartBody3457570641233136058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309073361,"filename":"image_18032025_01_21_17_3487.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/20c6fc9d0c265b369d07d7cb667ec9bb.jpg","text":"TemporaryFile(/tmp/multipartBody1021438162190234128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309073361,"filename":"image_18032025_01_21_13_4491.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/79f46017b6bdf6cfc26a6dd8735d3c06.jpg","text":"TemporaryFile(/tmp/multipartBody3821786210692778360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309073361,"filename":"image_18032025_01_21_01_4459.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b956a89484c46171d1626f7b1caae05d.jpg","text":"TemporaryFile(/tmp/multipartBody7740803736082741152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309073361,"filename":"image_18032025_01_21_05_3877.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/17cd0ecb51941ad3e27b88f4d62f70c2.jpg","text":"TemporaryFile(/tmp/multipartBody2408018022935995124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309073361,"filename":"image_18032025_01_21_09_3454.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4efb4a0eef6142b3f9c13c6f877b0d2b.jpg","text":"TemporaryFile(/tmp/multipartBody7812689957244690764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309073361,"filename":"image_18032025_01_21_21_4469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345152359","file1":"1345152333","file0":"1345152308","file4":"1345152404","file5":"1345152431","file3":"1345152376"},"map_files_photo_id_array":[{"photo_id":"1345152431","filename":"file5"},{"photo_id":"1345152359","filename":"file2"},{"photo_id":"1345152404","filename":"file4"},{"photo_id":"1345152333","filename":"file1"},{"photo_id":"1345152308","filename":"file0"},{"photo_id":"1345152376","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345152333":["hashtag1","hashtag2"]},{"1345152359":["hashtag1","hashtag2"]},{"1345152431":["hashtag1","hashtag2"]},{"1345152404":["hashtag1","hashtag2"]},{"1345152376":["hashtag1","hashtag2"]},{"1345152308":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345152333, 1345152359, 1345152431, 1345152404, 1345152376, 1345152308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.628856420516968 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:44:32.013740
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_57_3459.jpg', 2), ('/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_53_4465.jpg', 2), ('/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_49_3436.jpg', 2), ('/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_46_4461.jpg', 2), ('/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_41_3449.jpg', 2), ('/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_38_4458.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_57_3459.jpg', '/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_53_4465.jpg', '/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_49_3436.jpg', '/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_46_4461.jpg', '/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_41_3449.jpg', '/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_38_4458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_57_3459.jpg
/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_53_4465.jpg
/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_49_3436.jpg
/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_46_4461.jpg
/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_41_3449.jpg
/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_38_4458.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345152690","1345152663","1345152642","1345152776","1345152749","1345152713"],"photo_ids_order":["1345152642","1345152663","1345152690","1345152713","1345152749","1345152776"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1f9d9b97d69e55ab27c65fc7bfd5d08e.jpg","text":"TemporaryFile(/tmp/multipartBody3025672747568270424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309132533,"filename":"image_18032025_01_20_49_3436.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1000394b9c6e3cd34e71a5ac9c32ed04.jpg","text":"TemporaryFile(/tmp/multipartBody3869559698131351270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309132533,"filename":"image_18032025_01_20_53_4465.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/56d2a4d7f34e3972a26a37ddd0127247.jpg","text":"TemporaryFile(/tmp/multipartBody3373064646025399875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309132533,"filename":"image_18032025_01_20_57_3459.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/698737ef6d54bb07e417b1bc2caf72d9.jpg","text":"TemporaryFile(/tmp/multipartBody4023814546094721997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309132533,"filename":"image_18032025_01_20_38_4458.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7e64863bf1bf8bf3db6022ce893f35d2.jpg","text":"TemporaryFile(/tmp/multipartBody7969883219066586865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309132533,"filename":"image_18032025_01_20_41_3449.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c8968a84aca2d6ec3754dbd921dbb025.jpg","text":"TemporaryFile(/tmp/multipartBody832235606998448206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309132533,"filename":"image_18032025_01_20_46_4461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345152690","file1":"1345152663","file0":"1345152642","file4":"1345152749","file5":"1345152776","file3":"1345152713"},"map_files_photo_id_array":[{"photo_id":"1345152776","filename":"file5"},{"photo_id":"1345152690","filename":"file2"},{"photo_id":"1345152749","filename":"file4"},{"photo_id":"1345152663","filename":"file1"},{"photo_id":"1345152642","filename":"file0"},{"photo_id":"1345152713","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345152690":["hashtag1","hashtag2"]},{"1345152663":["hashtag1","hashtag2"]},{"1345152642":["hashtag1","hashtag2"]},{"1345152776":["hashtag1","hashtag2"]},{"1345152749":["hashtag1","hashtag2"]},{"1345152713":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345152690, 1345152663, 1345152642, 1345152776, 1345152749, 1345152713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70721697807312 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:45:32.219422
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_33_4469.jpg', 2), ('/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_29_3459.jpg', 2), ('/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_25_4462.jpg', 2), ('/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_21_3454.jpg', 2), ('/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_17_4467.jpg', 2), ('/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_13_3461.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_33_4469.jpg', '/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_29_3459.jpg', '/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_25_4462.jpg', '/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_21_3454.jpg', '/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_17_4467.jpg', '/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_13_3461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_33_4469.jpg
/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_29_3459.jpg
/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_25_4462.jpg
/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_21_3454.jpg
/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_17_4467.jpg
/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_13_3461.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345152928","1345152937","1345152942","1345152947","1345152932","1345152925"],"photo_ids_order":["1345152925","1345152928","1345152932","1345152937","1345152942","1345152947"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/799604df901c9b42b28b639002514084.jpg","text":"TemporaryFile(/tmp/multipartBody809181079892086949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309192745,"filename":"image_18032025_01_20_29_3459.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7a928bd2ac3f0e6732f5def3726f6d70.jpg","text":"TemporaryFile(/tmp/multipartBody7987388681491589960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309192745,"filename":"image_18032025_01_20_21_3454.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6db8afd7fab45376203578761b95396b.jpg","text":"TemporaryFile(/tmp/multipartBody246279491195220278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309192745,"filename":"image_18032025_01_20_17_4467.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f97338f413db704dee88d73775a13920.jpg","text":"TemporaryFile(/tmp/multipartBody7780143170863368703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309192745,"filename":"image_18032025_01_20_13_3461.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b0b07fb2b14bb5ca974783786e5f8110.jpg","text":"TemporaryFile(/tmp/multipartBody1543823361874224012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309192745,"filename":"image_18032025_01_20_25_4462.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cbf8ea33ef71d2b2761ebc35521798d2.jpg","text":"TemporaryFile(/tmp/multipartBody8194298964706227126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309192745,"filename":"image_18032025_01_20_33_4469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345152932","file1":"1345152928","file0":"1345152925","file4":"1345152942","file5":"1345152947","file3":"1345152937"},"map_files_photo_id_array":[{"photo_id":"1345152947","filename":"file5"},{"photo_id":"1345152932","filename":"file2"},{"photo_id":"1345152942","filename":"file4"},{"photo_id":"1345152928","filename":"file1"},{"photo_id":"1345152925","filename":"file0"},{"photo_id":"1345152937","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345152928":["hashtag1","hashtag2"]},{"1345152937":["hashtag1","hashtag2"]},{"1345152942":["hashtag1","hashtag2"]},{"1345152947":["hashtag1","hashtag2"]},{"1345152932":["hashtag1","hashtag2"]},{"1345152925":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345152928, 1345152937, 1345152942, 1345152947, 1345152932, 1345152925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.214791774749756 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:46:32.363032
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_09_4500.jpg', 2), ('/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_05_4157.jpg', 2), ('/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_01_3447.jpg', 2), ('/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_57_4464.jpg', 2), ('/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_53_3445.jpg', 2), ('/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_49_4462.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_09_4500.jpg', '/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_05_4157.jpg', '/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_01_3447.jpg', '/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_57_4464.jpg', '/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_53_3445.jpg', '/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_49_4462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_09_4500.jpg
/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_05_4157.jpg
/home/nano/Desktop/images/18032025/01/20/image_18032025_01_20_01_3447.jpg
/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_57_4464.jpg
/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_53_3445.jpg
/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_49_4462.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345152975","1345152963","1345152992","1345152971","1345153024","1345152967"],"photo_ids_order":["1345152963","1345152967","1345152971","1345152975","1345152992","1345153024"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a7d22b448e46d32010f0028bebd34a47.jpg","text":"TemporaryFile(/tmp/multipartBody3235241535655191819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309252902,"filename":"image_18032025_01_19_57_4464.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cc7e1aa996bad792cab15176d88d4580.jpg","text":"TemporaryFile(/tmp/multipartBody9078610548372097149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309252902,"filename":"image_18032025_01_20_09_4500.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3fc55fab011702bd5e94c80e50b51b55.jpg","text":"TemporaryFile(/tmp/multipartBody417786772820587570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309252902,"filename":"image_18032025_01_19_53_3445.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/49f6e84926886185414372c77b67befc.jpg","text":"TemporaryFile(/tmp/multipartBody4174352853761226070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309252902,"filename":"image_18032025_01_20_01_3447.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dff61cec9b90fd57d6287fcccbba5fcc.jpg","text":"TemporaryFile(/tmp/multipartBody6755719715524097425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309252902,"filename":"image_18032025_01_19_49_4462.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/09a936b590e952b7c6cccc401c5a0ed1.jpg","text":"TemporaryFile(/tmp/multipartBody7178130764055507628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309252902,"filename":"image_18032025_01_20_05_4157.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345152971","file1":"1345152967","file0":"1345152963","file4":"1345152992","file5":"1345153024","file3":"1345152975"},"map_files_photo_id_array":[{"photo_id":"1345153024","filename":"file5"},{"photo_id":"1345152971","filename":"file2"},{"photo_id":"1345152992","filename":"file4"},{"photo_id":"1345152967","filename":"file1"},{"photo_id":"1345152963","filename":"file0"},{"photo_id":"1345152975","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345152975":["hashtag1","hashtag2"]},{"1345152963":["hashtag1","hashtag2"]},{"1345152992":["hashtag1","hashtag2"]},{"1345152971":["hashtag1","hashtag2"]},{"1345153024":["hashtag1","hashtag2"]},{"1345152967":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345152975, 1345152963, 1345152992, 1345152971, 1345153024, 1345152967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.343027353286743 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:47:32.566351
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_45_3455.jpg', 2), ('/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_41_4463.jpg', 2), ('/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_37_3437.jpg', 2), ('/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_34_4468.jpg', 2), ('/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_29_3450.jpg', 2), ('/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_26_4465.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_45_3455.jpg', '/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_41_4463.jpg', '/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_37_3437.jpg', '/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_34_4468.jpg', '/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_29_3450.jpg', '/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_26_4465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_45_3455.jpg
/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_41_4463.jpg
/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_37_3437.jpg
/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_34_4468.jpg
/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_29_3450.jpg
/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_26_4465.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345153176","1345153134","1345153168","1345153159","1345153138","1345153108"],"photo_ids_order":["1345153108","1345153134","1345153138","1345153159","1345153168","1345153176"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ace523e229c5cc7cb5bad683be68e2d1.jpg","text":"TemporaryFile(/tmp/multipartBody834611248190526419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309313101,"filename":"image_18032025_01_19_26_4465.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e00624a9439d2fe56bff2e77b5bd055f.jpg","text":"TemporaryFile(/tmp/multipartBody3613835613937380773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309313101,"filename":"image_18032025_01_19_41_4463.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c602bac2e36a390049f5824b28f331fa.jpg","text":"TemporaryFile(/tmp/multipartBody4952959135256329632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309313101,"filename":"image_18032025_01_19_29_3450.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/204fd6e3af878963d303e2c090da4778.jpg","text":"TemporaryFile(/tmp/multipartBody3498909438976219152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309313101,"filename":"image_18032025_01_19_34_4468.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/81fbe44890ab8beb0d6055d0591891a6.jpg","text":"TemporaryFile(/tmp/multipartBody6747292698734497410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309313101,"filename":"image_18032025_01_19_37_3437.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2dd1e923946224b453540d0280d24111.jpg","text":"TemporaryFile(/tmp/multipartBody5945805461730465960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309313101,"filename":"image_18032025_01_19_45_3455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345153138","file1":"1345153134","file0":"1345153108","file4":"1345153168","file5":"1345153176","file3":"1345153159"},"map_files_photo_id_array":[{"photo_id":"1345153176","filename":"file5"},{"photo_id":"1345153138","filename":"file2"},{"photo_id":"1345153168","filename":"file4"},{"photo_id":"1345153134","filename":"file1"},{"photo_id":"1345153108","filename":"file0"},{"photo_id":"1345153159","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345153176":["hashtag1","hashtag2"]},{"1345153134":["hashtag1","hashtag2"]},{"1345153168":["hashtag1","hashtag2"]},{"1345153159":["hashtag1","hashtag2"]},{"1345153138":["hashtag1","hashtag2"]},{"1345153108":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345153176, 1345153134, 1345153168, 1345153159, 1345153138, 1345153108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.22120428085327 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:48:32.732105
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_21_4453.jpg', 2), ('/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_17_3440.jpg', 2), ('/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_13_4472.jpg', 2), ('/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_09_3448.jpg', 2), ('/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_05_3719.jpg', 2), ('/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_02_4453.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_21_4453.jpg', '/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_17_3440.jpg', '/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_13_4472.jpg', '/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_09_3448.jpg', '/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_05_3719.jpg', '/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_02_4453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_21_4453.jpg
/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_17_3440.jpg
/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_13_4472.jpg
/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_09_3448.jpg
/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_05_3719.jpg
/home/nano/Desktop/images/18032025/01/19/image_18032025_01_19_02_4453.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345153332","1345153239","1345153262","1345153316","1345153291","1345153246"],"photo_ids_order":["1345153239","1345153246","1345153262","1345153291","1345153316","1345153332"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8ae7e8eb5ca356b5379592f6bb1a566d.jpg","text":"TemporaryFile(/tmp/multipartBody6578321311341554627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309373265,"filename":"image_18032025_01_19_02_4453.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9d4a4c71d33add2116ca6832a3e098c6.jpg","text":"TemporaryFile(/tmp/multipartBody2130382557861613453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309373265,"filename":"image_18032025_01_19_21_4453.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3964377c7f7d18327f7b5576e21d91e6.jpg","text":"TemporaryFile(/tmp/multipartBody4295485140881603336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309373265,"filename":"image_18032025_01_19_13_4472.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5d8f8fb01d64d22a1d3402beaa523d94.jpg","text":"TemporaryFile(/tmp/multipartBody8587508994795866147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309373265,"filename":"image_18032025_01_19_05_3719.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6cce2ac5daf0417a6c519de9f0e81bf5.jpg","text":"TemporaryFile(/tmp/multipartBody1164557597822145450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309373265,"filename":"image_18032025_01_19_09_3448.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e9a5bc1f8735a63bfd3354fb2d87b743.jpg","text":"TemporaryFile(/tmp/multipartBody881989535660726607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309373265,"filename":"image_18032025_01_19_17_3440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345153262","file1":"1345153246","file0":"1345153239","file4":"1345153316","file5":"1345153332","file3":"1345153291"},"map_files_photo_id_array":[{"photo_id":"1345153332","filename":"file5"},{"photo_id":"1345153262","filename":"file2"},{"photo_id":"1345153316","filename":"file4"},{"photo_id":"1345153246","filename":"file1"},{"photo_id":"1345153239","filename":"file0"},{"photo_id":"1345153291","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345153332":["hashtag1","hashtag2"]},{"1345153239":["hashtag1","hashtag2"]},{"1345153262":["hashtag1","hashtag2"]},{"1345153316":["hashtag1","hashtag2"]},{"1345153291":["hashtag1","hashtag2"]},{"1345153246":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345153332, 1345153239, 1345153262, 1345153316, 1345153291, 1345153246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.627774715423584 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:49:31.874726
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_57_4471.jpg', 2), ('/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_53_3476.jpg', 2), ('/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_49_4483.jpg', 2), ('/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_45_3448.jpg', 2), ('/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_41_4486.jpg', 2), ('/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_37_3471.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_57_4471.jpg', '/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_53_3476.jpg', '/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_49_4483.jpg', '/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_45_3448.jpg', '/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_41_4486.jpg', '/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_37_3471.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_57_4471.jpg
/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_53_3476.jpg
/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_49_4483.jpg
/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_45_3448.jpg
/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_41_4486.jpg
/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_37_3471.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345153364","1345153358","1345153352","1345153393","1345153396","1345153378"],"photo_ids_order":["1345153352","1345153358","1345153364","1345153378","1345153393","1345153396"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/80463c17dfe1bbdc8b8ae99ccb6ab5a6.jpg","text":"TemporaryFile(/tmp/multipartBody7890244892976902555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309432388,"filename":"image_18032025_01_18_49_4483.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cdf7e0304021c2d4ab020cef29ffcb72.jpg","text":"TemporaryFile(/tmp/multipartBody8646254516409574532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309432388,"filename":"image_18032025_01_18_53_3476.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ed07be935920b213d680b627f5aeb755.jpg","text":"TemporaryFile(/tmp/multipartBody36446852389071537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309432388,"filename":"image_18032025_01_18_57_4471.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e85097ae45b39a987d3086975dfd60ae.jpg","text":"TemporaryFile(/tmp/multipartBody5313273777814919247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309432388,"filename":"image_18032025_01_18_41_4486.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/600748da66fc92a3d81e37f748ee4b54.jpg","text":"TemporaryFile(/tmp/multipartBody3492967348803903808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309432388,"filename":"image_18032025_01_18_37_3471.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9d005588c8e480cccbf911bbdf39177a.jpg","text":"TemporaryFile(/tmp/multipartBody4363259011561776407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309432388,"filename":"image_18032025_01_18_45_3448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345153364","file1":"1345153358","file0":"1345153352","file4":"1345153393","file5":"1345153396","file3":"1345153378"},"map_files_photo_id_array":[{"photo_id":"1345153396","filename":"file5"},{"photo_id":"1345153364","filename":"file2"},{"photo_id":"1345153393","filename":"file4"},{"photo_id":"1345153358","filename":"file1"},{"photo_id":"1345153352","filename":"file0"},{"photo_id":"1345153378","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345153364":["hashtag1","hashtag2"]},{"1345153358":["hashtag1","hashtag2"]},{"1345153352":["hashtag1","hashtag2"]},{"1345153393":["hashtag1","hashtag2"]},{"1345153396":["hashtag1","hashtag2"]},{"1345153378":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345153364, 1345153358, 1345153352, 1345153393, 1345153396, 1345153378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.003849506378174 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:50:32.018806
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_33_4470.jpg', 2), ('/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_29_3453.jpg', 2), ('/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_25_4454.jpg', 2), ('/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_21_3452.jpg', 2), ('/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_18_4464.jpg', 2), ('/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_13_3454.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_33_4470.jpg', '/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_29_3453.jpg', '/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_25_4454.jpg', '/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_21_3452.jpg', '/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_18_4464.jpg', '/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_13_3454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_33_4470.jpg
/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_29_3453.jpg
/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_25_4454.jpg
/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_21_3452.jpg
/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_18_4464.jpg
/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_13_3454.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345153437","1345153433","1345153412","1345153429","1345153423","1345153417"],"photo_ids_order":["1345153412","1345153417","1345153423","1345153429","1345153433","1345153437"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/61f460a40caa41fdb0b6291f8373cc11.jpg","text":"TemporaryFile(/tmp/multipartBody1177524840465688357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309492549,"filename":"image_18032025_01_18_13_3454.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7c88bdda57f4dc2a2ae9b22e52283c00.jpg","text":"TemporaryFile(/tmp/multipartBody1296643758623991731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309492549,"filename":"image_18032025_01_18_18_4464.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/02885895662834eb70b4cbb9a3e4266a.jpg","text":"TemporaryFile(/tmp/multipartBody5982918836009703474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309492549,"filename":"image_18032025_01_18_33_4470.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ddaad865e0a869c01570a41c2e80d08b.jpg","text":"TemporaryFile(/tmp/multipartBody7097357541511507378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309492549,"filename":"image_18032025_01_18_21_3452.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f2bc4465f1052e4000c83e9707347478.jpg","text":"TemporaryFile(/tmp/multipartBody2027605553209056139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309492549,"filename":"image_18032025_01_18_25_4454.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/053d7c19a2f3d1e4a0a1722e58237a29.jpg","text":"TemporaryFile(/tmp/multipartBody2494265153800739765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309492549,"filename":"image_18032025_01_18_29_3453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345153423","file1":"1345153417","file0":"1345153412","file4":"1345153433","file5":"1345153437","file3":"1345153429"},"map_files_photo_id_array":[{"photo_id":"1345153437","filename":"file5"},{"photo_id":"1345153423","filename":"file2"},{"photo_id":"1345153433","filename":"file4"},{"photo_id":"1345153417","filename":"file1"},{"photo_id":"1345153412","filename":"file0"},{"photo_id":"1345153429","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345153437":["hashtag1","hashtag2"]},{"1345153433":["hashtag1","hashtag2"]},{"1345153412":["hashtag1","hashtag2"]},{"1345153429":["hashtag1","hashtag2"]},{"1345153423":["hashtag1","hashtag2"]},{"1345153417":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345153437, 1345153433, 1345153412, 1345153429, 1345153423, 1345153417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.829967975616455 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:51:32.272425
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_10_4483.jpg', 2), ('/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_05_3666.jpg', 2), ('/home/nano/Desktop/images/18032025/01/17/image_18032025_01_18_02_4461.jpg', 2), ('/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_57_3454.jpg', 2), ('/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_54_4491.jpg', 2), ('/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_49_3454.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_10_4483.jpg', '/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_05_3666.jpg', '/home/nano/Desktop/images/18032025/01/17/image_18032025_01_18_02_4461.jpg', '/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_57_3454.jpg', '/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_54_4491.jpg', '/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_49_3454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_10_4483.jpg
/home/nano/Desktop/images/18032025/01/18/image_18032025_01_18_05_3666.jpg
/home/nano/Desktop/images/18032025/01/17/image_18032025_01_18_02_4461.jpg
/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_57_3454.jpg
/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_54_4491.jpg
/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_49_3454.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345153476","1345153524","1345153527","1345153512","1345153493","1345153505"],"photo_ids_order":["1345153476","1345153493","1345153505","1345153512","1345153524","1345153527"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8349931355afd21749a1e7b60979713b.jpg","text":"TemporaryFile(/tmp/multipartBody4858472533842042547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309553029,"filename":"image_18032025_01_18_10_4483.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/743abbc9bdef832648e0fbab4370ae29.jpg","text":"TemporaryFile(/tmp/multipartBody2836191058072873085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309553029,"filename":"image_18032025_01_17_54_4491.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/943a518fd7a57c4309bf99f23a935ce6.jpg","text":"TemporaryFile(/tmp/multipartBody509423254615280382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309553029,"filename":"image_18032025_01_17_49_3454.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/32db53ac1b7d04753789c24c3da3928b.jpg","text":"TemporaryFile(/tmp/multipartBody444879535062171707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309553029,"filename":"image_18032025_01_17_57_3454.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cff7fa036899c1162212de4661428b64.jpg","text":"TemporaryFile(/tmp/multipartBody4193633529066786264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309553029,"filename":"image_18032025_01_18_05_3666.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a21880ffc1a2bedad90bdc67d1d39e0c.jpg","text":"TemporaryFile(/tmp/multipartBody8424832858612304606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309553029,"filename":"image_18032025_01_18_02_4461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345153505","file1":"1345153493","file0":"1345153476","file4":"1345153524","file5":"1345153527","file3":"1345153512"},"map_files_photo_id_array":[{"photo_id":"1345153527","filename":"file5"},{"photo_id":"1345153505","filename":"file2"},{"photo_id":"1345153524","filename":"file4"},{"photo_id":"1345153493","filename":"file1"},{"photo_id":"1345153476","filename":"file0"},{"photo_id":"1345153512","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345153476":["hashtag1","hashtag2"]},{"1345153524":["hashtag1","hashtag2"]},{"1345153527":["hashtag1","hashtag2"]},{"1345153512":["hashtag1","hashtag2"]},{"1345153493":["hashtag1","hashtag2"]},{"1345153505":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345153476, 1345153524, 1345153527, 1345153512, 1345153493, 1345153505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.939463138580322 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:52:32.426748
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_46_4460.jpg', 2), ('/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_41_4461.jpg', 2), ('/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_37_3457.jpg', 2), ('/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_33_4470.jpg', 2), ('/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_29_3456.jpg', 2), ('/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_25_4471.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_46_4460.jpg', '/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_41_4461.jpg', '/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_37_3457.jpg', '/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_33_4470.jpg', '/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_29_3456.jpg', '/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_25_4471.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_46_4460.jpg
/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_41_4461.jpg
/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_37_3457.jpg
/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_33_4470.jpg
/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_29_3456.jpg
/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_25_4471.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345153545","1345153562","1345153559","1345153564","1345153555","1345153549"],"photo_ids_order":["1345153545","1345153549","1345153555","1345153559","1345153562","1345153564"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/571a3d893e701e23e8838b6441d3a149.jpg","text":"TemporaryFile(/tmp/multipartBody1137911000032128233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309613127,"filename":"image_18032025_01_17_46_4460.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/59b0b8c2cbb1db7f4f94687fd21ce600.jpg","text":"TemporaryFile(/tmp/multipartBody917490264174820597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309613127,"filename":"image_18032025_01_17_29_3456.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e65fd7d6b9c7b5a2c62958a85ea51509.jpg","text":"TemporaryFile(/tmp/multipartBody6762663134014219554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309613127,"filename":"image_18032025_01_17_33_4470.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/868d2e9aab75cc169057d3ea18162adf.jpg","text":"TemporaryFile(/tmp/multipartBody5029137862693620254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309613127,"filename":"image_18032025_01_17_25_4471.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ac766f99352dd7b51f4c649090255144.jpg","text":"TemporaryFile(/tmp/multipartBody1945728289266940050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309613127,"filename":"image_18032025_01_17_37_3457.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7174d25226947fec0c8b29979c2d1577.jpg","text":"TemporaryFile(/tmp/multipartBody7992520518405074083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309613127,"filename":"image_18032025_01_17_41_4461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345153555","file1":"1345153549","file0":"1345153545","file4":"1345153562","file5":"1345153564","file3":"1345153559"},"map_files_photo_id_array":[{"photo_id":"1345153564","filename":"file5"},{"photo_id":"1345153555","filename":"file2"},{"photo_id":"1345153562","filename":"file4"},{"photo_id":"1345153549","filename":"file1"},{"photo_id":"1345153545","filename":"file0"},{"photo_id":"1345153559","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345153545":["hashtag1","hashtag2"]},{"1345153562":["hashtag1","hashtag2"]},{"1345153559":["hashtag1","hashtag2"]},{"1345153564":["hashtag1","hashtag2"]},{"1345153555":["hashtag1","hashtag2"]},{"1345153549":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345153545, 1345153562, 1345153559, 1345153564, 1345153555, 1345153549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.11609601974487 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:53:32.600641
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_21_3453.jpg', 2), ('/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_17_4463.jpg', 2), ('/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_13_3456.jpg', 2), ('/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_09_4493.jpg', 2), ('/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_05_4017.jpg', 2), ('/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_01_3465.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_21_3453.jpg', '/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_17_4463.jpg', '/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_13_3456.jpg', '/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_09_4493.jpg', '/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_05_4017.jpg', '/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_01_3465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_21_3453.jpg
/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_17_4463.jpg
/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_13_3456.jpg
/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_09_4493.jpg
/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_05_4017.jpg
/home/nano/Desktop/images/18032025/01/17/image_18032025_01_17_01_3465.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345153584","1345153578","1345153598","1345153602","1345153589","1345153594"],"photo_ids_order":["1345153578","1345153584","1345153589","1345153594","1345153598","1345153602"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/eca8763ab0b7a247158b2bffb37ad11a.jpg","text":"TemporaryFile(/tmp/multipartBody682001225810765438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309673113,"filename":"image_18032025_01_17_17_4463.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8a3a07990debc9289b58e42081f85168.jpg","text":"TemporaryFile(/tmp/multipartBody6718361781444732198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309673113,"filename":"image_18032025_01_17_21_3453.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f628d144eb6dac08f59cd280f892bb4b.jpg","text":"TemporaryFile(/tmp/multipartBody3723900445544574949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309673113,"filename":"image_18032025_01_17_05_4017.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/28b644ebb1bdeea05eae55349489a910.jpg","text":"TemporaryFile(/tmp/multipartBody2348510855630829931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309673113,"filename":"image_18032025_01_17_01_3465.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2ed2b43c2fcd933f85d94e80bdba4830.jpg","text":"TemporaryFile(/tmp/multipartBody4965333937229096024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309673113,"filename":"image_18032025_01_17_13_3456.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9e8ca8ba85b78c70246a0b811a721cb2.jpg","text":"TemporaryFile(/tmp/multipartBody439451673532772528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309673113,"filename":"image_18032025_01_17_09_4493.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345153589","file1":"1345153584","file0":"1345153578","file4":"1345153598","file5":"1345153602","file3":"1345153594"},"map_files_photo_id_array":[{"photo_id":"1345153602","filename":"file5"},{"photo_id":"1345153589","filename":"file2"},{"photo_id":"1345153598","filename":"file4"},{"photo_id":"1345153584","filename":"file1"},{"photo_id":"1345153578","filename":"file0"},{"photo_id":"1345153594","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345153584":["hashtag1","hashtag2"]},{"1345153578":["hashtag1","hashtag2"]},{"1345153598":["hashtag1","hashtag2"]},{"1345153602":["hashtag1","hashtag2"]},{"1345153589":["hashtag1","hashtag2"]},{"1345153594":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345153584, 1345153578, 1345153598, 1345153602, 1345153589, 1345153594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.35940599441528 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:54:32.793630
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_57_4468.jpg', 2), ('/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_53_3464.jpg', 2), ('/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_50_4467.jpg', 2), ('/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_45_3479.jpg', 2), ('/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_42_4443.jpg', 2), ('/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_37_4467.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_57_4468.jpg', '/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_53_3464.jpg', '/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_50_4467.jpg', '/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_45_3479.jpg', '/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_42_4443.jpg', '/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_37_4467.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_57_4468.jpg
/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_53_3464.jpg
/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_50_4467.jpg
/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_45_3479.jpg
/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_42_4443.jpg
/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_37_4467.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345153638","1345153623","1345153629","1345153625","1345153633","1345153636"],"photo_ids_order":["1345153623","1345153625","1345153629","1345153633","1345153636","1345153638"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/12812c484c45cf9edce383d2bfae9b23.jpg","text":"TemporaryFile(/tmp/multipartBody5724827289608184045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309733337,"filename":"image_18032025_01_16_37_4467.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/09a33dd6163d606dc87e369d7d62b968.jpg","text":"TemporaryFile(/tmp/multipartBody4429904317403528220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309733337,"filename":"image_18032025_01_16_57_4468.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c3b39795f97020ef03fad85433a891db.jpg","text":"TemporaryFile(/tmp/multipartBody7139163837469502012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309733337,"filename":"image_18032025_01_16_50_4467.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/964a41f2c15f7b037352eb89dcb3e568.jpg","text":"TemporaryFile(/tmp/multipartBody4298993921041439227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309733337,"filename":"image_18032025_01_16_53_3464.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d48318bd874a1e51b0e166686d493b2e.jpg","text":"TemporaryFile(/tmp/multipartBody1818287097093195277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309733337,"filename":"image_18032025_01_16_45_3479.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ec3ad775753a922dfbbbde8fbc69c887.jpg","text":"TemporaryFile(/tmp/multipartBody8842447421512356231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309733337,"filename":"image_18032025_01_16_42_4443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345153629","file1":"1345153625","file0":"1345153623","file4":"1345153636","file5":"1345153638","file3":"1345153633"},"map_files_photo_id_array":[{"photo_id":"1345153638","filename":"file5"},{"photo_id":"1345153629","filename":"file2"},{"photo_id":"1345153636","filename":"file4"},{"photo_id":"1345153625","filename":"file1"},{"photo_id":"1345153623","filename":"file0"},{"photo_id":"1345153633","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345153638":["hashtag1","hashtag2"]},{"1345153623":["hashtag1","hashtag2"]},{"1345153629":["hashtag1","hashtag2"]},{"1345153625":["hashtag1","hashtag2"]},{"1345153633":["hashtag1","hashtag2"]},{"1345153636":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345153638, 1345153623, 1345153629, 1345153625, 1345153633, 1345153636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.75352692604065 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:55:31.995382
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_33_3444.jpg', 2), ('/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_29_4465.jpg', 2), ('/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_25_3453.jpg', 2), ('/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_21_4468.jpg', 2), ('/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_17_3431.jpg', 2), ('/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_13_4479.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_33_3444.jpg', '/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_29_4465.jpg', '/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_25_3453.jpg', '/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_21_4468.jpg', '/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_17_3431.jpg', '/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_13_4479.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_33_3444.jpg
/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_29_4465.jpg
/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_25_3453.jpg
/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_21_4468.jpg
/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_17_3431.jpg
/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_13_4479.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345153683","1345153722","1345153725","1345153704","1345153713","1345153717"],"photo_ids_order":["1345153683","1345153704","1345153713","1345153717","1345153722","1345153725"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c20e11f4380082c057fe176070a458f8.jpg","text":"TemporaryFile(/tmp/multipartBody1404876034816108284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309792535,"filename":"image_18032025_01_16_33_3444.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/115a57731d01574649a1c522f9632df5.jpg","text":"TemporaryFile(/tmp/multipartBody4435598049869619436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309792535,"filename":"image_18032025_01_16_17_3431.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1fbe5b6670342175c84ea0edadc90631.jpg","text":"TemporaryFile(/tmp/multipartBody4844732168563189920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309792535,"filename":"image_18032025_01_16_13_4479.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/49d6f1e6126375e98ca1414a4fd196d0.jpg","text":"TemporaryFile(/tmp/multipartBody2891986165644550652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309792535,"filename":"image_18032025_01_16_29_4465.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/74fca94b4c5ae45d6d7b3572bab53418.jpg","text":"TemporaryFile(/tmp/multipartBody1813140249614763497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309792535,"filename":"image_18032025_01_16_25_3453.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e6d73b743a7027fefd06f02323d7d0b8.jpg","text":"TemporaryFile(/tmp/multipartBody8530993845212395143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309792535,"filename":"image_18032025_01_16_21_4468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345153713","file1":"1345153704","file0":"1345153683","file4":"1345153722","file5":"1345153725","file3":"1345153717"},"map_files_photo_id_array":[{"photo_id":"1345153725","filename":"file5"},{"photo_id":"1345153713","filename":"file2"},{"photo_id":"1345153722","filename":"file4"},{"photo_id":"1345153704","filename":"file1"},{"photo_id":"1345153683","filename":"file0"},{"photo_id":"1345153717","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345153683":["hashtag1","hashtag2"]},{"1345153722":["hashtag1","hashtag2"]},{"1345153725":["hashtag1","hashtag2"]},{"1345153704":["hashtag1","hashtag2"]},{"1345153713":["hashtag1","hashtag2"]},{"1345153717":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345153683, 1345153722, 1345153725, 1345153704, 1345153713, 1345153717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.6730740070343 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:56:32.130574
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_09_3460.jpg', 2), ('/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_05_4769.jpg', 2), ('/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_01_3469.jpg', 2), ('/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_57_4465.jpg', 2), ('/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_53_3450.jpg', 2), ('/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_49_4458.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_09_3460.jpg', '/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_05_4769.jpg', '/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_01_3469.jpg', '/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_57_4465.jpg', '/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_53_3450.jpg', '/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_49_4458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_09_3460.jpg
/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_05_4769.jpg
/home/nano/Desktop/images/18032025/01/16/image_18032025_01_16_01_3469.jpg
/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_57_4465.jpg
/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_53_3450.jpg
/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_49_4458.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345154090","1345154144","1345154033","1345153970","1345153916","1345153884"],"photo_ids_order":["1345153884","1345153916","1345153970","1345154033","1345154090","1345154144"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/60699912c271e5f07a67f54162c4b5b2.jpg","text":"TemporaryFile(/tmp/multipartBody3073427808822551948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309852675,"filename":"image_18032025_01_15_53_3450.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7fa8e0c650d21a4a3915015a2536ff7d.jpg","text":"TemporaryFile(/tmp/multipartBody8970533106365226643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309852675,"filename":"image_18032025_01_15_49_4458.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bb30374ada44a3208e178512e54b2d68.jpg","text":"TemporaryFile(/tmp/multipartBody9113072843178163345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309852675,"filename":"image_18032025_01_15_57_4465.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e97747864969da04a5a372a4cfb2001b.jpg","text":"TemporaryFile(/tmp/multipartBody2907732844159194428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309852675,"filename":"image_18032025_01_16_01_3469.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b6e743de1c66e656d594dd27ce5bd9c7.jpg","text":"TemporaryFile(/tmp/multipartBody3496543621871523165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309852675,"filename":"image_18032025_01_16_05_4769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/181922106ed83b86f8d9df45e09609b0.jpg","text":"TemporaryFile(/tmp/multipartBody9214594807756281995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309852675,"filename":"image_18032025_01_16_09_3460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345153970","file1":"1345153916","file0":"1345153884","file4":"1345154090","file5":"1345154144","file3":"1345154033"},"map_files_photo_id_array":[{"photo_id":"1345154144","filename":"file5"},{"photo_id":"1345153970","filename":"file2"},{"photo_id":"1345154090","filename":"file4"},{"photo_id":"1345153916","filename":"file1"},{"photo_id":"1345153884","filename":"file0"},{"photo_id":"1345154033","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345154090":["hashtag1","hashtag2"]},{"1345154144":["hashtag1","hashtag2"]},{"1345154033":["hashtag1","hashtag2"]},{"1345153970":["hashtag1","hashtag2"]},{"1345153916":["hashtag1","hashtag2"]},{"1345153884":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345154090, 1345154144, 1345154033, 1345153970, 1345153916, 1345153884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.01184415817261 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:57:32.282257
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_45_3441.jpg', 2), ('/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_41_4453.jpg', 2), ('/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_37_3445.jpg', 2), ('/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_34_4467.jpg', 2), ('/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_29_3476.jpg', 2), ('/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_26_4469.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_45_3441.jpg', '/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_41_4453.jpg', '/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_37_3445.jpg', '/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_34_4467.jpg', '/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_29_3476.jpg', '/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_26_4469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_45_3441.jpg
/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_41_4453.jpg
/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_37_3445.jpg
/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_34_4467.jpg
/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_29_3476.jpg
/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_26_4469.jpg
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:58:03.068750
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_45_3441.jpg', 2), ('/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_41_4453.jpg', 2), ('/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_37_3445.jpg', 2), ('/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_34_4467.jpg', 2), ('/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_29_3476.jpg', 2), ('/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_26_4469.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_45_3441.jpg', '/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_41_4453.jpg', '/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_37_3445.jpg', '/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_34_4467.jpg', '/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_29_3476.jpg', '/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_26_4469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_45_3441.jpg
/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_41_4453.jpg
/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_37_3445.jpg
/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_34_4467.jpg
/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_29_3476.jpg
/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_26_4469.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345155251","1345155194","1345155302","1345155358","1345155220","1345155414"],"photo_ids_order":["1345155194","1345155220","1345155251","1345155302","1345155358","1345155414"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/568442a17408104b426fe304a26dd922.jpg","text":"TemporaryFile(/tmp/multipartBody2120839312303442010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309943608,"filename":"image_18032025_01_15_37_3445.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/52c98f56528825fefc718a9229997907.jpg","text":"TemporaryFile(/tmp/multipartBody1404715433575994357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309943608,"filename":"image_18032025_01_15_45_3441.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b93d95e6d13610ce8b2e0ceccc7bc694.jpg","text":"TemporaryFile(/tmp/multipartBody6623610286689956455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309943608,"filename":"image_18032025_01_15_34_4467.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a28916ab4abc66284b3dc504f82a64a3.jpg","text":"TemporaryFile(/tmp/multipartBody1784967238755731817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309943608,"filename":"image_18032025_01_15_29_3476.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5d3a593d89963da2527f9ab238ec2b0e.jpg","text":"TemporaryFile(/tmp/multipartBody6438560774476235501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309943608,"filename":"image_18032025_01_15_41_4453.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5154d8ec016f506eed2fca97cb39ba92.jpg","text":"TemporaryFile(/tmp/multipartBody4405177451545445585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742309943608,"filename":"image_18032025_01_15_26_4469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345155251","file1":"1345155220","file0":"1345155194","file4":"1345155358","file5":"1345155414","file3":"1345155302"},"map_files_photo_id_array":[{"photo_id":"1345155414","filename":"file5"},{"photo_id":"1345155251","filename":"file2"},{"photo_id":"1345155358","filename":"file4"},{"photo_id":"1345155220","filename":"file1"},{"photo_id":"1345155194","filename":"file0"},{"photo_id":"1345155302","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345155251":["hashtag1","hashtag2"]},{"1345155194":["hashtag1","hashtag2"]},{"1345155302":["hashtag1","hashtag2"]},{"1345155358":["hashtag1","hashtag2"]},{"1345155220":["hashtag1","hashtag2"]},{"1345155414":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345155251, 1345155194, 1345155302, 1345155358, 1345155220, 1345155414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.648138284683228 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 15:59:02.850120
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_21_3457.jpg', 2), ('/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_18_4478.jpg', 2), ('/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_13_4456.jpg', 2), ('/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_09_3484.jpg', 2), ('/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_05_4204.jpg', 2), ('/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_01_3462.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_21_3457.jpg', '/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_18_4478.jpg', '/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_13_4456.jpg', '/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_09_3484.jpg', '/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_05_4204.jpg', '/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_01_3462.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_21_3457.jpg
/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_18_4478.jpg
/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_13_4456.jpg
/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_09_3484.jpg
/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_05_4204.jpg
/home/nano/Desktop/images/18032025/01/15/image_18032025_01_15_01_3462.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345155866","1345155932","1345155704","1345155898","1345155768","1345155825"],"photo_ids_order":["1345155704","1345155768","1345155825","1345155866","1345155898","1345155932"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cd3cb00d09f869d09914a9b16914ec5a.jpg","text":"TemporaryFile(/tmp/multipartBody5571148860502577884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310003405,"filename":"image_18032025_01_15_09_3484.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/59fd64e4f2c2bcfbec0a6c341b101515.jpg","text":"TemporaryFile(/tmp/multipartBody1534635238723926782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310003405,"filename":"image_18032025_01_15_01_3462.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/59c75427b07fde55334d4a9731aeef9b.jpg","text":"TemporaryFile(/tmp/multipartBody7859295612454956452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310003405,"filename":"image_18032025_01_15_21_3457.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5aa1409a90e634d790d1104581befcc3.jpg","text":"TemporaryFile(/tmp/multipartBody1874502078056757304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310003405,"filename":"image_18032025_01_15_05_4204.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3d173639cc7c56d11ab8b2614fdc4f51.jpg","text":"TemporaryFile(/tmp/multipartBody4742298954664603288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310003405,"filename":"image_18032025_01_15_18_4478.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7bc10b7c41d847e314c7df254b3bb336.jpg","text":"TemporaryFile(/tmp/multipartBody5594935018447525763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310003405,"filename":"image_18032025_01_15_13_4456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345155825","file1":"1345155768","file0":"1345155704","file4":"1345155898","file5":"1345155932","file3":"1345155866"},"map_files_photo_id_array":[{"photo_id":"1345155932","filename":"file5"},{"photo_id":"1345155825","filename":"file2"},{"photo_id":"1345155898","filename":"file4"},{"photo_id":"1345155768","filename":"file1"},{"photo_id":"1345155704","filename":"file0"},{"photo_id":"1345155866","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345155866":["hashtag1","hashtag2"]},{"1345155932":["hashtag1","hashtag2"]},{"1345155704":["hashtag1","hashtag2"]},{"1345155898":["hashtag1","hashtag2"]},{"1345155768":["hashtag1","hashtag2"]},{"1345155825":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345155866, 1345155932, 1345155704, 1345155898, 1345155768, 1345155825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.13769507408142 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:00:03.080633
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_58_4495.jpg', 2), ('/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_53_3447.jpg', 2), ('/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_50_4496.jpg', 2), ('/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_45_3452.jpg', 2), ('/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_42_4489.jpg', 2), ('/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_37_4463.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_58_4495.jpg', '/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_53_3447.jpg', '/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_50_4496.jpg', '/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_45_3452.jpg', '/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_42_4489.jpg', '/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_37_4463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_58_4495.jpg
/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_53_3447.jpg
/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_50_4496.jpg
/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_45_3452.jpg
/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_42_4489.jpg
/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_37_4463.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345156616","1345156241","1345156423","1345156245","1345156509","1345156323"],"photo_ids_order":["1345156241","1345156245","1345156323","1345156423","1345156509","1345156616"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a7b32e1ceb670b116d0540801ed140f9.jpg","text":"TemporaryFile(/tmp/multipartBody4203493725361905405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310063594,"filename":"image_18032025_01_14_37_4463.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d81ddd8cf912597504eaf334da0fe955.jpg","text":"TemporaryFile(/tmp/multipartBody147016330066479778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310063594,"filename":"image_18032025_01_14_58_4495.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d1e44613b59c01c487ba65a3804ca1ff.jpg","text":"TemporaryFile(/tmp/multipartBody8956819723965550817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310063594,"filename":"image_18032025_01_14_45_3452.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5d431785d45473056dc97fedc43fcb41.jpg","text":"TemporaryFile(/tmp/multipartBody4162639321157295630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310063594,"filename":"image_18032025_01_14_53_3447.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7939f591d6160348572290af90543d87.jpg","text":"TemporaryFile(/tmp/multipartBody4690902434876381951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310063594,"filename":"image_18032025_01_14_42_4489.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a0ad356dd4dc896b6dd5729d2a10cd01.jpg","text":"TemporaryFile(/tmp/multipartBody8700121757887297035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310063594,"filename":"image_18032025_01_14_50_4496.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345156323","file1":"1345156245","file0":"1345156241","file4":"1345156509","file5":"1345156616","file3":"1345156423"},"map_files_photo_id_array":[{"photo_id":"1345156616","filename":"file5"},{"photo_id":"1345156323","filename":"file2"},{"photo_id":"1345156509","filename":"file4"},{"photo_id":"1345156245","filename":"file1"},{"photo_id":"1345156241","filename":"file0"},{"photo_id":"1345156423","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345156616":["hashtag1","hashtag2"]},{"1345156241":["hashtag1","hashtag2"]},{"1345156423":["hashtag1","hashtag2"]},{"1345156245":["hashtag1","hashtag2"]},{"1345156509":["hashtag1","hashtag2"]},{"1345156323":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345156616, 1345156241, 1345156423, 1345156245, 1345156509, 1345156323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.56648921966553 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:01:03.347823
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_33_3454.jpg', 2), ('/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_29_4466.jpg', 2), ('/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_25_3455.jpg', 2), ('/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_21_4461.jpg', 2), ('/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_17_3452.jpg', 2), ('/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_13_4478.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_33_3454.jpg', '/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_29_4466.jpg', '/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_25_3455.jpg', '/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_21_4461.jpg', '/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_17_3452.jpg', '/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_13_4478.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_33_3454.jpg
/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_29_4466.jpg
/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_25_3455.jpg
/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_21_4461.jpg
/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_17_3452.jpg
/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_13_4478.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345157023","1345157026","1345157079","1345157151","1345157117","1345157030"],"photo_ids_order":["1345157023","1345157026","1345157030","1345157079","1345157117","1345157151"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0203d8c4f48263bbac6b44586a6697da.jpg","text":"TemporaryFile(/tmp/multipartBody5801156845464133476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310123871,"filename":"image_18032025_01_14_33_3454.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/59bf4a9eb40e31539cb9b0d5e7c34fe1.jpg","text":"TemporaryFile(/tmp/multipartBody7484779234440799252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310123871,"filename":"image_18032025_01_14_29_4466.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6c3104e0fa89c2cf18c2ab9229b0a03c.jpg","text":"TemporaryFile(/tmp/multipartBody5955086788416408759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310123871,"filename":"image_18032025_01_14_21_4461.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ed999563791ab2ae1e7abfafeea66506.jpg","text":"TemporaryFile(/tmp/multipartBody8614569718527210271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310123871,"filename":"image_18032025_01_14_13_4478.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/227788fb751d3cdaf98eec86d21abc39.jpg","text":"TemporaryFile(/tmp/multipartBody2659585775015047301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310123871,"filename":"image_18032025_01_14_17_3452.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/74268f8d80dc32e5708bdb3bea936204.jpg","text":"TemporaryFile(/tmp/multipartBody1591320274384499068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310123871,"filename":"image_18032025_01_14_25_3455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345157030","file1":"1345157026","file0":"1345157023","file4":"1345157117","file5":"1345157151","file3":"1345157079"},"map_files_photo_id_array":[{"photo_id":"1345157151","filename":"file5"},{"photo_id":"1345157030","filename":"file2"},{"photo_id":"1345157117","filename":"file4"},{"photo_id":"1345157026","filename":"file1"},{"photo_id":"1345157023","filename":"file0"},{"photo_id":"1345157079","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345157023":["hashtag1","hashtag2"]},{"1345157026":["hashtag1","hashtag2"]},{"1345157079":["hashtag1","hashtag2"]},{"1345157151":["hashtag1","hashtag2"]},{"1345157117":["hashtag1","hashtag2"]},{"1345157030":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345157023, 1345157026, 1345157079, 1345157151, 1345157117, 1345157030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.35917782783508 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:02:02.285424
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_09_3445.jpg', 2), ('/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_06_4744.jpg', 2), ('/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_01_3450.jpg', 2), ('/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_57_4465.jpg', 2), ('/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_53_3460.jpg', 2), ('/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_49_4483.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_09_3445.jpg', '/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_06_4744.jpg', '/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_01_3450.jpg', '/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_57_4465.jpg', '/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_53_3460.jpg', '/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_49_4483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_09_3445.jpg
/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_06_4744.jpg
/home/nano/Desktop/images/18032025/01/14/image_18032025_01_14_01_3450.jpg
/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_57_4465.jpg
/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_53_3460.jpg
/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_49_4483.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345157547","1345157619","1345157511","1345157427","1345157648","1345157590"],"photo_ids_order":["1345157427","1345157511","1345157547","1345157590","1345157619","1345157648"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7052799bdd59e58d1017b38a08e5c6f6.jpg","text":"TemporaryFile(/tmp/multipartBody541347018374297210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310182813,"filename":"image_18032025_01_14_01_3450.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/70039504a5a14addeecd9763569d9cd2.jpg","text":"TemporaryFile(/tmp/multipartBody3942391777387881807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310182813,"filename":"image_18032025_01_13_53_3460.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ab554d6b4d997b972284a91fac5cbfe4.jpg","text":"TemporaryFile(/tmp/multipartBody2805560403496218761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310182813,"filename":"image_18032025_01_14_06_4744.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/12d18fbe48a2cbad813075f3e5d0fe4d.jpg","text":"TemporaryFile(/tmp/multipartBody8791480538325661593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310182813,"filename":"image_18032025_01_14_09_3445.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b28f3313a2aa1fdbae3ceef74275b1f9.jpg","text":"TemporaryFile(/tmp/multipartBody4255543908377993620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310182813,"filename":"image_18032025_01_13_49_4483.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6e69d18c41130fe69092c5993e11025d.jpg","text":"TemporaryFile(/tmp/multipartBody3278860386289934414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310182813,"filename":"image_18032025_01_13_57_4465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345157547","file1":"1345157511","file0":"1345157427","file4":"1345157619","file5":"1345157648","file3":"1345157590"},"map_files_photo_id_array":[{"photo_id":"1345157648","filename":"file5"},{"photo_id":"1345157547","filename":"file2"},{"photo_id":"1345157619","filename":"file4"},{"photo_id":"1345157511","filename":"file1"},{"photo_id":"1345157427","filename":"file0"},{"photo_id":"1345157590","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345157547":["hashtag1","hashtag2"]},{"1345157619":["hashtag1","hashtag2"]},{"1345157511":["hashtag1","hashtag2"]},{"1345157427":["hashtag1","hashtag2"]},{"1345157648":["hashtag1","hashtag2"]},{"1345157590":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345157547, 1345157619, 1345157511, 1345157427, 1345157648, 1345157590)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.73051595687866 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:03:02.577972
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_45_3485.jpg', 2), ('/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_41_4473.jpg', 2), ('/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_37_3455.jpg', 2), ('/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_34_4470.jpg', 2), ('/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_29_3452.jpg', 2), ('/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_26_4466.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_45_3485.jpg', '/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_41_4473.jpg', '/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_37_3455.jpg', '/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_34_4470.jpg', '/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_29_3452.jpg', '/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_26_4466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_45_3485.jpg
/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_41_4473.jpg
/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_37_3455.jpg
/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_34_4470.jpg
/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_29_3452.jpg
/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_26_4466.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345157992","1345157947","1345157941","1345158018","1345157925","1345157966"],"photo_ids_order":["1345157925","1345157941","1345157947","1345157966","1345157992","1345158018"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b88b8172b92c1de5af4826090cfefbda.jpg","text":"TemporaryFile(/tmp/multipartBody3191258021277762740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310243254,"filename":"image_18032025_01_13_29_3452.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6c4d8fde69392e2289a024218bfa5870.jpg","text":"TemporaryFile(/tmp/multipartBody6664018565301926496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310243254,"filename":"image_18032025_01_13_37_3455.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d0885efd7cf99dca0cd3a91452bc2df1.jpg","text":"TemporaryFile(/tmp/multipartBody9055740099559656562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310243254,"filename":"image_18032025_01_13_41_4473.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0ec17ab0b5f49f467995684b372a76ed.jpg","text":"TemporaryFile(/tmp/multipartBody1341300833808680599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310243254,"filename":"image_18032025_01_13_26_4466.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d32cf301dd31719bcecf846e4023ebe3.jpg","text":"TemporaryFile(/tmp/multipartBody1647531478437567709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310243254,"filename":"image_18032025_01_13_45_3485.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c3a2641e371e997172014a958655df1d.jpg","text":"TemporaryFile(/tmp/multipartBody9007955758513514036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310243254,"filename":"image_18032025_01_13_34_4470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345157947","file1":"1345157941","file0":"1345157925","file4":"1345157992","file5":"1345158018","file3":"1345157966"},"map_files_photo_id_array":[{"photo_id":"1345158018","filename":"file5"},{"photo_id":"1345157947","filename":"file2"},{"photo_id":"1345157992","filename":"file4"},{"photo_id":"1345157941","filename":"file1"},{"photo_id":"1345157925","filename":"file0"},{"photo_id":"1345157966","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345157992":["hashtag1","hashtag2"]},{"1345157947":["hashtag1","hashtag2"]},{"1345157941":["hashtag1","hashtag2"]},{"1345158018":["hashtag1","hashtag2"]},{"1345157925":["hashtag1","hashtag2"]},{"1345157966":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345157992, 1345157947, 1345157941, 1345158018, 1345157925, 1345157966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.44012403488159 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:04:03.004439
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_21_3453.jpg', 2), ('/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_18_4464.jpg', 2), ('/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_13_4462.jpg', 2), ('/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_09_3467.jpg', 2), ('/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_05_4052.jpg', 2), ('/home/nano/Desktop/images/18032025/01/12/image_18032025_01_13_01_4469.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_21_3453.jpg', '/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_18_4464.jpg', '/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_13_4462.jpg', '/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_09_3467.jpg', '/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_05_4052.jpg', '/home/nano/Desktop/images/18032025/01/12/image_18032025_01_13_01_4469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_21_3453.jpg
/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_18_4464.jpg
/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_13_4462.jpg
/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_09_3467.jpg
/home/nano/Desktop/images/18032025/01/13/image_18032025_01_13_05_4052.jpg
/home/nano/Desktop/images/18032025/01/12/image_18032025_01_13_01_4469.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345158393","1345158324","1345158365","1345158254","1345158302","1345158277"],"photo_ids_order":["1345158254","1345158277","1345158302","1345158324","1345158365","1345158393"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1fa636b5bf21d5c80b301c78c5691a0a.jpg","text":"TemporaryFile(/tmp/multipartBody616340461864649390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310303625,"filename":"image_18032025_01_13_01_4469.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7ad6da6ba6141a1c92c8dde1b78e4b5d.jpg","text":"TemporaryFile(/tmp/multipartBody2471653798931605381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310303625,"filename":"image_18032025_01_13_09_3467.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6e92c7d8984373d91b1852dfbafa460c.jpg","text":"TemporaryFile(/tmp/multipartBody2032337821953971338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310303625,"filename":"image_18032025_01_13_05_4052.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/be0d69ca95b11f6cc0b25fca7c10fecd.jpg","text":"TemporaryFile(/tmp/multipartBody1651504572418751844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310303625,"filename":"image_18032025_01_13_21_3453.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/33bf4057f1b25122c3d6c4d64d6505b5.jpg","text":"TemporaryFile(/tmp/multipartBody3676589912369681452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310303625,"filename":"image_18032025_01_13_13_4462.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3c5bc0b9788cd995ab085b60689c16ab.jpg","text":"TemporaryFile(/tmp/multipartBody3721127853933860538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310303625,"filename":"image_18032025_01_13_18_4464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345158302","file1":"1345158277","file0":"1345158254","file4":"1345158365","file5":"1345158393","file3":"1345158324"},"map_files_photo_id_array":[{"photo_id":"1345158393","filename":"file5"},{"photo_id":"1345158302","filename":"file2"},{"photo_id":"1345158365","filename":"file4"},{"photo_id":"1345158277","filename":"file1"},{"photo_id":"1345158254","filename":"file0"},{"photo_id":"1345158324","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345158393":["hashtag1","hashtag2"]},{"1345158324":["hashtag1","hashtag2"]},{"1345158365":["hashtag1","hashtag2"]},{"1345158254":["hashtag1","hashtag2"]},{"1345158302":["hashtag1","hashtag2"]},{"1345158277":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345158393, 1345158324, 1345158365, 1345158254, 1345158302, 1345158277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.687249660491943 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:05:02.961823
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_57_3451.jpg', 2), ('/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_53_4488.jpg', 2), ('/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_49_3454.jpg', 2), ('/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_45_4478.jpg', 2), ('/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_41_3449.jpg', 2), ('/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_37_4465.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_57_3451.jpg', '/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_53_4488.jpg', '/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_49_3454.jpg', '/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_45_4478.jpg', '/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_41_3449.jpg', '/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_37_4465.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_57_3451.jpg
/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_53_4488.jpg
/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_49_3454.jpg
/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_45_4478.jpg
/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_41_3449.jpg
/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_37_4465.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345158573","1345158581","1345158584","1345158577","1345158586","1345158589"],"photo_ids_order":["1345158573","1345158577","1345158581","1345158584","1345158586","1345158589"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d0ad77ca9a126c55b1098df1bcb7ed0f.jpg","text":"TemporaryFile(/tmp/multipartBody7576557215794041543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310363573,"filename":"image_18032025_01_12_57_3451.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8f3bb93e6bba6f604d05edc47534a71e.jpg","text":"TemporaryFile(/tmp/multipartBody1902166800562661921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310363573,"filename":"image_18032025_01_12_49_3454.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2593d032d0d784c4e6484cabb6266340.jpg","text":"TemporaryFile(/tmp/multipartBody312351427871710609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310363573,"filename":"image_18032025_01_12_45_4478.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c623e009095690868f52da994362b40d.jpg","text":"TemporaryFile(/tmp/multipartBody7790193885230844973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310363573,"filename":"image_18032025_01_12_53_4488.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/629a95111bf25568c8e3631e3f3c92f4.jpg","text":"TemporaryFile(/tmp/multipartBody5133178052594951559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310363573,"filename":"image_18032025_01_12_41_3449.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/afea6cfb6b59b28627cc8e4431b1177f.jpg","text":"TemporaryFile(/tmp/multipartBody492298485029761010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310363573,"filename":"image_18032025_01_12_37_4465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345158581","file1":"1345158577","file0":"1345158573","file4":"1345158586","file5":"1345158589","file3":"1345158584"},"map_files_photo_id_array":[{"photo_id":"1345158589","filename":"file5"},{"photo_id":"1345158581","filename":"file2"},{"photo_id":"1345158586","filename":"file4"},{"photo_id":"1345158577","filename":"file1"},{"photo_id":"1345158573","filename":"file0"},{"photo_id":"1345158584","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345158573":["hashtag1","hashtag2"]},{"1345158581":["hashtag1","hashtag2"]},{"1345158584":["hashtag1","hashtag2"]},{"1345158577":["hashtag1","hashtag2"]},{"1345158586":["hashtag1","hashtag2"]},{"1345158589":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345158573, 1345158581, 1345158584, 1345158577, 1345158586, 1345158589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.45617341995239 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:06:03.154163
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_33_3458.jpg', 2), ('/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_29_4465.jpg', 2), ('/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_25_3458.jpg', 2), ('/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_22_4459.jpg', 2), ('/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_17_3454.jpg', 2), ('/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_14_4477.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_33_3458.jpg', '/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_29_4465.jpg', '/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_25_3458.jpg', '/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_22_4459.jpg', '/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_17_3454.jpg', '/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_14_4477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_33_3458.jpg
/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_29_4465.jpg
/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_25_3458.jpg
/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_22_4459.jpg
/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_17_3454.jpg
/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_14_4477.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345158686","1345158761","1345158737","1345158664","1345158712","1345158640"],"photo_ids_order":["1345158640","1345158664","1345158686","1345158712","1345158737","1345158761"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/70af00b7ad23caaf831d4056f8fd4642.jpg","text":"TemporaryFile(/tmp/multipartBody1939621455985406162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310423778,"filename":"image_18032025_01_12_25_3458.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3f9596f0e6e95c4debf9dc43a593d212.jpg","text":"TemporaryFile(/tmp/multipartBody8548157776247505363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310423778,"filename":"image_18032025_01_12_14_4477.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8296195c6b2fe2153b807c8b6ac61a4f.jpg","text":"TemporaryFile(/tmp/multipartBody7036276241077678069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310423778,"filename":"image_18032025_01_12_17_3454.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/15e84f97dfece51b64f51d9e59195f4a.jpg","text":"TemporaryFile(/tmp/multipartBody6892663873927417458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310423778,"filename":"image_18032025_01_12_29_4465.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/eb68d72dff9a7f9dd5ddcd3f121e99b4.jpg","text":"TemporaryFile(/tmp/multipartBody251764632732094169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310423778,"filename":"image_18032025_01_12_22_4459.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f06dcf35e2b5c8cc72e936e822016d3a.jpg","text":"TemporaryFile(/tmp/multipartBody3152707034126608869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310423778,"filename":"image_18032025_01_12_33_3458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345158686","file1":"1345158664","file0":"1345158640","file4":"1345158737","file5":"1345158761","file3":"1345158712"},"map_files_photo_id_array":[{"photo_id":"1345158761","filename":"file5"},{"photo_id":"1345158686","filename":"file2"},{"photo_id":"1345158737","filename":"file4"},{"photo_id":"1345158664","filename":"file1"},{"photo_id":"1345158640","filename":"file0"},{"photo_id":"1345158712","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345158686":["hashtag1","hashtag2"]},{"1345158761":["hashtag1","hashtag2"]},{"1345158737":["hashtag1","hashtag2"]},{"1345158664":["hashtag1","hashtag2"]},{"1345158712":["hashtag1","hashtag2"]},{"1345158640":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345158686, 1345158761, 1345158737, 1345158664, 1345158712, 1345158640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.346991300582886 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:07:02.988309
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_09_4478.jpg', 2), ('/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_05_3951.jpg', 2), ('/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_01_3439.jpg', 2), ('/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_57_4472.jpg', 2), ('/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_53_3481.jpg', 2), ('/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_49_4492.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_09_4478.jpg', '/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_05_3951.jpg', '/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_01_3439.jpg', '/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_57_4472.jpg', '/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_53_3481.jpg', '/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_49_4492.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_09_4478.jpg
/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_05_3951.jpg
/home/nano/Desktop/images/18032025/01/12/image_18032025_01_12_01_3439.jpg
/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_57_4472.jpg
/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_53_3481.jpg
/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_49_4492.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345158993","1345158966","1345158954","1345158947","1345158973","1345158970"],"photo_ids_order":["1345158947","1345158954","1345158966","1345158970","1345158973","1345158993"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2090f8ddf05613e5ff95391a0d3c4453.jpg","text":"TemporaryFile(/tmp/multipartBody2168714530547595023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310483587,"filename":"image_18032025_01_11_49_4492.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fbcb6614c1cdf44d063dd07aa5ffdb49.jpg","text":"TemporaryFile(/tmp/multipartBody3975914755260137981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310483587,"filename":"image_18032025_01_12_01_3439.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/397d5a7cc38843296fa04cdf9c99dfbc.jpg","text":"TemporaryFile(/tmp/multipartBody2241004325645081354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310483587,"filename":"image_18032025_01_12_05_3951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/13e5d317a1b63fcbf781203a8fa64f96.jpg","text":"TemporaryFile(/tmp/multipartBody7233229549803235719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310483587,"filename":"image_18032025_01_12_09_4478.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9d08b64515a34ef0fa6b301e8043df0e.jpg","text":"TemporaryFile(/tmp/multipartBody8577507422553977902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310483587,"filename":"image_18032025_01_11_53_3481.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/63b394d4f82f700a235048c17ba7a1f5.jpg","text":"TemporaryFile(/tmp/multipartBody1599374799486781371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310483587,"filename":"image_18032025_01_11_57_4472.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345158966","file1":"1345158954","file0":"1345158947","file4":"1345158973","file5":"1345158993","file3":"1345158970"},"map_files_photo_id_array":[{"photo_id":"1345158993","filename":"file5"},{"photo_id":"1345158966","filename":"file2"},{"photo_id":"1345158973","filename":"file4"},{"photo_id":"1345158954","filename":"file1"},{"photo_id":"1345158947","filename":"file0"},{"photo_id":"1345158970","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345158993":["hashtag1","hashtag2"]},{"1345158966":["hashtag1","hashtag2"]},{"1345158954":["hashtag1","hashtag2"]},{"1345158947":["hashtag1","hashtag2"]},{"1345158973":["hashtag1","hashtag2"]},{"1345158970":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345158993, 1345158966, 1345158954, 1345158947, 1345158973, 1345158970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.3491473197937 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:08:02.599009
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_45_3441.jpg', 2), ('/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_41_4464.jpg', 2), ('/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_37_3451.jpg', 2), ('/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_34_4463.jpg', 2), ('/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_29_3441.jpg', 2), ('/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_26_4459.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_45_3441.jpg', '/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_41_4464.jpg', '/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_37_3451.jpg', '/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_34_4463.jpg', '/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_29_3441.jpg', '/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_26_4459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_45_3441.jpg
/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_41_4464.jpg
/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_37_3451.jpg
/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_34_4463.jpg
/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_29_3441.jpg
/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_26_4459.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345159134","1345159128","1345159131","1345159113","1345159145","1345159105"],"photo_ids_order":["1345159105","1345159113","1345159128","1345159131","1345159134","1345159145"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6c9ce1967c853c7a10fb36c9b41268b0.jpg","text":"TemporaryFile(/tmp/multipartBody1991060098029159691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310543111,"filename":"image_18032025_01_11_29_3441.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/34d6fb3bdaaff042632b895e2febdda7.jpg","text":"TemporaryFile(/tmp/multipartBody7896498416870545322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310543111,"filename":"image_18032025_01_11_37_3451.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/50113958b88eacfd0466be67123a8087.jpg","text":"TemporaryFile(/tmp/multipartBody2036268932192068830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310543111,"filename":"image_18032025_01_11_34_4463.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dd905c80fb3f64e7241b679a6cb263df.jpg","text":"TemporaryFile(/tmp/multipartBody3995595473555742548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310543111,"filename":"image_18032025_01_11_41_4464.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/29552f874c6e0cbad74681a7937272b8.jpg","text":"TemporaryFile(/tmp/multipartBody94490374632229633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310543111,"filename":"image_18032025_01_11_26_4459.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/51be7b31d0159b22418e90203e9c98b9.jpg","text":"TemporaryFile(/tmp/multipartBody776947000148394913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310543111,"filename":"image_18032025_01_11_45_3441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345159128","file1":"1345159113","file0":"1345159105","file4":"1345159134","file5":"1345159145","file3":"1345159131"},"map_files_photo_id_array":[{"photo_id":"1345159145","filename":"file5"},{"photo_id":"1345159128","filename":"file2"},{"photo_id":"1345159134","filename":"file4"},{"photo_id":"1345159113","filename":"file1"},{"photo_id":"1345159105","filename":"file0"},{"photo_id":"1345159131","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345159134":["hashtag1","hashtag2"]},{"1345159128":["hashtag1","hashtag2"]},{"1345159131":["hashtag1","hashtag2"]},{"1345159113":["hashtag1","hashtag2"]},{"1345159145":["hashtag1","hashtag2"]},{"1345159105":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345159134, 1345159128, 1345159131, 1345159113, 1345159145, 1345159105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.09865164756775 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:09:02.994615
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_21_3455.jpg', 2), ('/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_18_4468.jpg', 2), ('/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_13_4480.jpg', 2), ('/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_09_3459.jpg', 2), ('/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_05_3583.jpg', 2), ('/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_02_4471.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_21_3455.jpg', '/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_18_4468.jpg', '/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_13_4480.jpg', '/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_09_3459.jpg', '/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_05_3583.jpg', '/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_02_4471.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_21_3455.jpg
/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_18_4468.jpg
/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_13_4480.jpg
/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_09_3459.jpg
/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_05_3583.jpg
/home/nano/Desktop/images/18032025/01/11/image_18032025_01_11_02_4471.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345159383","1345159449","1345159335","1345159424","1345159363","1345159408"],"photo_ids_order":["1345159335","1345159363","1345159383","1345159408","1345159424","1345159449"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9b208e8630a5db40eeab43b6fcb41427.jpg","text":"TemporaryFile(/tmp/multipartBody5491402856902374790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310603519,"filename":"image_18032025_01_11_13_4480.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9a5170f8b46dfea8c1d1c062f71d6c88.jpg","text":"TemporaryFile(/tmp/multipartBody353376536530885008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310603519,"filename":"image_18032025_01_11_02_4471.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b21ca6b1798b945d7e9a9ac30a55837f.jpg","text":"TemporaryFile(/tmp/multipartBody8448200019125380105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310603519,"filename":"image_18032025_01_11_21_3455.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/03371efa90d36e79826c25272f61714c.jpg","text":"TemporaryFile(/tmp/multipartBody7609557279952853073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310603519,"filename":"image_18032025_01_11_05_3583.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3f09fd90bbd33bef630dddf03d9e3066.jpg","text":"TemporaryFile(/tmp/multipartBody3138823702386812890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310603519,"filename":"image_18032025_01_11_18_4468.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3873f4bb13e3dde494a2f9a8daa8196f.jpg","text":"TemporaryFile(/tmp/multipartBody8168396118212541843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310603519,"filename":"image_18032025_01_11_09_3459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345159383","file1":"1345159363","file0":"1345159335","file4":"1345159424","file5":"1345159449","file3":"1345159408"},"map_files_photo_id_array":[{"photo_id":"1345159449","filename":"file5"},{"photo_id":"1345159383","filename":"file2"},{"photo_id":"1345159424","filename":"file4"},{"photo_id":"1345159363","filename":"file1"},{"photo_id":"1345159335","filename":"file0"},{"photo_id":"1345159408","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345159383":["hashtag1","hashtag2"]},{"1345159449":["hashtag1","hashtag2"]},{"1345159335":["hashtag1","hashtag2"]},{"1345159424":["hashtag1","hashtag2"]},{"1345159363":["hashtag1","hashtag2"]},{"1345159408":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345159383, 1345159449, 1345159335, 1345159424, 1345159363, 1345159408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.903046369552612 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:10:02.768835
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_57_4497.jpg', 2), ('/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_53_3458.jpg', 2), ('/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_49_4468.jpg', 2), ('/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_45_3446.jpg', 2), ('/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_41_4456.jpg', 2), ('/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_37_3458.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_57_4497.jpg', '/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_53_3458.jpg', '/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_49_4468.jpg', '/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_45_3446.jpg', '/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_41_4456.jpg', '/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_37_3458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_57_4497.jpg
/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_53_3458.jpg
/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_49_4468.jpg
/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_45_3446.jpg
/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_41_4456.jpg
/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_37_3458.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.46736598014831543 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:10:32.243659
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_57_4497.jpg', 2), ('/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_53_3458.jpg', 2), ('/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_49_4468.jpg', 2), ('/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_45_3446.jpg', 2), ('/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_41_4456.jpg', 2), ('/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_37_3458.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_57_4497.jpg', '/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_53_3458.jpg', '/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_49_4468.jpg', '/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_45_3446.jpg', '/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_41_4456.jpg', '/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_37_3458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_57_4497.jpg
/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_53_3458.jpg
/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_49_4468.jpg
/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_45_3446.jpg
/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_41_4456.jpg
/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_37_3458.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345159685","1345159664","1345159700","1345159696","1345159705","1345159692"],"photo_ids_order":["1345159664","1345159685","1345159692","1345159696","1345159700","1345159705"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f8d99aa63a77102a282d4f17c9a040cd.jpg","text":"TemporaryFile(/tmp/multipartBody2736631693495237395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310692787,"filename":"image_18032025_01_10_53_3458.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e356572c0bb05ec543375d8f61ecdc08.jpg","text":"TemporaryFile(/tmp/multipartBody8236618265816349287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310692787,"filename":"image_18032025_01_10_57_4497.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8b648170c3c9eb0046a10bc207a1f24f.jpg","text":"TemporaryFile(/tmp/multipartBody5013525812988541301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310692787,"filename":"image_18032025_01_10_41_4456.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3b2d9812e368592cc5865ef797c3a996.jpg","text":"TemporaryFile(/tmp/multipartBody5375502452124203287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310692787,"filename":"image_18032025_01_10_45_3446.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f0cebfdc3ab7697689b38e7682400d17.jpg","text":"TemporaryFile(/tmp/multipartBody8018001279555629115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310692787,"filename":"image_18032025_01_10_37_3458.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/03040403be86d27567f2ca291f1bc458.jpg","text":"TemporaryFile(/tmp/multipartBody780143045089373905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310692787,"filename":"image_18032025_01_10_49_4468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345159692","file1":"1345159685","file0":"1345159664","file4":"1345159700","file5":"1345159705","file3":"1345159696"},"map_files_photo_id_array":[{"photo_id":"1345159705","filename":"file5"},{"photo_id":"1345159692","filename":"file2"},{"photo_id":"1345159700","filename":"file4"},{"photo_id":"1345159685","filename":"file1"},{"photo_id":"1345159664","filename":"file0"},{"photo_id":"1345159696","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345159685":["hashtag1","hashtag2"]},{"1345159664":["hashtag1","hashtag2"]},{"1345159700":["hashtag1","hashtag2"]},{"1345159696":["hashtag1","hashtag2"]},{"1345159705":["hashtag1","hashtag2"]},{"1345159692":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345159685, 1345159664, 1345159700, 1345159696, 1345159705, 1345159692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.80891275405884 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:11:32.423414
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_33_4457.jpg', 2), ('/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_29_3448.jpg', 2), ('/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_26_4464.jpg', 2), ('/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_21_3458.jpg', 2), ('/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_18_4468.jpg', 2), ('/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_13_3449.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_33_4457.jpg', '/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_29_3448.jpg', '/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_26_4464.jpg', '/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_21_3458.jpg', '/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_18_4468.jpg', '/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_13_3449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_33_4457.jpg
/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_29_3448.jpg
/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_26_4464.jpg
/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_21_3458.jpg
/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_18_4468.jpg
/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_13_3449.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345159800","1345159793","1345159808","1345159786","1345159780","1345159804"],"photo_ids_order":["1345159780","1345159786","1345159793","1345159800","1345159804","1345159808"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/976762f9fed86d5bf479a35138915fff.jpg","text":"TemporaryFile(/tmp/multipartBody7222764741809346476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310752933,"filename":"image_18032025_01_10_21_3458.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/df84ea346253968223978a905d6ad4e3.jpg","text":"TemporaryFile(/tmp/multipartBody6092354558765974993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310752933,"filename":"image_18032025_01_10_26_4464.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a9f966ea217c5bb108c2fd7a12965e6b.jpg","text":"TemporaryFile(/tmp/multipartBody2890092395099231087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310752933,"filename":"image_18032025_01_10_13_3449.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/820bd77bea68fd1d99b181cf52e647a3.jpg","text":"TemporaryFile(/tmp/multipartBody5334030351946839291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310752933,"filename":"image_18032025_01_10_29_3448.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/001cbdece8e08fbafb9cb1760ae7428e.jpg","text":"TemporaryFile(/tmp/multipartBody5606595938628215064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310752933,"filename":"image_18032025_01_10_33_4457.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/689ba69fd88eb013c33ac48c32d6e1a3.jpg","text":"TemporaryFile(/tmp/multipartBody3765880593564831176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310752933,"filename":"image_18032025_01_10_18_4468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345159793","file1":"1345159786","file0":"1345159780","file4":"1345159804","file5":"1345159808","file3":"1345159800"},"map_files_photo_id_array":[{"photo_id":"1345159808","filename":"file5"},{"photo_id":"1345159793","filename":"file2"},{"photo_id":"1345159804","filename":"file4"},{"photo_id":"1345159786","filename":"file1"},{"photo_id":"1345159780","filename":"file0"},{"photo_id":"1345159800","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345159800":["hashtag1","hashtag2"]},{"1345159793":["hashtag1","hashtag2"]},{"1345159808":["hashtag1","hashtag2"]},{"1345159786":["hashtag1","hashtag2"]},{"1345159780":["hashtag1","hashtag2"]},{"1345159804":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345159800, 1345159793, 1345159808, 1345159786, 1345159780, 1345159804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.02715563774109 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:12:32.604430
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_10_4463.jpg', 2), ('/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_05_4018.jpg', 2), ('/home/nano/Desktop/images/18032025/01/09/image_18032025_01_10_01_4456.jpg', 2), ('/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_57_3457.jpg', 2), ('/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_53_4474.jpg', 2), ('/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_49_3476.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_10_4463.jpg', '/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_05_4018.jpg', '/home/nano/Desktop/images/18032025/01/09/image_18032025_01_10_01_4456.jpg', '/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_57_3457.jpg', '/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_53_4474.jpg', '/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_49_3476.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_10_4463.jpg
/home/nano/Desktop/images/18032025/01/10/image_18032025_01_10_05_4018.jpg
/home/nano/Desktop/images/18032025/01/09/image_18032025_01_10_01_4456.jpg
/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_57_3457.jpg
/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_53_4474.jpg
/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_49_3476.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345159869","1345159854","1345159877","1345159844","1345159873","1345159864"],"photo_ids_order":["1345159844","1345159854","1345159864","1345159869","1345159873","1345159877"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b848b03e9ee1993f204c0382ad9d9374.jpg","text":"TemporaryFile(/tmp/multipartBody863167613667813544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310813171,"filename":"image_18032025_01_09_57_3457.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/33143d039530c985c737a5b747242ed7.jpg","text":"TemporaryFile(/tmp/multipartBody8763734803699347926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310813171,"filename":"image_18032025_01_10_05_4018.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/44e7dc4b02532f5c8360bb89c482e267.jpg","text":"TemporaryFile(/tmp/multipartBody265355627684350171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310813171,"filename":"image_18032025_01_09_49_3476.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/00688353f1d1014ae27e5587a9858e7c.jpg","text":"TemporaryFile(/tmp/multipartBody6404054755333625523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310813171,"filename":"image_18032025_01_10_10_4463.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5097f5864d60c1854bc0e8d781a6515f.jpg","text":"TemporaryFile(/tmp/multipartBody6712616286094162857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310813171,"filename":"image_18032025_01_09_53_4474.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a0a85c9ed81ed0eb1ae16e63fc7d27d9.jpg","text":"TemporaryFile(/tmp/multipartBody1544827561755953876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310813171,"filename":"image_18032025_01_10_01_4456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345159864","file1":"1345159854","file0":"1345159844","file4":"1345159873","file5":"1345159877","file3":"1345159869"},"map_files_photo_id_array":[{"photo_id":"1345159877","filename":"file5"},{"photo_id":"1345159864","filename":"file2"},{"photo_id":"1345159873","filename":"file4"},{"photo_id":"1345159854","filename":"file1"},{"photo_id":"1345159844","filename":"file0"},{"photo_id":"1345159869","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345159869":["hashtag1","hashtag2"]},{"1345159854":["hashtag1","hashtag2"]},{"1345159877":["hashtag1","hashtag2"]},{"1345159844":["hashtag1","hashtag2"]},{"1345159873":["hashtag1","hashtag2"]},{"1345159864":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345159869, 1345159854, 1345159877, 1345159844, 1345159873, 1345159864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.62413239479065 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:13:32.799012
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_45_4462.jpg', 2), ('/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_41_3447.jpg', 2), ('/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_37_4459.jpg', 2), ('/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_33_3488.jpg', 2), ('/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_29_4461.jpg', 2), ('/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_25_3475.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_45_4462.jpg', '/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_41_3447.jpg', '/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_37_4459.jpg', '/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_33_3488.jpg', '/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_29_4461.jpg', '/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_25_3475.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_45_4462.jpg
/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_41_3447.jpg
/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_37_4459.jpg
/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_33_3488.jpg
/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_29_4461.jpg
/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_25_3475.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345159965","1345159950","1345159955","1345159940","1345159960","1345159945"],"photo_ids_order":["1345159940","1345159945","1345159950","1345159955","1345159960","1345159965"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7c020c8e2f3004804645d1bd36f2e15c.jpg","text":"TemporaryFile(/tmp/multipartBody3380383039659482406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310873358,"filename":"image_18032025_01_09_25_3475.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d1f1cfb23dbd6286d663ae57fd8b6c93.jpg","text":"TemporaryFile(/tmp/multipartBody2834192605944962424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310873358,"filename":"image_18032025_01_09_37_4459.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b8063e4cc20d4cf6b2985fe1c0862b4e.jpg","text":"TemporaryFile(/tmp/multipartBody8470214796079468995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310873358,"filename":"image_18032025_01_09_33_3488.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/63232420361c99fe938e146042ce7f7b.jpg","text":"TemporaryFile(/tmp/multipartBody7574543438935733935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310873358,"filename":"image_18032025_01_09_45_4462.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b748f8a5cf5711b2c155521e3e8af0e3.jpg","text":"TemporaryFile(/tmp/multipartBody44914937299352156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310873358,"filename":"image_18032025_01_09_29_4461.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fa3b29b3e22359672503f85c6bc6d964.jpg","text":"TemporaryFile(/tmp/multipartBody651434330492953136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310873358,"filename":"image_18032025_01_09_41_3447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345159950","file1":"1345159945","file0":"1345159940","file4":"1345159960","file5":"1345159965","file3":"1345159955"},"map_files_photo_id_array":[{"photo_id":"1345159965","filename":"file5"},{"photo_id":"1345159950","filename":"file2"},{"photo_id":"1345159960","filename":"file4"},{"photo_id":"1345159945","filename":"file1"},{"photo_id":"1345159940","filename":"file0"},{"photo_id":"1345159955","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345159965":["hashtag1","hashtag2"]},{"1345159950":["hashtag1","hashtag2"]},{"1345159955":["hashtag1","hashtag2"]},{"1345159940":["hashtag1","hashtag2"]},{"1345159960":["hashtag1","hashtag2"]},{"1345159945":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345159965, 1345159950, 1345159955, 1345159940, 1345159960, 1345159945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.74444937705994 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:14:31.934001
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_22_4482.jpg', 2), ('/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_17_3453.jpg', 2), ('/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_14_4468.jpg', 2), ('/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_09_3473.jpg', 2), ('/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_06_4872.jpg', 2), ('/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_01_3446.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_22_4482.jpg', '/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_17_3453.jpg', '/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_14_4468.jpg', '/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_09_3473.jpg', '/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_06_4872.jpg', '/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_01_3446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_22_4482.jpg
/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_17_3453.jpg
/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_14_4468.jpg
/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_09_3473.jpg
/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_06_4872.jpg
/home/nano/Desktop/images/18032025/01/09/image_18032025_01_09_01_3446.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345160011","1345160052","1345160040","1345160025","1345160015","1345160020"],"photo_ids_order":["1345160011","1345160015","1345160020","1345160025","1345160040","1345160052"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dc9faa7fefdd09ef683ecc972dee45a7.jpg","text":"TemporaryFile(/tmp/multipartBody5670286723785864831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310932495,"filename":"image_18032025_01_09_22_4482.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/262ed3f1591cad7a5a19d5fa398eb0c5.jpg","text":"TemporaryFile(/tmp/multipartBody7525425308175303085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310932495,"filename":"image_18032025_01_09_01_3446.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6a17ed8275384b201de46136cd9594c4.jpg","text":"TemporaryFile(/tmp/multipartBody2157455123124815242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310932495,"filename":"image_18032025_01_09_06_4872.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/22dd7e32a08eadfa15c0669947d8b7dd.jpg","text":"TemporaryFile(/tmp/multipartBody5863726358429394893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310932495,"filename":"image_18032025_01_09_09_3473.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/08e968d8a128bdd238ac1508310bf34c.jpg","text":"TemporaryFile(/tmp/multipartBody1434296559655707115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310932495,"filename":"image_18032025_01_09_17_3453.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e6d00d1e2de3d934c89ec0c176d993cc.jpg","text":"TemporaryFile(/tmp/multipartBody6768541441410885975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310932495,"filename":"image_18032025_01_09_14_4468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345160020","file1":"1345160015","file0":"1345160011","file4":"1345160040","file5":"1345160052","file3":"1345160025"},"map_files_photo_id_array":[{"photo_id":"1345160052","filename":"file5"},{"photo_id":"1345160020","filename":"file2"},{"photo_id":"1345160040","filename":"file4"},{"photo_id":"1345160015","filename":"file1"},{"photo_id":"1345160011","filename":"file0"},{"photo_id":"1345160025","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345160011":["hashtag1","hashtag2"]},{"1345160052":["hashtag1","hashtag2"]},{"1345160040":["hashtag1","hashtag2"]},{"1345160025":["hashtag1","hashtag2"]},{"1345160015":["hashtag1","hashtag2"]},{"1345160020":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345160011, 1345160052, 1345160040, 1345160025, 1345160015, 1345160020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.41382622718811 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:15:32.103639
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_57_4466.jpg', 2), ('/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_53_3452.jpg', 2), ('/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_49_4464.jpg', 2), ('/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_45_3448.jpg', 2), ('/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_42_4459.jpg', 2), ('/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_37_3482.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_57_4466.jpg', '/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_53_3452.jpg', '/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_49_4464.jpg', '/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_45_3448.jpg', '/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_42_4459.jpg', '/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_37_3482.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_57_4466.jpg
/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_53_3452.jpg
/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_49_4464.jpg
/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_45_3448.jpg
/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_42_4459.jpg
/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_37_3482.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345160131","1345160097","1345160109","1345160093","1345160123","1345160114"],"photo_ids_order":["1345160093","1345160097","1345160109","1345160114","1345160123","1345160131"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9b6acc8750cd9041148ebb81cce8c5f2.jpg","text":"TemporaryFile(/tmp/multipartBody8919869699458216925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310992624,"filename":"image_18032025_01_08_37_3482.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/144b6a0032347dc20d901920940154c9.jpg","text":"TemporaryFile(/tmp/multipartBody5991132622396057861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310992624,"filename":"image_18032025_01_08_53_3452.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/812bc25d54a33f2a5f0b01faaa620e3b.jpg","text":"TemporaryFile(/tmp/multipartBody4726821048915276256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310992624,"filename":"image_18032025_01_08_49_4464.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bd068e198a6bd5066e0f19d39e2ff5e5.jpg","text":"TemporaryFile(/tmp/multipartBody2062921944721938960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310992624,"filename":"image_18032025_01_08_57_4466.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/084aa1e297d186ee8c39801a2d27a156.jpg","text":"TemporaryFile(/tmp/multipartBody2327398693254620159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310992624,"filename":"image_18032025_01_08_42_4459.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1e88b60583b0953911e7e59b5be825e8.jpg","text":"TemporaryFile(/tmp/multipartBody3565104218856767782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742310992624,"filename":"image_18032025_01_08_45_3448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345160109","file1":"1345160097","file0":"1345160093","file4":"1345160123","file5":"1345160131","file3":"1345160114"},"map_files_photo_id_array":[{"photo_id":"1345160131","filename":"file5"},{"photo_id":"1345160109","filename":"file2"},{"photo_id":"1345160123","filename":"file4"},{"photo_id":"1345160097","filename":"file1"},{"photo_id":"1345160093","filename":"file0"},{"photo_id":"1345160114","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345160131":["hashtag1","hashtag2"]},{"1345160097":["hashtag1","hashtag2"]},{"1345160109":["hashtag1","hashtag2"]},{"1345160093":["hashtag1","hashtag2"]},{"1345160123":["hashtag1","hashtag2"]},{"1345160114":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345160131, 1345160097, 1345160109, 1345160093, 1345160123, 1345160114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.007224798202515 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:16:32.261720
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_34_4461.jpg', 2), ('/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_29_3453.jpg', 2), ('/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_26_4472.jpg', 2), ('/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_21_4466.jpg', 2), ('/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_17_3448.jpg', 2), ('/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_13_4463.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_34_4461.jpg', '/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_29_3453.jpg', '/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_26_4472.jpg', '/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_21_4466.jpg', '/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_17_3448.jpg', '/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_13_4463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_34_4461.jpg
/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_29_3453.jpg
/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_26_4472.jpg
/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_21_4466.jpg
/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_17_3448.jpg
/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_13_4463.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345160175","1345160190","1345160180","1345160165","1345160185","1345160170"],"photo_ids_order":["1345160165","1345160170","1345160175","1345160180","1345160185","1345160190"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/681f290997dff1a390da48251459e7f0.jpg","text":"TemporaryFile(/tmp/multipartBody3631009550799525219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311052792,"filename":"image_18032025_01_08_26_4472.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2d4a9c0788f0c64303ad7b7ccf3076df.jpg","text":"TemporaryFile(/tmp/multipartBody8667972682664745997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311052792,"filename":"image_18032025_01_08_13_4463.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2798d30fdcfdc0233cab4ea8c4fc9010.jpg","text":"TemporaryFile(/tmp/multipartBody8727085905131288814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311052792,"filename":"image_18032025_01_08_21_4466.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3ac54d2a4b4bb44aa8f69a1d37456314.jpg","text":"TemporaryFile(/tmp/multipartBody4845201784968092531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311052792,"filename":"image_18032025_01_08_34_4461.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/89f4207c8b75241f4e2aa81a8af6ff8a.jpg","text":"TemporaryFile(/tmp/multipartBody2060942947027201845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311052792,"filename":"image_18032025_01_08_17_3448.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5d1cbcf804d7172a189a0f979146ca81.jpg","text":"TemporaryFile(/tmp/multipartBody7730517384988628509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311052792,"filename":"image_18032025_01_08_29_3453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345160175","file1":"1345160170","file0":"1345160165","file4":"1345160185","file5":"1345160190","file3":"1345160180"},"map_files_photo_id_array":[{"photo_id":"1345160190","filename":"file5"},{"photo_id":"1345160175","filename":"file2"},{"photo_id":"1345160185","filename":"file4"},{"photo_id":"1345160170","filename":"file1"},{"photo_id":"1345160165","filename":"file0"},{"photo_id":"1345160180","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345160175":["hashtag1","hashtag2"]},{"1345160190":["hashtag1","hashtag2"]},{"1345160180":["hashtag1","hashtag2"]},{"1345160165":["hashtag1","hashtag2"]},{"1345160185":["hashtag1","hashtag2"]},{"1345160170":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345160175, 1345160190, 1345160180, 1345160165, 1345160185, 1345160170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.44881343841553 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:17:32.423107
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_09_3487.jpg', 2), ('/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_05_4031.jpg', 2), ('/home/nano/Desktop/images/18032025/01/07/image_18032025_01_08_01_4457.jpg', 2), ('/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_57_3447.jpg', 2), ('/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_53_4464.jpg', 2), ('/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_49_3457.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_09_3487.jpg', '/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_05_4031.jpg', '/home/nano/Desktop/images/18032025/01/07/image_18032025_01_08_01_4457.jpg', '/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_57_3447.jpg', '/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_53_4464.jpg', '/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_49_3457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_09_3487.jpg
/home/nano/Desktop/images/18032025/01/08/image_18032025_01_08_05_4031.jpg
/home/nano/Desktop/images/18032025/01/07/image_18032025_01_08_01_4457.jpg
/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_57_3447.jpg
/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_53_4464.jpg
/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_49_3457.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345160428","1345160453","1345160381","1345160411","1345160347","1345160332"],"photo_ids_order":["1345160332","1345160347","1345160381","1345160411","1345160428","1345160453"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3d05734e2bb7a1b05d51baecc1bde271.jpg","text":"TemporaryFile(/tmp/multipartBody2113013480135678409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311112970,"filename":"image_18032025_01_07_53_4464.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8386dae34182f0397a56f57f5858a203.jpg","text":"TemporaryFile(/tmp/multipartBody8952060398262101404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311112970,"filename":"image_18032025_01_07_49_3457.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6ce18c891fe61443a0be295c5fa02218.jpg","text":"TemporaryFile(/tmp/multipartBody1860765016358658340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311112970,"filename":"image_18032025_01_08_01_4457.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/08c50b82fa10b9cf4c6882e0add1d094.jpg","text":"TemporaryFile(/tmp/multipartBody3012621784703614184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311112970,"filename":"image_18032025_01_07_57_3447.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fb27543548a8a57dbc014bbd5f845a5d.jpg","text":"TemporaryFile(/tmp/multipartBody7044277867517701259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311112970,"filename":"image_18032025_01_08_05_4031.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3d82f72bd72397f7f3a1e552fb9fe7a4.jpg","text":"TemporaryFile(/tmp/multipartBody8957161106264615819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311112970,"filename":"image_18032025_01_08_09_3487.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345160381","file1":"1345160347","file0":"1345160332","file4":"1345160428","file5":"1345160453","file3":"1345160411"},"map_files_photo_id_array":[{"photo_id":"1345160453","filename":"file5"},{"photo_id":"1345160381","filename":"file2"},{"photo_id":"1345160428","filename":"file4"},{"photo_id":"1345160347","filename":"file1"},{"photo_id":"1345160332","filename":"file0"},{"photo_id":"1345160411","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345160428":["hashtag1","hashtag2"]},{"1345160453":["hashtag1","hashtag2"]},{"1345160381":["hashtag1","hashtag2"]},{"1345160411":["hashtag1","hashtag2"]},{"1345160347":["hashtag1","hashtag2"]},{"1345160332":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345160428, 1345160453, 1345160381, 1345160411, 1345160347, 1345160332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.99090600013733 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:18:32.623897
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_45_4459.jpg', 2), ('/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_41_3448.jpg', 2), ('/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_38_4491.jpg', 2), ('/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_33_3450.jpg', 2), ('/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_30_4455.jpg', 2), ('/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_25_3480.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_45_4459.jpg', '/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_41_3448.jpg', '/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_38_4491.jpg', '/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_33_3450.jpg', '/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_30_4455.jpg', '/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_25_3480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_45_4459.jpg
/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_41_3448.jpg
/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_38_4491.jpg
/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_33_3450.jpg
/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_30_4455.jpg
/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_25_3480.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345160533","1345160553","1345160529","1345160544","1345160538","1345160549"],"photo_ids_order":["1345160529","1345160533","1345160538","1345160544","1345160549","1345160553"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9cdfaa3c9b3efc01f1b52b3c591df941.jpg","text":"TemporaryFile(/tmp/multipartBody5515143195682013816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311173148,"filename":"image_18032025_01_07_41_3448.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7dfb15853dc75c7a67d008bca89af944.jpg","text":"TemporaryFile(/tmp/multipartBody6855528252246936538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311173148,"filename":"image_18032025_01_07_25_3480.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e16ff13beeba8db19a4ab5a848dd9ad2.jpg","text":"TemporaryFile(/tmp/multipartBody3605874010213883361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311173148,"filename":"image_18032025_01_07_45_4459.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f043b234b6d1617d1b28b3fdeec8d857.jpg","text":"TemporaryFile(/tmp/multipartBody2041480624303439889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311173148,"filename":"image_18032025_01_07_33_3450.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/97af858e1555ec492301edeea54d52bc.jpg","text":"TemporaryFile(/tmp/multipartBody8056922351500235604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311173148,"filename":"image_18032025_01_07_38_4491.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/571f04eec985f0bfe276a93a8f3a8e0c.jpg","text":"TemporaryFile(/tmp/multipartBody3026515906969314990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311173148,"filename":"image_18032025_01_07_30_4455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345160538","file1":"1345160533","file0":"1345160529","file4":"1345160549","file5":"1345160553","file3":"1345160544"},"map_files_photo_id_array":[{"photo_id":"1345160553","filename":"file5"},{"photo_id":"1345160538","filename":"file2"},{"photo_id":"1345160549","filename":"file4"},{"photo_id":"1345160533","filename":"file1"},{"photo_id":"1345160529","filename":"file0"},{"photo_id":"1345160544","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345160533":["hashtag1","hashtag2"]},{"1345160553":["hashtag1","hashtag2"]},{"1345160529":["hashtag1","hashtag2"]},{"1345160544":["hashtag1","hashtag2"]},{"1345160538":["hashtag1","hashtag2"]},{"1345160549":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345160533, 1345160553, 1345160529, 1345160544, 1345160538, 1345160549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.28517150878906 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:19:32.804664
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_22_4491.jpg', 2), ('/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_17_4473.jpg', 2), ('/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_13_3460.jpg', 2), ('/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_09_4460.jpg', 2), ('/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_05_4010.jpg', 2), ('/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_01_3439.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_22_4491.jpg', '/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_17_4473.jpg', '/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_13_3460.jpg', '/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_09_4460.jpg', '/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_05_4010.jpg', '/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_01_3439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_22_4491.jpg
/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_17_4473.jpg
/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_13_3460.jpg
/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_09_4460.jpg
/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_05_4010.jpg
/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_01_3439.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.4476025104522705 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:20:02.400309
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_22_4491.jpg', 2), ('/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_17_4473.jpg', 2), ('/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_13_3460.jpg', 2), ('/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_09_4460.jpg', 2), ('/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_05_4010.jpg', 2), ('/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_01_3439.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_22_4491.jpg', '/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_17_4473.jpg', '/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_13_3460.jpg', '/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_09_4460.jpg', '/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_05_4010.jpg', '/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_01_3439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_22_4491.jpg
/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_17_4473.jpg
/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_13_3460.jpg
/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_09_4460.jpg
/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_05_4010.jpg
/home/nano/Desktop/images/18032025/01/07/image_18032025_01_07_01_3439.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345160812","1345160894","1345160867","1345160915","1345160717","1345160752"],"photo_ids_order":["1345160717","1345160752","1345160812","1345160867","1345160894","1345160915"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d238e76b5b6875fca07cfee634aaa2f4.jpg","text":"TemporaryFile(/tmp/multipartBody1502944511441562718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311262940,"filename":"image_18032025_01_07_13_3460.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bae7d93ef9441ef20ee9166c63309589.jpg","text":"TemporaryFile(/tmp/multipartBody7587936953089669706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311262940,"filename":"image_18032025_01_07_05_4010.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f8aeb0dfe94e87227f6da5c62bcedf42.jpg","text":"TemporaryFile(/tmp/multipartBody7285631591507591609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311262940,"filename":"image_18032025_01_07_09_4460.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9ad7f99134b04d56fdf33712c1fd47a0.jpg","text":"TemporaryFile(/tmp/multipartBody3872302539846122363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311262940,"filename":"image_18032025_01_07_01_3439.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4890359a1c616f83f68ada64daa59e9e.jpg","text":"TemporaryFile(/tmp/multipartBody5033433953760215721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311262940,"filename":"image_18032025_01_07_22_4491.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3b368a24d8fb05756d71a460de9e50f7.jpg","text":"TemporaryFile(/tmp/multipartBody700994478966926299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311262940,"filename":"image_18032025_01_07_17_4473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345160812","file1":"1345160752","file0":"1345160717","file4":"1345160894","file5":"1345160915","file3":"1345160867"},"map_files_photo_id_array":[{"photo_id":"1345160915","filename":"file5"},{"photo_id":"1345160812","filename":"file2"},{"photo_id":"1345160894","filename":"file4"},{"photo_id":"1345160752","filename":"file1"},{"photo_id":"1345160717","filename":"file0"},{"photo_id":"1345160867","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345160812":["hashtag1","hashtag2"]},{"1345160894":["hashtag1","hashtag2"]},{"1345160867":["hashtag1","hashtag2"]},{"1345160915":["hashtag1","hashtag2"]},{"1345160717":["hashtag1","hashtag2"]},{"1345160752":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345160812, 1345160894, 1345160867, 1345160915, 1345160717, 1345160752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.96460843086243 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:21:02.692922
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_57_4463.jpg', 2), ('/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_53_3445.jpg', 2), ('/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_49_4461.jpg', 2), ('/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_45_3449.jpg', 2), ('/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_42_4466.jpg', 2), ('/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_37_3455.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_57_4463.jpg', '/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_53_3445.jpg', '/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_49_4461.jpg', '/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_45_3449.jpg', '/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_42_4466.jpg', '/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_37_3455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_57_4463.jpg
/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_53_3445.jpg
/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_49_4461.jpg
/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_45_3449.jpg
/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_42_4466.jpg
/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_37_3455.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345160990","1345160984","1345160993","1345160987","1345160996","1345160971"],"photo_ids_order":["1345160971","1345160984","1345160987","1345160990","1345160993","1345160996"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a0cd8e0aa93df62dde2a48253dc5f4b2.jpg","text":"TemporaryFile(/tmp/multipartBody5409865424016042310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311323230,"filename":"image_18032025_01_06_45_3449.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/58727a7995c93a4109f72c38e2681da0.jpg","text":"TemporaryFile(/tmp/multipartBody7147931554478776926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311323230,"filename":"image_18032025_01_06_53_3445.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4346db0ab3a691eae6bc2b4c02194651.jpg","text":"TemporaryFile(/tmp/multipartBody7728755300610433315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311323230,"filename":"image_18032025_01_06_42_4466.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2fb66847b246d5c35dc8e811ae2bfc03.jpg","text":"TemporaryFile(/tmp/multipartBody1909554287674519652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311323230,"filename":"image_18032025_01_06_49_4461.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d31602095a9a56f8586df188d284aa69.jpg","text":"TemporaryFile(/tmp/multipartBody621612098322064614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311323230,"filename":"image_18032025_01_06_37_3455.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cf1aeb4ce2476bb11b7e1816783338a5.jpg","text":"TemporaryFile(/tmp/multipartBody3880307061842787084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311323230,"filename":"image_18032025_01_06_57_4463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345160987","file1":"1345160984","file0":"1345160971","file4":"1345160993","file5":"1345160996","file3":"1345160990"},"map_files_photo_id_array":[{"photo_id":"1345160996","filename":"file5"},{"photo_id":"1345160987","filename":"file2"},{"photo_id":"1345160993","filename":"file4"},{"photo_id":"1345160984","filename":"file1"},{"photo_id":"1345160971","filename":"file0"},{"photo_id":"1345160990","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345160990":["hashtag1","hashtag2"]},{"1345160984":["hashtag1","hashtag2"]},{"1345160993":["hashtag1","hashtag2"]},{"1345160987":["hashtag1","hashtag2"]},{"1345160996":["hashtag1","hashtag2"]},{"1345160971":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345160990, 1345160984, 1345160993, 1345160987, 1345160996, 1345160971)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.02446508407593 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:22:02.949270
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_34_4489.jpg', 2), ('/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_29_3454.jpg', 2), ('/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_26_4466.jpg', 2), ('/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_21_4457.jpg', 2), ('/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_17_3448.jpg', 2), ('/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_13_4466.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_34_4489.jpg', '/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_29_3454.jpg', '/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_26_4466.jpg', '/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_21_4457.jpg', '/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_17_3448.jpg', '/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_13_4466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_34_4489.jpg
/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_29_3454.jpg
/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_26_4466.jpg
/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_21_4457.jpg
/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_17_3448.jpg
/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_13_4466.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.4413411617279053 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:22:32.422699
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_34_4489.jpg', 2), ('/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_29_3454.jpg', 2), ('/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_26_4466.jpg', 2), ('/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_21_4457.jpg', 2), ('/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_17_3448.jpg', 2), ('/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_13_4466.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_34_4489.jpg', '/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_29_3454.jpg', '/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_26_4466.jpg', '/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_21_4457.jpg', '/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_17_3448.jpg', '/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_13_4466.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_34_4489.jpg
/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_29_3454.jpg
/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_26_4466.jpg
/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_21_4457.jpg
/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_17_3448.jpg
/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_13_4466.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345161389","1345161398","1345161394","1345161379","1345161352","1345161384"],"photo_ids_order":["1345161352","1345161379","1345161384","1345161389","1345161394","1345161398"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/47dcfd25b9435bcea021d59f1429398b.jpg","text":"TemporaryFile(/tmp/multipartBody6981620750615393287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311413098,"filename":"image_18032025_01_06_21_4457.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4bfe1f873b4495ed6d3799ce151223d5.jpg","text":"TemporaryFile(/tmp/multipartBody5474355039433216717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311413098,"filename":"image_18032025_01_06_13_4466.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ee9a0686b69be8d8882350e4bba83ddd.jpg","text":"TemporaryFile(/tmp/multipartBody7709654471680713392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311413098,"filename":"image_18032025_01_06_17_3448.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/78e573f280af12798ff6b73360fa8250.jpg","text":"TemporaryFile(/tmp/multipartBody4352221374420851210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311413098,"filename":"image_18032025_01_06_29_3454.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a2ee9c41a4782d0226c43d198e0ecdcf.jpg","text":"TemporaryFile(/tmp/multipartBody3440034918507627330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311413098,"filename":"image_18032025_01_06_34_4489.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4a3477f5566d924ad0d14653a1cbaaec.jpg","text":"TemporaryFile(/tmp/multipartBody2343274183623108517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311413098,"filename":"image_18032025_01_06_26_4466.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345161384","file1":"1345161379","file0":"1345161352","file4":"1345161394","file5":"1345161398","file3":"1345161389"},"map_files_photo_id_array":[{"photo_id":"1345161398","filename":"file5"},{"photo_id":"1345161384","filename":"file2"},{"photo_id":"1345161394","filename":"file4"},{"photo_id":"1345161379","filename":"file1"},{"photo_id":"1345161352","filename":"file0"},{"photo_id":"1345161389","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345161389":["hashtag1","hashtag2"]},{"1345161398":["hashtag1","hashtag2"]},{"1345161394":["hashtag1","hashtag2"]},{"1345161379":["hashtag1","hashtag2"]},{"1345161352":["hashtag1","hashtag2"]},{"1345161384":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345161389, 1345161398, 1345161394, 1345161379, 1345161352, 1345161384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.2924268245697 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:23:32.580583
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_09_3495.jpg', 2), ('/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_05_3701.jpg', 2), ('/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_02_4463.jpg', 2), ('/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_57_3461.jpg', 2), ('/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_54_4472.jpg', 2), ('/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_49_4482.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_09_3495.jpg', '/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_05_3701.jpg', '/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_02_4463.jpg', '/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_57_3461.jpg', '/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_54_4472.jpg', '/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_49_4482.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_09_3495.jpg
/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_05_3701.jpg
/home/nano/Desktop/images/18032025/01/06/image_18032025_01_06_02_4463.jpg
/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_57_3461.jpg
/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_54_4472.jpg
/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_49_4482.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345161621","1345161635","1345161617","1345161626","1345161631","1345161613"],"photo_ids_order":["1345161613","1345161617","1345161621","1345161626","1345161631","1345161635"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3b69f01b2b8c65137bf269ac2728e47e.jpg","text":"TemporaryFile(/tmp/multipartBody3926689279720908725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311473229,"filename":"image_18032025_01_06_02_4463.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5f89a673d71fa44d68bc6dfb5266a267.jpg","text":"TemporaryFile(/tmp/multipartBody1020414071317230784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311473229,"filename":"image_18032025_01_05_49_4482.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b727af7b46f626262d13289ac0547d3d.jpg","text":"TemporaryFile(/tmp/multipartBody8532552818372279374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311473229,"filename":"image_18032025_01_06_05_3701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/32345996e8c21bb364e91206717a34ee.jpg","text":"TemporaryFile(/tmp/multipartBody4386842749475471896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311473229,"filename":"image_18032025_01_05_57_3461.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8734400d4d7b4125718df0bda37f4ad2.jpg","text":"TemporaryFile(/tmp/multipartBody1960792538918549917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311473229,"filename":"image_18032025_01_05_54_4472.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ec5e7a964bc2c36c4f1e9ea33db8361c.jpg","text":"TemporaryFile(/tmp/multipartBody9061899510625732119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311473229,"filename":"image_18032025_01_06_09_3495.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345161621","file1":"1345161617","file0":"1345161613","file4":"1345161631","file5":"1345161635","file3":"1345161626"},"map_files_photo_id_array":[{"photo_id":"1345161635","filename":"file5"},{"photo_id":"1345161621","filename":"file2"},{"photo_id":"1345161631","filename":"file4"},{"photo_id":"1345161617","filename":"file1"},{"photo_id":"1345161613","filename":"file0"},{"photo_id":"1345161626","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345161621":["hashtag1","hashtag2"]},{"1345161635":["hashtag1","hashtag2"]},{"1345161617":["hashtag1","hashtag2"]},{"1345161626":["hashtag1","hashtag2"]},{"1345161631":["hashtag1","hashtag2"]},{"1345161613":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345161621, 1345161635, 1345161617, 1345161626, 1345161631, 1345161613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.74843668937683 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:24:32.770518
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_45_3448.jpg', 2), ('/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_41_4479.jpg', 2), ('/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_37_3454.jpg', 2), ('/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_33_4489.jpg', 2), ('/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_29_3458.jpg', 2), ('/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_25_4460.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_45_3448.jpg', '/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_41_4479.jpg', '/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_37_3454.jpg', '/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_33_4489.jpg', '/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_29_3458.jpg', '/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_25_4460.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_45_3448.jpg
/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_41_4479.jpg
/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_37_3454.jpg
/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_33_4489.jpg
/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_29_3458.jpg
/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_25_4460.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345161663","1345161657","1345161682","1345161681","1345161675","1345161669"],"photo_ids_order":["1345161657","1345161663","1345161669","1345161675","1345161681","1345161682"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/601e89255c8c068478d3bf44a6baa645.jpg","text":"TemporaryFile(/tmp/multipartBody7643933809212743964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311533286,"filename":"image_18032025_01_05_41_4479.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/619a6b19c7fe454024697fb67a0363bb.jpg","text":"TemporaryFile(/tmp/multipartBody3067697227949437614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311533286,"filename":"image_18032025_01_05_45_3448.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bbc489ba60f3b833c3bcc624f2ff03da.jpg","text":"TemporaryFile(/tmp/multipartBody7730802351737578739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311533286,"filename":"image_18032025_01_05_25_4460.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/84c0cd38100b2d2daf055d8e3c459c65.jpg","text":"TemporaryFile(/tmp/multipartBody7279074405147475631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311533286,"filename":"image_18032025_01_05_29_3458.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cdfaf0e332af3ecc6311ad52e37626ca.jpg","text":"TemporaryFile(/tmp/multipartBody53757607256214070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311533286,"filename":"image_18032025_01_05_33_4489.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1ac4beaec2371327b0db2cdb04cf24ce.jpg","text":"TemporaryFile(/tmp/multipartBody4888510622068212406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311533286,"filename":"image_18032025_01_05_37_3454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345161669","file1":"1345161663","file0":"1345161657","file4":"1345161681","file5":"1345161682","file3":"1345161675"},"map_files_photo_id_array":[{"photo_id":"1345161682","filename":"file5"},{"photo_id":"1345161669","filename":"file2"},{"photo_id":"1345161681","filename":"file4"},{"photo_id":"1345161663","filename":"file1"},{"photo_id":"1345161657","filename":"file0"},{"photo_id":"1345161675","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345161663":["hashtag1","hashtag2"]},{"1345161657":["hashtag1","hashtag2"]},{"1345161682":["hashtag1","hashtag2"]},{"1345161681":["hashtag1","hashtag2"]},{"1345161675":["hashtag1","hashtag2"]},{"1345161669":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345161663, 1345161657, 1345161682, 1345161681, 1345161675, 1345161669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.00729990005493 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:25:31.944035
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_21_3454.jpg', 2), ('/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_17_4466.jpg', 2), ('/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_13_3464.jpg', 2), ('/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_10_4493.jpg', 2), ('/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_05_4159.jpg', 2), ('/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_01_3470.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_21_3454.jpg', '/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_17_4466.jpg', '/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_13_3464.jpg', '/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_10_4493.jpg', '/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_05_4159.jpg', '/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_01_3470.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_21_3454.jpg
/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_17_4466.jpg
/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_13_3464.jpg
/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_10_4493.jpg
/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_05_4159.jpg
/home/nano/Desktop/images/18032025/01/05/image_18032025_01_05_01_3470.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345161741","1345161738","1345161723","1345161726","1345161734","1345161731"],"photo_ids_order":["1345161723","1345161726","1345161731","1345161734","1345161738","1345161741"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/566f1f0f414793f6b687455b44eb3b9e.jpg","text":"TemporaryFile(/tmp/multipartBody6761754637366410881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311592658,"filename":"image_18032025_01_05_01_3470.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/039bb7b3ac1fd70c1c442e3ef9143f50.jpg","text":"TemporaryFile(/tmp/multipartBody4655840718317717629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311592658,"filename":"image_18032025_01_05_05_4159.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3f63f4cee67c25afc1f4ec5225aa82de.jpg","text":"TemporaryFile(/tmp/multipartBody3409971277455424029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311592658,"filename":"image_18032025_01_05_21_3454.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a0a451a7c2f305ff5f7d5579c52c8490.jpg","text":"TemporaryFile(/tmp/multipartBody1773539077425866361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311592658,"filename":"image_18032025_01_05_17_4466.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a60fe89fcab1f11ce85e448bc17996c1.jpg","text":"TemporaryFile(/tmp/multipartBody9123701516096537271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311592658,"filename":"image_18032025_01_05_10_4493.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bbddb0869c2197f4e98945b60caf8cf3.jpg","text":"TemporaryFile(/tmp/multipartBody1770612807042163226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311592658,"filename":"image_18032025_01_05_13_3464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345161731","file1":"1345161726","file0":"1345161723","file4":"1345161738","file5":"1345161741","file3":"1345161734"},"map_files_photo_id_array":[{"photo_id":"1345161741","filename":"file5"},{"photo_id":"1345161731","filename":"file2"},{"photo_id":"1345161738","filename":"file4"},{"photo_id":"1345161726","filename":"file1"},{"photo_id":"1345161723","filename":"file0"},{"photo_id":"1345161734","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345161741":["hashtag1","hashtag2"]},{"1345161738":["hashtag1","hashtag2"]},{"1345161723":["hashtag1","hashtag2"]},{"1345161726":["hashtag1","hashtag2"]},{"1345161734":["hashtag1","hashtag2"]},{"1345161731":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345161741, 1345161738, 1345161723, 1345161726, 1345161734, 1345161731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.37560510635376 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:26:32.106484
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_57_4472.jpg', 2), ('/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_53_3464.jpg', 2), ('/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_50_4479.jpg', 2), ('/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_45_3450.jpg', 2), ('/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_42_4474.jpg', 2), ('/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_37_3450.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_57_4472.jpg', '/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_53_3464.jpg', '/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_50_4479.jpg', '/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_45_3450.jpg', '/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_42_4474.jpg', '/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_37_3450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_57_4472.jpg
/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_53_3464.jpg
/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_50_4479.jpg
/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_45_3450.jpg
/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_42_4474.jpg
/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_37_3450.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345161997","1345161943","1345162000","1345162003","1345161993","1345161972"],"photo_ids_order":["1345161943","1345161972","1345161993","1345161997","1345162000","1345162003"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1eef8d62ed827d231a4f12b244f9895d.jpg","text":"TemporaryFile(/tmp/multipartBody5203872687573871300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311652816,"filename":"image_18032025_01_04_45_3450.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/332dc801d4dcf3f7d3e092433c59f65d.jpg","text":"TemporaryFile(/tmp/multipartBody7649855843364848139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311652816,"filename":"image_18032025_01_04_57_4472.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ec574a86efe9af326d9575ef743afdb0.jpg","text":"TemporaryFile(/tmp/multipartBody5138721217509425144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311652816,"filename":"image_18032025_01_04_42_4474.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0e63bfc50bfd9cc426eab66074ab4cb6.jpg","text":"TemporaryFile(/tmp/multipartBody6787221757373088380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311652816,"filename":"image_18032025_01_04_37_3450.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b1c8e916f1f311dd0450fe84a302fbe2.jpg","text":"TemporaryFile(/tmp/multipartBody2646225249466493951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311652816,"filename":"image_18032025_01_04_50_4479.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1442c2a460a888a1a4ecd2ea5dc5f44b.jpg","text":"TemporaryFile(/tmp/multipartBody8526596612224061771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311652816,"filename":"image_18032025_01_04_53_3464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345161993","file1":"1345161972","file0":"1345161943","file4":"1345162000","file5":"1345162003","file3":"1345161997"},"map_files_photo_id_array":[{"photo_id":"1345162003","filename":"file5"},{"photo_id":"1345161993","filename":"file2"},{"photo_id":"1345162000","filename":"file4"},{"photo_id":"1345161972","filename":"file1"},{"photo_id":"1345161943","filename":"file0"},{"photo_id":"1345161997","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345161997":["hashtag1","hashtag2"]},{"1345161943":["hashtag1","hashtag2"]},{"1345162000":["hashtag1","hashtag2"]},{"1345162003":["hashtag1","hashtag2"]},{"1345161993":["hashtag1","hashtag2"]},{"1345161972":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345161997, 1345161943, 1345162000, 1345162003, 1345161993, 1345161972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.9047589302063 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:27:32.278989
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_34_4455.jpg', 2), ('/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_29_4472.jpg', 2), ('/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_25_3480.jpg', 2), ('/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_21_4471.jpg', 2), ('/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_17_3457.jpg', 2), ('/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_13_4471.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_34_4455.jpg', '/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_29_4472.jpg', '/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_25_3480.jpg', '/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_21_4471.jpg', '/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_17_3457.jpg', '/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_13_4471.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_34_4455.jpg
/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_29_4472.jpg
/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_25_3480.jpg
/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_21_4471.jpg
/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_17_3457.jpg
/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_13_4471.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345162367","1345162280","1345162547","1345162214","1345162483","1345162461"],"photo_ids_order":["1345162214","1345162280","1345162367","1345162461","1345162483","1345162547"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7020f26324e2d9d29349ea39e11666e4.jpg","text":"TemporaryFile(/tmp/multipartBody2133045876745622530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311712971,"filename":"image_18032025_01_04_25_3480.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f1054928db9cb6fa3e73533c2e38d2ab.jpg","text":"TemporaryFile(/tmp/multipartBody3298750553487363626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311712971,"filename":"image_18032025_01_04_29_4472.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/731ab6c2c59706d662ac1a2ee58b2a5b.jpg","text":"TemporaryFile(/tmp/multipartBody8366728915587329082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311712971,"filename":"image_18032025_01_04_13_4471.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/872708672e39b6adacc6f756bee5f9b2.jpg","text":"TemporaryFile(/tmp/multipartBody1483296926738007978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311712971,"filename":"image_18032025_01_04_34_4455.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4cf85e2fb9a381d4327a974d2ff05b4c.jpg","text":"TemporaryFile(/tmp/multipartBody6742537415545546432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311712971,"filename":"image_18032025_01_04_17_3457.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4530a12d6b77c4b37e4c7778be88da48.jpg","text":"TemporaryFile(/tmp/multipartBody8803768477024905919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311712971,"filename":"image_18032025_01_04_21_4471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345162367","file1":"1345162280","file0":"1345162214","file4":"1345162483","file5":"1345162547","file3":"1345162461"},"map_files_photo_id_array":[{"photo_id":"1345162547","filename":"file5"},{"photo_id":"1345162367","filename":"file2"},{"photo_id":"1345162483","filename":"file4"},{"photo_id":"1345162280","filename":"file1"},{"photo_id":"1345162214","filename":"file0"},{"photo_id":"1345162461","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345162367":["hashtag1","hashtag2"]},{"1345162280":["hashtag1","hashtag2"]},{"1345162547":["hashtag1","hashtag2"]},{"1345162214":["hashtag1","hashtag2"]},{"1345162483":["hashtag1","hashtag2"]},{"1345162461":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345162367, 1345162280, 1345162547, 1345162214, 1345162483, 1345162461)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60823965072632 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:28:32.464075
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_09_3483.jpg', 2), ('/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_05_3689.jpg', 2), ('/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_02_4479.jpg', 2), ('/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_57_4474.jpg', 2), ('/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_53_3464.jpg', 2), ('/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_49_4473.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_09_3483.jpg', '/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_05_3689.jpg', '/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_02_4479.jpg', '/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_57_4474.jpg', '/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_53_3464.jpg', '/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_49_4473.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_09_3483.jpg
/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_05_3689.jpg
/home/nano/Desktop/images/18032025/01/04/image_18032025_01_04_02_4479.jpg
/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_57_4474.jpg
/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_53_3464.jpg
/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_49_4473.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345162824","1345162862","1345162904","1345162888","1345162912","1345162908"],"photo_ids_order":["1345162824","1345162862","1345162888","1345162904","1345162908","1345162912"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ed920c43689ca53b51ac95f9a1598e61.jpg","text":"TemporaryFile(/tmp/multipartBody4699875661208397252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311773099,"filename":"image_18032025_01_04_09_3483.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/84480d744395708e660896544478b479.jpg","text":"TemporaryFile(/tmp/multipartBody3892795345349596947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311773099,"filename":"image_18032025_01_04_05_3689.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b14faebd46ca3d316fec2e4304085947.jpg","text":"TemporaryFile(/tmp/multipartBody3350652503363638150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311773099,"filename":"image_18032025_01_03_57_4474.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/27cdb4c3a05247f60aeb49208dd07e9f.jpg","text":"TemporaryFile(/tmp/multipartBody213013705615554832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311773099,"filename":"image_18032025_01_04_02_4479.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/90ab1780f7a33ef1950ed25f032a5947.jpg","text":"TemporaryFile(/tmp/multipartBody7093277773316749201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311773099,"filename":"image_18032025_01_03_49_4473.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dd9ed7450c2a16e837a256c1137d31b6.jpg","text":"TemporaryFile(/tmp/multipartBody1468405842580055935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311773099,"filename":"image_18032025_01_03_53_3464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345162888","file1":"1345162862","file0":"1345162824","file4":"1345162908","file5":"1345162912","file3":"1345162904"},"map_files_photo_id_array":[{"photo_id":"1345162912","filename":"file5"},{"photo_id":"1345162888","filename":"file2"},{"photo_id":"1345162908","filename":"file4"},{"photo_id":"1345162862","filename":"file1"},{"photo_id":"1345162824","filename":"file0"},{"photo_id":"1345162904","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345162824":["hashtag1","hashtag2"]},{"1345162862":["hashtag1","hashtag2"]},{"1345162904":["hashtag1","hashtag2"]},{"1345162888":["hashtag1","hashtag2"]},{"1345162912":["hashtag1","hashtag2"]},{"1345162908":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345162824, 1345162862, 1345162904, 1345162888, 1345162912, 1345162908)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.80607461929321 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:29:32.652512
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_45_3467.jpg', 2), ('/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_41_4473.jpg', 2), ('/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_37_3467.jpg', 2), ('/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_33_4473.jpg', 2), ('/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_29_3467.jpg', 2), ('/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_25_4472.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_45_3467.jpg', '/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_41_4473.jpg', '/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_37_3467.jpg', '/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_33_4473.jpg', '/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_29_3467.jpg', '/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_25_4472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_45_3467.jpg
/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_41_4473.jpg
/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_37_3467.jpg
/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_33_4473.jpg
/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_29_3467.jpg
/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_25_4472.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345163036","1345163030","1345162997","1345163021","1345162987","1345163026"],"photo_ids_order":["1345162987","1345162997","1345163021","1345163026","1345163030","1345163036"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/78e6dbe1e6efd17be10802d37fd790f2.jpg","text":"TemporaryFile(/tmp/multipartBody3216118905879851147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311833253,"filename":"image_18032025_01_03_25_4472.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/eec4d5c276c9766b7ffffc0044bb67a9.jpg","text":"TemporaryFile(/tmp/multipartBody8177960158486314093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311833253,"filename":"image_18032025_01_03_29_3467.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/aa96f7956eb715108de9a00202466531.jpg","text":"TemporaryFile(/tmp/multipartBody99444136277575434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311833253,"filename":"image_18032025_01_03_41_4473.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cc08519df7dc8e9e729f2f767aec1bee.jpg","text":"TemporaryFile(/tmp/multipartBody3181713454997270334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311833253,"filename":"image_18032025_01_03_37_3467.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d542c3c9753b2adfea11a897e1cf4ad7.jpg","text":"TemporaryFile(/tmp/multipartBody7009023968569002258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311833253,"filename":"image_18032025_01_03_45_3467.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cd35561ff07d67d536caae3d1b2d94d2.jpg","text":"TemporaryFile(/tmp/multipartBody6374894178250249105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311833253,"filename":"image_18032025_01_03_33_4473.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345163021","file1":"1345162997","file0":"1345162987","file4":"1345163030","file5":"1345163036","file3":"1345163026"},"map_files_photo_id_array":[{"photo_id":"1345163036","filename":"file5"},{"photo_id":"1345163021","filename":"file2"},{"photo_id":"1345163030","filename":"file4"},{"photo_id":"1345162997","filename":"file1"},{"photo_id":"1345162987","filename":"file0"},{"photo_id":"1345163026","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345163036":["hashtag1","hashtag2"]},{"1345163030":["hashtag1","hashtag2"]},{"1345162997":["hashtag1","hashtag2"]},{"1345163021":["hashtag1","hashtag2"]},{"1345162987":["hashtag1","hashtag2"]},{"1345163026":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345163036, 1345163030, 1345162997, 1345163021, 1345162987, 1345163026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.75384283065796 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:31:02.562793
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_21_3464.jpg', 2), ('/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_17_4474.jpg', 2), ('/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_13_3485.jpg', 2), ('/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_10_4486.jpg', 2), ('/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_05_4131.jpg', 2), ('/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_01_3460.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_21_3464.jpg', '/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_17_4474.jpg', '/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_13_3485.jpg', '/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_10_4486.jpg', '/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_05_4131.jpg', '/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_01_3460.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_21_3464.jpg
/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_17_4474.jpg
/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_13_3485.jpg
/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_10_4486.jpg
/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_05_4131.jpg
/home/nano/Desktop/images/18032025/01/03/image_18032025_01_03_01_3460.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345163060","1345163080","1345163056","1345163107","1345163052","1345163136"],"photo_ids_order":["1345163052","1345163056","1345163060","1345163080","1345163107","1345163136"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/27df1a5ec8a05ddfe463e6b5921c8b59.jpg","text":"TemporaryFile(/tmp/multipartBody1766372804314114251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311923089,"filename":"image_18032025_01_03_13_3485.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d72d484bff3f71ea8fee8f4660927fd6.jpg","text":"TemporaryFile(/tmp/multipartBody1466996793176031903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311923089,"filename":"image_18032025_01_03_10_4486.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b81e443b36c32d718b61318852569817.jpg","text":"TemporaryFile(/tmp/multipartBody4649436050210017621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311923089,"filename":"image_18032025_01_03_17_4474.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4b8f7b4abe2716876d24185f41e65b1a.jpg","text":"TemporaryFile(/tmp/multipartBody8918301207341710252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311923089,"filename":"image_18032025_01_03_05_4131.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/47604c2f948add85357ed042af2a63b1.jpg","text":"TemporaryFile(/tmp/multipartBody9026221541517566725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311923089,"filename":"image_18032025_01_03_21_3464.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/97823ca16b774e666a4047086a0a3fb5.jpg","text":"TemporaryFile(/tmp/multipartBody9161040332129189095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311923089,"filename":"image_18032025_01_03_01_3460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345163060","file1":"1345163056","file0":"1345163052","file4":"1345163107","file5":"1345163136","file3":"1345163080"},"map_files_photo_id_array":[{"photo_id":"1345163136","filename":"file5"},{"photo_id":"1345163060","filename":"file2"},{"photo_id":"1345163107","filename":"file4"},{"photo_id":"1345163056","filename":"file1"},{"photo_id":"1345163052","filename":"file0"},{"photo_id":"1345163080","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345163060":["hashtag1","hashtag2"]},{"1345163080":["hashtag1","hashtag2"]},{"1345163056":["hashtag1","hashtag2"]},{"1345163107":["hashtag1","hashtag2"]},{"1345163052":["hashtag1","hashtag2"]},{"1345163136":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345163060, 1345163080, 1345163056, 1345163107, 1345163052, 1345163136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.980445861816406 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:32:02.677496
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_57_4485.jpg', 2), ('/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_53_3463.jpg', 2), ('/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_50_4467.jpg', 2), ('/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_45_3465.jpg', 2), ('/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_42_4483.jpg', 2), ('/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_37_3461.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_57_4485.jpg', '/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_53_3463.jpg', '/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_50_4467.jpg', '/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_45_3465.jpg', '/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_42_4483.jpg', '/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_37_3461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_57_4485.jpg
/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_53_3463.jpg
/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_50_4467.jpg
/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_45_3465.jpg
/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_42_4483.jpg
/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_37_3461.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345163564","1345163692","1345163509","1345163602","1345163631","1345163661"],"photo_ids_order":["1345163509","1345163564","1345163602","1345163631","1345163661","1345163692"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/53050b40c6b5d8a8c3f8be9bc86a8048.jpg","text":"TemporaryFile(/tmp/multipartBody7697821793875042129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311983219,"filename":"image_18032025_01_02_53_3463.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/039f2d8d3aa5544e6a8747a7e2e59192.jpg","text":"TemporaryFile(/tmp/multipartBody2834077068917047165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311983219,"filename":"image_18032025_01_02_37_3461.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/48fcd02ffd9f10f4e3912462505424df.jpg","text":"TemporaryFile(/tmp/multipartBody4526096472772585598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311983219,"filename":"image_18032025_01_02_57_4485.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cc03e8d975e64f72037c249212c01aee.jpg","text":"TemporaryFile(/tmp/multipartBody7852662622083234688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311983219,"filename":"image_18032025_01_02_50_4467.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/951e34fd339668e771dccf40f499b417.jpg","text":"TemporaryFile(/tmp/multipartBody1608522603288000822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311983219,"filename":"image_18032025_01_02_45_3465.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a1001df99e39ab35a3b101ae9f8eb45a.jpg","text":"TemporaryFile(/tmp/multipartBody8272923163353143161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742311983219,"filename":"image_18032025_01_02_42_4483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345163602","file1":"1345163564","file0":"1345163509","file4":"1345163661","file5":"1345163692","file3":"1345163631"},"map_files_photo_id_array":[{"photo_id":"1345163692","filename":"file5"},{"photo_id":"1345163602","filename":"file2"},{"photo_id":"1345163661","filename":"file4"},{"photo_id":"1345163564","filename":"file1"},{"photo_id":"1345163509","filename":"file0"},{"photo_id":"1345163631","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345163564":["hashtag1","hashtag2"]},{"1345163692":["hashtag1","hashtag2"]},{"1345163509":["hashtag1","hashtag2"]},{"1345163602":["hashtag1","hashtag2"]},{"1345163631":["hashtag1","hashtag2"]},{"1345163661":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345163564, 1345163692, 1345163509, 1345163602, 1345163631, 1345163661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.97030019760132 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:33:02.961113
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_34_4481.jpg', 2), ('/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_29_3465.jpg', 2), ('/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_26_4472.jpg', 2), ('/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_21_4463.jpg', 2), ('/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_17_3467.jpg', 2), ('/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_13_4504.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_34_4481.jpg', '/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_29_3465.jpg', '/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_26_4472.jpg', '/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_21_4463.jpg', '/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_17_3467.jpg', '/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_13_4504.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_34_4481.jpg
/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_29_3465.jpg
/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_26_4472.jpg
/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_21_4463.jpg
/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_17_3467.jpg
/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_13_4504.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345163980","1345164031","1345163974","1345163988","1345163984","1345163993"],"photo_ids_order":["1345163974","1345163980","1345163984","1345163988","1345163993","1345164031"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/06bbb7aa15bb7abe50f9999b673ffee7.jpg","text":"TemporaryFile(/tmp/multipartBody5634935648935373937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312043496,"filename":"image_18032025_01_02_29_3465.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0bef92acb5729dc4954e31b055aa0128.jpg","text":"TemporaryFile(/tmp/multipartBody475911817936028914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312043496,"filename":"image_18032025_01_02_13_4504.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3bddd7278e7d1cd34b293ba34b5b8cfc.jpg","text":"TemporaryFile(/tmp/multipartBody2262679188979546366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312043496,"filename":"image_18032025_01_02_34_4481.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/53ffbdfbb08a46498be7899a4e7d9b9f.jpg","text":"TemporaryFile(/tmp/multipartBody9007488557333977171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312043496,"filename":"image_18032025_01_02_21_4463.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9939aeae0b4fdbc6a554fe350f792ad6.jpg","text":"TemporaryFile(/tmp/multipartBody6131573271755063363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312043496,"filename":"image_18032025_01_02_26_4472.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c293511f935e6bcc9b20edde61b9701e.jpg","text":"TemporaryFile(/tmp/multipartBody4852184089186535493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312043496,"filename":"image_18032025_01_02_17_3467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345163984","file1":"1345163980","file0":"1345163974","file4":"1345163993","file5":"1345164031","file3":"1345163988"},"map_files_photo_id_array":[{"photo_id":"1345164031","filename":"file5"},{"photo_id":"1345163984","filename":"file2"},{"photo_id":"1345163993","filename":"file4"},{"photo_id":"1345163980","filename":"file1"},{"photo_id":"1345163974","filename":"file0"},{"photo_id":"1345163988","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345163980":["hashtag1","hashtag2"]},{"1345164031":["hashtag1","hashtag2"]},{"1345163974":["hashtag1","hashtag2"]},{"1345163988":["hashtag1","hashtag2"]},{"1345163984":["hashtag1","hashtag2"]},{"1345163993":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345163980, 1345164031, 1345163974, 1345163988, 1345163984, 1345163993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.447184324264526 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:34:03.262519
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_09_3462.jpg', 2), ('/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_05_3745.jpg', 2), ('/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_02_4457.jpg', 2), ('/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_57_3461.jpg', 2), ('/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_54_4468.jpg', 2), ('/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_49_3503.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_09_3462.jpg', '/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_05_3745.jpg', '/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_02_4457.jpg', '/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_57_3461.jpg', '/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_54_4468.jpg', '/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_49_3503.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_09_3462.jpg
/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_05_3745.jpg
/home/nano/Desktop/images/18032025/01/02/image_18032025_01_02_02_4457.jpg
/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_57_3461.jpg
/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_54_4468.jpg
/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_49_3503.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345164323","1345164274","1345164307","1345164281","1345164356","1345164284"],"photo_ids_order":["1345164274","1345164281","1345164284","1345164307","1345164323","1345164356"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b874c832833d8139f7fcb467ffcc1ff3.jpg","text":"TemporaryFile(/tmp/multipartBody6616905021221269206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312103806,"filename":"image_18032025_01_01_54_4468.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fa39c7cea47c998eb7c1e2178213425d.jpg","text":"TemporaryFile(/tmp/multipartBody9167327065198094420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312103806,"filename":"image_18032025_01_02_09_3462.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/796ccec378f9083e7b5d4468399f5827.jpg","text":"TemporaryFile(/tmp/multipartBody8816491826580942125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312103806,"filename":"image_18032025_01_01_57_3461.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4861bc20b75abdf43631e732652f68c6.jpg","text":"TemporaryFile(/tmp/multipartBody1667755408267286937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312103806,"filename":"image_18032025_01_02_05_3745.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/82671202b7ded9b6d7c5100b1ba71a89.jpg","text":"TemporaryFile(/tmp/multipartBody1672001462933582545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312103806,"filename":"image_18032025_01_01_49_3503.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/51f87b74c523043f27050b16767541fd.jpg","text":"TemporaryFile(/tmp/multipartBody7866856220320271672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312103806,"filename":"image_18032025_01_02_02_4457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345164284","file1":"1345164281","file0":"1345164274","file4":"1345164323","file5":"1345164356","file3":"1345164307"},"map_files_photo_id_array":[{"photo_id":"1345164356","filename":"file5"},{"photo_id":"1345164284","filename":"file2"},{"photo_id":"1345164323","filename":"file4"},{"photo_id":"1345164281","filename":"file1"},{"photo_id":"1345164274","filename":"file0"},{"photo_id":"1345164307","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345164323":["hashtag1","hashtag2"]},{"1345164274":["hashtag1","hashtag2"]},{"1345164307":["hashtag1","hashtag2"]},{"1345164281":["hashtag1","hashtag2"]},{"1345164356":["hashtag1","hashtag2"]},{"1345164284":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345164323, 1345164274, 1345164307, 1345164281, 1345164356, 1345164284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.168470859527588 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:35:03.007639
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_46_4467.jpg', 2), ('/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_41_4475.jpg', 2), ('/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_37_3489.jpg', 2), ('/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_33_4507.jpg', 2), ('/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_29_3460.jpg', 2), ('/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_25_4483.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_46_4467.jpg', '/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_41_4475.jpg', '/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_37_3489.jpg', '/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_33_4507.jpg', '/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_29_3460.jpg', '/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_25_4483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_46_4467.jpg
/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_41_4475.jpg
/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_37_3489.jpg
/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_33_4507.jpg
/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_29_3460.jpg
/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_25_4483.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.448927640914917 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:35:32.723858
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_46_4467.jpg', 2), ('/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_41_4475.jpg', 2), ('/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_37_3489.jpg', 2), ('/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_33_4507.jpg', 2), ('/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_29_3460.jpg', 2), ('/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_25_4483.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_46_4467.jpg', '/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_41_4475.jpg', '/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_37_3489.jpg', '/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_33_4507.jpg', '/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_29_3460.jpg', '/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_25_4483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_46_4467.jpg
/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_41_4475.jpg
/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_37_3489.jpg
/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_33_4507.jpg
/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_29_3460.jpg
/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_25_4483.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345164658","1345164586","1345164556","1345164564","1345164698","1345164615"],"photo_ids_order":["1345164556","1345164564","1345164586","1345164615","1345164658","1345164698"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8f0ca8c85acc4bef899875498a6cacb4.jpg","text":"TemporaryFile(/tmp/multipartBody6068925623646224496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312193267,"filename":"image_18032025_01_01_29_3460.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2ead300a5da8de3290705fc8e576a325.jpg","text":"TemporaryFile(/tmp/multipartBody336981581953252756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312193267,"filename":"image_18032025_01_01_37_3489.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1bb4191d683c14beec08ae0edd0e3485.jpg","text":"TemporaryFile(/tmp/multipartBody1772180494382330920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312193267,"filename":"image_18032025_01_01_46_4467.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4925eafcfb134ca6a50eb5ffca4ab662.jpg","text":"TemporaryFile(/tmp/multipartBody5704702545024089635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312193267,"filename":"image_18032025_01_01_41_4475.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/97e213c039f83d4a38aad64e161adcae.jpg","text":"TemporaryFile(/tmp/multipartBody4179064772861529125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312193267,"filename":"image_18032025_01_01_25_4483.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/446aa5492980624645edf26a21d238cd.jpg","text":"TemporaryFile(/tmp/multipartBody6648604531968699313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312193267,"filename":"image_18032025_01_01_33_4507.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345164586","file1":"1345164564","file0":"1345164556","file4":"1345164658","file5":"1345164698","file3":"1345164615"},"map_files_photo_id_array":[{"photo_id":"1345164698","filename":"file5"},{"photo_id":"1345164586","filename":"file2"},{"photo_id":"1345164658","filename":"file4"},{"photo_id":"1345164564","filename":"file1"},{"photo_id":"1345164556","filename":"file0"},{"photo_id":"1345164615","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345164658":["hashtag1","hashtag2"]},{"1345164586":["hashtag1","hashtag2"]},{"1345164556":["hashtag1","hashtag2"]},{"1345164564":["hashtag1","hashtag2"]},{"1345164698":["hashtag1","hashtag2"]},{"1345164615":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345164658, 1345164586, 1345164556, 1345164564, 1345164698, 1345164615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.491114377975464 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:36:31.924467
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_21_3463.jpg', 2), ('/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_17_4475.jpg', 2), ('/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_13_3462.jpg', 2), ('/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_09_4472.jpg', 2), ('/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_05_4197.jpg', 2), ('/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_01_3456.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_21_3463.jpg', '/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_17_4475.jpg', '/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_13_3462.jpg', '/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_09_4472.jpg', '/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_05_4197.jpg', '/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_01_3456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_21_3463.jpg
/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_17_4475.jpg
/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_13_3462.jpg
/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_09_4472.jpg
/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_05_4197.jpg
/home/nano/Desktop/images/18032025/01/01/image_18032025_01_01_01_3456.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345164911","1345165015","1345164981","1345164969","1345164989","1345164935"],"photo_ids_order":["1345164911","1345164935","1345164969","1345164981","1345164989","1345165015"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3542a530b195b83d22268fe6e355baf4.jpg","text":"TemporaryFile(/tmp/multipartBody5727788881435976018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312252468,"filename":"image_18032025_01_01_21_3463.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a517d443a8739ac4afa749f6a266dac1.jpg","text":"TemporaryFile(/tmp/multipartBody2430698933473914326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312252468,"filename":"image_18032025_01_01_01_3456.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cf60d198479e6ba1cf7b31acfbcbe0a5.jpg","text":"TemporaryFile(/tmp/multipartBody104858398510424822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312252468,"filename":"image_18032025_01_01_09_4472.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ea883ebe0e8bf046449e375c7469ffe8.jpg","text":"TemporaryFile(/tmp/multipartBody8833943454801568341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312252468,"filename":"image_18032025_01_01_13_3462.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8f3cd6759e0fde1b31b5767dd359df53.jpg","text":"TemporaryFile(/tmp/multipartBody1897510204739675635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312252468,"filename":"image_18032025_01_01_05_4197.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/595a21a1209e2629da86454a91949a03.jpg","text":"TemporaryFile(/tmp/multipartBody7972777961614023815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312252468,"filename":"image_18032025_01_01_17_4475.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345164969","file1":"1345164935","file0":"1345164911","file4":"1345164989","file5":"1345165015","file3":"1345164981"},"map_files_photo_id_array":[{"photo_id":"1345165015","filename":"file5"},{"photo_id":"1345164969","filename":"file2"},{"photo_id":"1345164989","filename":"file4"},{"photo_id":"1345164935","filename":"file1"},{"photo_id":"1345164911","filename":"file0"},{"photo_id":"1345164981","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345164911":["hashtag1","hashtag2"]},{"1345165015":["hashtag1","hashtag2"]},{"1345164981":["hashtag1","hashtag2"]},{"1345164969":["hashtag1","hashtag2"]},{"1345164989":["hashtag1","hashtag2"]},{"1345164935":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345164911, 1345165015, 1345164981, 1345164969, 1345164989, 1345164935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.87138342857361 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:37:32.060050
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_57_4497.jpg', 2), ('/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_53_3461.jpg', 2), ('/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_49_4474.jpg', 2), ('/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_45_3461.jpg', 2), ('/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_41_4497.jpg', 2), ('/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_37_3463.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_57_4497.jpg', '/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_53_3461.jpg', '/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_49_4474.jpg', '/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_45_3461.jpg', '/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_41_4497.jpg', '/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_37_3463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_57_4497.jpg
/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_53_3461.jpg
/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_49_4474.jpg
/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_45_3461.jpg
/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_41_4497.jpg
/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_37_3463.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345165144","1345165179","1345165158","1345165167","1345165152","1345165116"],"photo_ids_order":["1345165116","1345165144","1345165152","1345165158","1345165167","1345165179"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/262f175d56b68042d1df4b69c116e0b9.jpg","text":"TemporaryFile(/tmp/multipartBody6695012376747480677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312312589,"filename":"image_18032025_01_00_53_3461.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3a6b0f786246d1afaedee71340f524ae.jpg","text":"TemporaryFile(/tmp/multipartBody7150044643072374285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312312589,"filename":"image_18032025_01_00_37_3463.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3d1af65a62d1e7e274e216b8670bab9e.jpg","text":"TemporaryFile(/tmp/multipartBody7912240849886034392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312312589,"filename":"image_18032025_01_00_45_3461.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/df2698da3b861b8e21784c92dd030ccb.jpg","text":"TemporaryFile(/tmp/multipartBody366796608972131176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312312589,"filename":"image_18032025_01_00_41_4497.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/75d565030aa566199f7f6647dfda72cd.jpg","text":"TemporaryFile(/tmp/multipartBody3351883066918599908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312312589,"filename":"image_18032025_01_00_49_4474.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f62c770c2d870ff06bb82e00f756169d.jpg","text":"TemporaryFile(/tmp/multipartBody7479344227770089837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312312589,"filename":"image_18032025_01_00_57_4497.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345165152","file1":"1345165144","file0":"1345165116","file4":"1345165167","file5":"1345165179","file3":"1345165158"},"map_files_photo_id_array":[{"photo_id":"1345165179","filename":"file5"},{"photo_id":"1345165152","filename":"file2"},{"photo_id":"1345165167","filename":"file4"},{"photo_id":"1345165144","filename":"file1"},{"photo_id":"1345165116","filename":"file0"},{"photo_id":"1345165158","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345165144":["hashtag1","hashtag2"]},{"1345165179":["hashtag1","hashtag2"]},{"1345165158":["hashtag1","hashtag2"]},{"1345165167":["hashtag1","hashtag2"]},{"1345165152":["hashtag1","hashtag2"]},{"1345165116":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345165144, 1345165179, 1345165158, 1345165167, 1345165152, 1345165116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.00609230995178 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:38:32.220741
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_33_4478.jpg', 2), ('/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_29_3300.jpg', 2), ('/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_26_4242.jpg', 2), ('/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_21_4417.jpg', 2), ('/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_17_3939.jpg', 2), ('/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_13_4062.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_33_4478.jpg', '/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_29_3300.jpg', '/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_26_4242.jpg', '/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_21_4417.jpg', '/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_17_3939.jpg', '/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_13_4062.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_33_4478.jpg
/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_29_3300.jpg
/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_26_4242.jpg
/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_21_4417.jpg
/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_17_3939.jpg
/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_13_4062.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345165372","1345165348","1345165395","1345165403","1345165325","1345165399"],"photo_ids_order":["1345165325","1345165348","1345165372","1345165395","1345165399","1345165403"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d778ca5a4976f92490787b167d76c355.jpg","text":"TemporaryFile(/tmp/multipartBody3642531300737509195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312372707,"filename":"image_18032025_01_00_26_4242.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c651b9fb0d53b357c634dd13ef69d6ad.jpg","text":"TemporaryFile(/tmp/multipartBody1746210597004176285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312372707,"filename":"image_18032025_01_00_29_3300.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/62ec951e9c943d8efede27196936085b.jpg","text":"TemporaryFile(/tmp/multipartBody8027447691264511728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312372707,"filename":"image_18032025_01_00_21_4417.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/06cba025394239fc08fb990843b60f02.jpg","text":"TemporaryFile(/tmp/multipartBody5095774626509990768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312372707,"filename":"image_18032025_01_00_13_4062.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8f89d88e2cea148aa8f6b5d3d29833b4.jpg","text":"TemporaryFile(/tmp/multipartBody4839690543887359583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312372707,"filename":"image_18032025_01_00_33_4478.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6699e3ef80017cd83b40296de7e6eb67.jpg","text":"TemporaryFile(/tmp/multipartBody2605824506879450607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312372707,"filename":"image_18032025_01_00_17_3939.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345165372","file1":"1345165348","file0":"1345165325","file4":"1345165399","file5":"1345165403","file3":"1345165395"},"map_files_photo_id_array":[{"photo_id":"1345165403","filename":"file5"},{"photo_id":"1345165372","filename":"file2"},{"photo_id":"1345165399","filename":"file4"},{"photo_id":"1345165348","filename":"file1"},{"photo_id":"1345165325","filename":"file0"},{"photo_id":"1345165395","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345165372":["hashtag1","hashtag2"]},{"1345165348":["hashtag1","hashtag2"]},{"1345165395":["hashtag1","hashtag2"]},{"1345165403":["hashtag1","hashtag2"]},{"1345165325":["hashtag1","hashtag2"]},{"1345165399":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345165372, 1345165348, 1345165395, 1345165403, 1345165325, 1345165399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.82753562927246 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:39:32.373317
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_09_4135.jpg', 2), ('/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_05_3461.jpg', 2), ('/home/nano/Desktop/images/18032025/00/59/image_18032025_01_00_01_4066.jpg', 2), ('/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_57_4163.jpg', 2), ('/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_53_4189.jpg', 2), ('/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_49_4148.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_09_4135.jpg', '/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_05_3461.jpg', '/home/nano/Desktop/images/18032025/00/59/image_18032025_01_00_01_4066.jpg', '/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_57_4163.jpg', '/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_53_4189.jpg', '/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_49_4148.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_09_4135.jpg
/home/nano/Desktop/images/18032025/01/00/image_18032025_01_00_05_3461.jpg
/home/nano/Desktop/images/18032025/00/59/image_18032025_01_00_01_4066.jpg
/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_57_4163.jpg
/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_53_4189.jpg
/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_49_4148.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345165566","1345165578","1345165542","1345165589","1345165527","1345165547"],"photo_ids_order":["1345165527","1345165542","1345165547","1345165566","1345165578","1345165589"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fd2cee890c8d6113eae741b8f2563a37.jpg","text":"TemporaryFile(/tmp/multipartBody1071318190205724977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312432884,"filename":"image_18032025_00_59_57_4163.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0e2d5041e0fbf01a24a1b79b1f4a5ffa.jpg","text":"TemporaryFile(/tmp/multipartBody7687898233711595126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312432884,"filename":"image_18032025_00_59_53_4189.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c50be474ddbcba1c4f07171e914134bd.jpg","text":"TemporaryFile(/tmp/multipartBody6233407303365250582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312432884,"filename":"image_18032025_01_00_05_3461.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c9771c8e0eb99fa357ba60d86a763e42.jpg","text":"TemporaryFile(/tmp/multipartBody6473632221927103031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312432884,"filename":"image_18032025_00_59_49_4148.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/645ec29ce04af207e115df879c6e2247.jpg","text":"TemporaryFile(/tmp/multipartBody9223323932026606849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312432884,"filename":"image_18032025_01_00_09_4135.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2610fa803360fe73aae18f5ffdbef9db.jpg","text":"TemporaryFile(/tmp/multipartBody2931945090770214262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312432884,"filename":"image_18032025_01_00_01_4066.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345165547","file1":"1345165542","file0":"1345165527","file4":"1345165578","file5":"1345165589","file3":"1345165566"},"map_files_photo_id_array":[{"photo_id":"1345165589","filename":"file5"},{"photo_id":"1345165547","filename":"file2"},{"photo_id":"1345165578","filename":"file4"},{"photo_id":"1345165542","filename":"file1"},{"photo_id":"1345165527","filename":"file0"},{"photo_id":"1345165566","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345165566":["hashtag1","hashtag2"]},{"1345165578":["hashtag1","hashtag2"]},{"1345165542":["hashtag1","hashtag2"]},{"1345165589":["hashtag1","hashtag2"]},{"1345165527":["hashtag1","hashtag2"]},{"1345165547":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345165566, 1345165578, 1345165542, 1345165589, 1345165527, 1345165547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.290467739105225 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:40:32.572167
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_45_3178.jpg', 2), ('/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_42_4249.jpg', 2), ('/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_37_4105.jpg', 2), ('/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_33_4096.jpg', 2), ('/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_29_4104.jpg', 2), ('/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_25_4104.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_45_3178.jpg', '/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_42_4249.jpg', '/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_37_4105.jpg', '/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_33_4096.jpg', '/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_29_4104.jpg', '/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_25_4104.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_45_3178.jpg
/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_42_4249.jpg
/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_37_4105.jpg
/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_33_4096.jpg
/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_29_4104.jpg
/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_25_4104.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345165633","1345165627","1345165640","1345165613","1345165622","1345165619"],"photo_ids_order":["1345165613","1345165619","1345165622","1345165627","1345165633","1345165640"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a2d98aaad1f23e503b9b0aa90c5916f1.jpg","text":"TemporaryFile(/tmp/multipartBody6817505932794548988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312493101,"filename":"image_18032025_00_59_29_4104.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/366c4418e849aa0be5f37e094b77c829.jpg","text":"TemporaryFile(/tmp/multipartBody1469697748293749585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312493101,"filename":"image_18032025_00_59_33_4096.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b34731ad713bb7b77267ce4782c4972a.jpg","text":"TemporaryFile(/tmp/multipartBody7586113683272971391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312493101,"filename":"image_18032025_00_59_25_4104.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/398d6f4b39143d97cd8208c677cf5b07.jpg","text":"TemporaryFile(/tmp/multipartBody1986592639136130220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312493101,"filename":"image_18032025_00_59_45_3178.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b3b21661f5370c53f3e73eeb32d8a577.jpg","text":"TemporaryFile(/tmp/multipartBody5934234359803569132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312493101,"filename":"image_18032025_00_59_37_4105.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ba0b53e3ea74f425143f9b8d0b94a402.jpg","text":"TemporaryFile(/tmp/multipartBody3095953721458294520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312493101,"filename":"image_18032025_00_59_42_4249.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345165622","file1":"1345165619","file0":"1345165613","file4":"1345165633","file5":"1345165640","file3":"1345165627"},"map_files_photo_id_array":[{"photo_id":"1345165640","filename":"file5"},{"photo_id":"1345165622","filename":"file2"},{"photo_id":"1345165633","filename":"file4"},{"photo_id":"1345165619","filename":"file1"},{"photo_id":"1345165613","filename":"file0"},{"photo_id":"1345165627","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345165633":["hashtag1","hashtag2"]},{"1345165627":["hashtag1","hashtag2"]},{"1345165640":["hashtag1","hashtag2"]},{"1345165613":["hashtag1","hashtag2"]},{"1345165622":["hashtag1","hashtag2"]},{"1345165619":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345165633, 1345165627, 1345165640, 1345165613, 1345165622, 1345165619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.571027994155884 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:41:32.742399
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_21_4205.jpg', 2), ('/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_17_3238.jpg', 2), ('/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_14_4188.jpg', 2), ('/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_09_4239.jpg', 2), ('/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_05_4211.jpg', 2), ('/home/nano/Desktop/images/18032025/00/58/image_18032025_00_59_01_4073.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_21_4205.jpg', '/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_17_3238.jpg', '/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_14_4188.jpg', '/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_09_4239.jpg', '/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_05_4211.jpg', '/home/nano/Desktop/images/18032025/00/58/image_18032025_00_59_01_4073.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_21_4205.jpg
/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_17_3238.jpg
/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_14_4188.jpg
/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_09_4239.jpg
/home/nano/Desktop/images/18032025/00/59/image_18032025_00_59_05_4211.jpg
/home/nano/Desktop/images/18032025/00/58/image_18032025_00_59_01_4073.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345165876","1345165813","1345165872","1345165818","1345165847","1345165867"],"photo_ids_order":["1345165813","1345165818","1345165847","1345165867","1345165872","1345165876"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5f187698469ac817b9366cf739f00ab8.jpg","text":"TemporaryFile(/tmp/multipartBody9026015286322076123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312553249,"filename":"image_18032025_00_59_01_4073.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e07816b098c19656047ee0b9fe8f52e2.jpg","text":"TemporaryFile(/tmp/multipartBody7905919029003365002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312553249,"filename":"image_18032025_00_59_21_4205.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4ebbaeed51b19e40766634cb09873130.jpg","text":"TemporaryFile(/tmp/multipartBody1688678351010526971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312553249,"filename":"image_18032025_00_59_05_4211.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/04dfa1a43fa3c7c6372248a0644f307a.jpg","text":"TemporaryFile(/tmp/multipartBody8291719030712661492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312553249,"filename":"image_18032025_00_59_17_3238.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/878f22e270bc70ea7cbe90022a65823b.jpg","text":"TemporaryFile(/tmp/multipartBody731399658994437171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312553249,"filename":"image_18032025_00_59_14_4188.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b7913c656cb6ce88630b5b1b70ef18db.jpg","text":"TemporaryFile(/tmp/multipartBody1290893257246690320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312553249,"filename":"image_18032025_00_59_09_4239.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345165847","file1":"1345165818","file0":"1345165813","file4":"1345165872","file5":"1345165876","file3":"1345165867"},"map_files_photo_id_array":[{"photo_id":"1345165876","filename":"file5"},{"photo_id":"1345165847","filename":"file2"},{"photo_id":"1345165872","filename":"file4"},{"photo_id":"1345165818","filename":"file1"},{"photo_id":"1345165813","filename":"file0"},{"photo_id":"1345165867","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345165876":["hashtag1","hashtag2"]},{"1345165813":["hashtag1","hashtag2"]},{"1345165872":["hashtag1","hashtag2"]},{"1345165818":["hashtag1","hashtag2"]},{"1345165847":["hashtag1","hashtag2"]},{"1345165867":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345165876, 1345165813, 1345165872, 1345165818, 1345165847, 1345165867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.17774772644043 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:42:31.928930
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_57_3142.jpg', 2), ('/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_54_4192.jpg', 2), ('/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_49_4027.jpg', 2), ('/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_45_4333.jpg', 2), ('/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_41_4017.jpg', 2), ('/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_37_4239.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_57_3142.jpg', '/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_54_4192.jpg', '/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_49_4027.jpg', '/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_45_4333.jpg', '/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_41_4017.jpg', '/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_37_4239.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_57_3142.jpg
/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_54_4192.jpg
/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_49_4027.jpg
/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_45_4333.jpg
/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_41_4017.jpg
/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_37_4239.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345165981","1345166010","1345166129","1345166102","1345166059","1345165987"],"photo_ids_order":["1345165981","1345165987","1345166010","1345166059","1345166102","1345166129"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/51d79972dddc1af2f1fd1924506a302b.jpg","text":"TemporaryFile(/tmp/multipartBody3844841453827711085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312612497,"filename":"image_18032025_00_58_57_3142.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/995a072615f02deeab1957de3f4f0247.jpg","text":"TemporaryFile(/tmp/multipartBody5492916336233412278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312612497,"filename":"image_18032025_00_58_49_4027.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ff00bc75c113eb00fb451b9cd1f562e1.jpg","text":"TemporaryFile(/tmp/multipartBody6582816499742224388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312612497,"filename":"image_18032025_00_58_37_4239.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fb0f095da11d1b8e0664aa9af4e20ad3.jpg","text":"TemporaryFile(/tmp/multipartBody4918306743229008439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312612497,"filename":"image_18032025_00_58_41_4017.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6ede87ab0eab02ca36d6c2c8ab3565a3.jpg","text":"TemporaryFile(/tmp/multipartBody5486550937549210267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312612497,"filename":"image_18032025_00_58_45_4333.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/74270837c0365c5fe2ebf7a52e961283.jpg","text":"TemporaryFile(/tmp/multipartBody8259590778113173158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312612497,"filename":"image_18032025_00_58_54_4192.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345166010","file1":"1345165987","file0":"1345165981","file4":"1345166102","file5":"1345166129","file3":"1345166059"},"map_files_photo_id_array":[{"photo_id":"1345166129","filename":"file5"},{"photo_id":"1345166010","filename":"file2"},{"photo_id":"1345166102","filename":"file4"},{"photo_id":"1345165987","filename":"file1"},{"photo_id":"1345165981","filename":"file0"},{"photo_id":"1345166059","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345165981":["hashtag1","hashtag2"]},{"1345166010":["hashtag1","hashtag2"]},{"1345166129":["hashtag1","hashtag2"]},{"1345166102":["hashtag1","hashtag2"]},{"1345166059":["hashtag1","hashtag2"]},{"1345165987":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345165981, 1345166010, 1345166129, 1345166102, 1345166059, 1345165987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.86986517906189 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:43:32.094989
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_33_3148.jpg', 2), ('/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_30_4423.jpg', 2), ('/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_25_4355.jpg', 2), ('/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_21_3518.jpg', 2), ('/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_17_4304.jpg', 2), ('/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_13_4322.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_33_3148.jpg', '/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_30_4423.jpg', '/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_25_4355.jpg', '/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_21_3518.jpg', '/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_17_4304.jpg', '/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_13_4322.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_33_3148.jpg
/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_30_4423.jpg
/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_25_4355.jpg
/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_21_3518.jpg
/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_17_4304.jpg
/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_13_4322.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345166382","1345166325","1345166307","1345166301","1345166287","1345166353"],"photo_ids_order":["1345166287","1345166301","1345166307","1345166325","1345166353","1345166382"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c5d6a480c71c30633c69e1413d9ced4b.jpg","text":"TemporaryFile(/tmp/multipartBody1854773884224278312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312672740,"filename":"image_18032025_00_58_13_4322.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6be1a68b70b101fb4d0baf83d598fc9d.jpg","text":"TemporaryFile(/tmp/multipartBody5036403873033108176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312672740,"filename":"image_18032025_00_58_21_3518.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3749451f71aa82cf1ee0c3649e79a49e.jpg","text":"TemporaryFile(/tmp/multipartBody6295347631876942175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312672740,"filename":"image_18032025_00_58_25_4355.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/27efc1c0952556afc689838e227ccc3c.jpg","text":"TemporaryFile(/tmp/multipartBody6223558686362566625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312672740,"filename":"image_18032025_00_58_30_4423.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/89cb4b23e8b6e62613e87771a847659d.jpg","text":"TemporaryFile(/tmp/multipartBody4668586930776978987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312672740,"filename":"image_18032025_00_58_33_3148.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1d4b15a7fb1beeff2cea28d02ecf25ba.jpg","text":"TemporaryFile(/tmp/multipartBody5596889601575758272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312672740,"filename":"image_18032025_00_58_17_4304.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345166307","file1":"1345166301","file0":"1345166287","file4":"1345166353","file5":"1345166382","file3":"1345166325"},"map_files_photo_id_array":[{"photo_id":"1345166382","filename":"file5"},{"photo_id":"1345166307","filename":"file2"},{"photo_id":"1345166353","filename":"file4"},{"photo_id":"1345166301","filename":"file1"},{"photo_id":"1345166287","filename":"file0"},{"photo_id":"1345166325","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345166382":["hashtag1","hashtag2"]},{"1345166325":["hashtag1","hashtag2"]},{"1345166307":["hashtag1","hashtag2"]},{"1345166301":["hashtag1","hashtag2"]},{"1345166287":["hashtag1","hashtag2"]},{"1345166353":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345166382, 1345166325, 1345166307, 1345166301, 1345166287, 1345166353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.47865843772888 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:44:32.333441
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_09_3144.jpg', 2), ('/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_06_4727.jpg', 2), ('/home/nano/Desktop/images/18032025/00/57/image_18032025_00_58_01_4027.jpg', 2), ('/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_57_4121.jpg', 2), ('/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_53_4034.jpg', 2), ('/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_49_3137.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_09_3144.jpg', '/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_06_4727.jpg', '/home/nano/Desktop/images/18032025/00/57/image_18032025_00_58_01_4027.jpg', '/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_57_4121.jpg', '/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_53_4034.jpg', '/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_49_3137.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_09_3144.jpg
/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_06_4727.jpg
/home/nano/Desktop/images/18032025/00/57/image_18032025_00_58_01_4027.jpg
/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_57_4121.jpg
/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_53_4034.jpg
/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_49_3137.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.601912260055542 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:45:03.016803
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_09_3144.jpg', 2), ('/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_06_4727.jpg', 2), ('/home/nano/Desktop/images/18032025/00/57/image_18032025_00_58_01_4027.jpg', 2), ('/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_57_4121.jpg', 2), ('/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_53_4034.jpg', 2), ('/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_49_3137.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_09_3144.jpg', '/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_06_4727.jpg', '/home/nano/Desktop/images/18032025/00/57/image_18032025_00_58_01_4027.jpg', '/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_57_4121.jpg', '/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_53_4034.jpg', '/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_49_3137.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_09_3144.jpg
/home/nano/Desktop/images/18032025/00/58/image_18032025_00_58_06_4727.jpg
/home/nano/Desktop/images/18032025/00/57/image_18032025_00_58_01_4027.jpg
/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_57_4121.jpg
/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_53_4034.jpg
/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_49_3137.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345166595","1345166571","1345166565","1345166568","1345166622","1345166575"],"photo_ids_order":["1345166565","1345166568","1345166571","1345166575","1345166595","1345166622"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/436914a172e4f5da7b1cec094f224722.jpg","text":"TemporaryFile(/tmp/multipartBody8707562013070757284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312763512,"filename":"image_18032025_00_57_53_4034.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/88feccf932692b4731454f4024d60c9f.jpg","text":"TemporaryFile(/tmp/multipartBody7122479616475428896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312763512,"filename":"image_18032025_00_58_01_4027.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b437068c36462bc4a77ccd11e6d254be.jpg","text":"TemporaryFile(/tmp/multipartBody4014945447750629293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312763512,"filename":"image_18032025_00_58_09_3144.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4305f42244013284b8d6d39b8b909c23.jpg","text":"TemporaryFile(/tmp/multipartBody6239956820164187116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312763512,"filename":"image_18032025_00_58_06_4727.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3e7a9f9cf316bb467f99bdda9d50fb87.jpg","text":"TemporaryFile(/tmp/multipartBody2358495908639925206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312763512,"filename":"image_18032025_00_57_49_3137.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a5bc0ca3049875083ed17425b649351e.jpg","text":"TemporaryFile(/tmp/multipartBody5206537364678514440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312763512,"filename":"image_18032025_00_57_57_4121.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345166571","file1":"1345166568","file0":"1345166565","file4":"1345166595","file5":"1345166622","file3":"1345166575"},"map_files_photo_id_array":[{"photo_id":"1345166622","filename":"file5"},{"photo_id":"1345166571","filename":"file2"},{"photo_id":"1345166595","filename":"file4"},{"photo_id":"1345166568","filename":"file1"},{"photo_id":"1345166565","filename":"file0"},{"photo_id":"1345166575","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345166595":["hashtag1","hashtag2"]},{"1345166571":["hashtag1","hashtag2"]},{"1345166565":["hashtag1","hashtag2"]},{"1345166568":["hashtag1","hashtag2"]},{"1345166622":["hashtag1","hashtag2"]},{"1345166575":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345166595, 1345166571, 1345166565, 1345166568, 1345166622, 1345166575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.3909809589386 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:46:03.342175
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_46_4114.jpg', 2), ('/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_41_4088.jpg', 2), ('/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_37_3997.jpg', 2), ('/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_33_3934.jpg', 2), ('/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_29_4014.jpg', 2), ('/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_25_4206.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_46_4114.jpg', '/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_41_4088.jpg', '/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_37_3997.jpg', '/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_33_3934.jpg', '/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_29_4014.jpg', '/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_25_4206.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_46_4114.jpg
/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_41_4088.jpg
/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_37_3997.jpg
/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_33_3934.jpg
/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_29_4014.jpg
/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_25_4206.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345166793","1345166787","1345166806","1345166695","1345166797","1345166665"],"photo_ids_order":["1345166665","1345166695","1345166787","1345166793","1345166797","1345166806"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e237b2b706ed3bf191457250c5e28e77.jpg","text":"TemporaryFile(/tmp/multipartBody4916927668888573913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312823830,"filename":"image_18032025_00_57_33_3934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/abe32918efe80d642a00e9d40e556ffd.jpg","text":"TemporaryFile(/tmp/multipartBody4808201802842511079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312823830,"filename":"image_18032025_00_57_37_3997.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d60bd2be26c79051db87399f55ddd757.jpg","text":"TemporaryFile(/tmp/multipartBody2190626793457658791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312823830,"filename":"image_18032025_00_57_25_4206.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9e34078149587698e501087b0d1e2a20.jpg","text":"TemporaryFile(/tmp/multipartBody8030202513498883520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312823830,"filename":"image_18032025_00_57_41_4088.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9fa7f31454f10973f0e0c701c430859b.jpg","text":"TemporaryFile(/tmp/multipartBody6649075713938528994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312823830,"filename":"image_18032025_00_57_29_4014.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/697e403d88287957bb2fd3c0497bc243.jpg","text":"TemporaryFile(/tmp/multipartBody1693386770200495261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312823830,"filename":"image_18032025_00_57_46_4114.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345166787","file1":"1345166695","file0":"1345166665","file4":"1345166797","file5":"1345166806","file3":"1345166793"},"map_files_photo_id_array":[{"photo_id":"1345166806","filename":"file5"},{"photo_id":"1345166787","filename":"file2"},{"photo_id":"1345166797","filename":"file4"},{"photo_id":"1345166695","filename":"file1"},{"photo_id":"1345166665","filename":"file0"},{"photo_id":"1345166793","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345166793":["hashtag1","hashtag2"]},{"1345166787":["hashtag1","hashtag2"]},{"1345166806":["hashtag1","hashtag2"]},{"1345166695":["hashtag1","hashtag2"]},{"1345166797":["hashtag1","hashtag2"]},{"1345166665":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345166793, 1345166787, 1345166806, 1345166695, 1345166797, 1345166665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.3071084022522 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:47:31.903845
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_21_4207.jpg', 2), ('/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_17_4204.jpg', 2), ('/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_13_4105.jpg', 2), ('/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_09_3164.jpg', 2), ('/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_06_4245.jpg', 2), ('/home/nano/Desktop/images/18032025/00/56/image_18032025_00_57_01_4174.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_21_4207.jpg', '/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_17_4204.jpg', '/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_13_4105.jpg', '/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_09_3164.jpg', '/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_06_4245.jpg', '/home/nano/Desktop/images/18032025/00/56/image_18032025_00_57_01_4174.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_21_4207.jpg
/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_17_4204.jpg
/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_13_4105.jpg
/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_09_3164.jpg
/home/nano/Desktop/images/18032025/00/57/image_18032025_00_57_06_4245.jpg
/home/nano/Desktop/images/18032025/00/56/image_18032025_00_57_01_4174.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345166871","1345166867","1345166882","1345166876","1345166837","1345166848"],"photo_ids_order":["1345166837","1345166848","1345166867","1345166871","1345166876","1345166882"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3c22e1f8f2d79af9231120eeb6723762.jpg","text":"TemporaryFile(/tmp/multipartBody5744550763341522825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312912398,"filename":"image_18032025_00_57_09_3164.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9fc56a6fedc1d26f30f93938df513586.jpg","text":"TemporaryFile(/tmp/multipartBody7748479075078627655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312912398,"filename":"image_18032025_00_57_13_4105.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/787c24645b88eb1ed7613f286080a23e.jpg","text":"TemporaryFile(/tmp/multipartBody7347938706463621308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312912398,"filename":"image_18032025_00_57_01_4174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/adf20e232a46f461cd48b2c5ddfa5f53.jpg","text":"TemporaryFile(/tmp/multipartBody5798574946091159762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312912398,"filename":"image_18032025_00_57_06_4245.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c8bfaaf80deea2d8ab6f7a51d9e467a9.jpg","text":"TemporaryFile(/tmp/multipartBody1618074939301795055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312912398,"filename":"image_18032025_00_57_21_4207.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/02e566d569bed8bd69eaa24960d8e99e.jpg","text":"TemporaryFile(/tmp/multipartBody8157962746738242880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312912398,"filename":"image_18032025_00_57_17_4204.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345166867","file1":"1345166848","file0":"1345166837","file4":"1345166876","file5":"1345166882","file3":"1345166871"},"map_files_photo_id_array":[{"photo_id":"1345166882","filename":"file5"},{"photo_id":"1345166867","filename":"file2"},{"photo_id":"1345166876","filename":"file4"},{"photo_id":"1345166848","filename":"file1"},{"photo_id":"1345166837","filename":"file0"},{"photo_id":"1345166871","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345166871":["hashtag1","hashtag2"]},{"1345166867":["hashtag1","hashtag2"]},{"1345166882":["hashtag1","hashtag2"]},{"1345166876":["hashtag1","hashtag2"]},{"1345166837":["hashtag1","hashtag2"]},{"1345166848":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345166871, 1345166867, 1345166882, 1345166876, 1345166837, 1345166848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94354438781738 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:48:32.097643
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_57_4089.jpg', 2), ('/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_53_4173.jpg', 2), ('/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_49_3994.jpg', 2), ('/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_45_3168.jpg', 2), ('/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_42_4126.jpg', 2), ('/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_38_4117.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_57_4089.jpg', '/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_53_4173.jpg', '/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_49_3994.jpg', '/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_45_3168.jpg', '/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_42_4126.jpg', '/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_38_4117.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_57_4089.jpg
/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_53_4173.jpg
/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_49_3994.jpg
/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_45_3168.jpg
/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_42_4126.jpg
/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_38_4117.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345166910","1345166904","1345166894","1345166921","1345166899","1345166914"],"photo_ids_order":["1345166894","1345166899","1345166904","1345166910","1345166914","1345166921"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b77639fa2018a706ba80c8910fb1552c.jpg","text":"TemporaryFile(/tmp/multipartBody326594835854454605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312972649,"filename":"image_18032025_00_56_45_3168.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4761299e8f704aaa95406bd239d3a350.jpg","text":"TemporaryFile(/tmp/multipartBody5873108587313199036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312972649,"filename":"image_18032025_00_56_49_3994.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3bba537f6a6e44156c5d3735a183bf42.jpg","text":"TemporaryFile(/tmp/multipartBody4905894186317725716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312972649,"filename":"image_18032025_00_56_57_4089.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/909af1e875f5f3e1cb33b1d6db284386.jpg","text":"TemporaryFile(/tmp/multipartBody7286539464366300277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312972649,"filename":"image_18032025_00_56_38_4117.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4dccd91e4f70a48a24443e71d2004a7b.jpg","text":"TemporaryFile(/tmp/multipartBody963964279441897558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312972649,"filename":"image_18032025_00_56_53_4173.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9dc0fd5d2819dfdff4e2de90dfadfc10.jpg","text":"TemporaryFile(/tmp/multipartBody4441730089881774955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742312972649,"filename":"image_18032025_00_56_42_4126.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345166904","file1":"1345166899","file0":"1345166894","file4":"1345166914","file5":"1345166921","file3":"1345166910"},"map_files_photo_id_array":[{"photo_id":"1345166921","filename":"file5"},{"photo_id":"1345166904","filename":"file2"},{"photo_id":"1345166914","filename":"file4"},{"photo_id":"1345166899","filename":"file1"},{"photo_id":"1345166894","filename":"file0"},{"photo_id":"1345166910","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345166910":["hashtag1","hashtag2"]},{"1345166904":["hashtag1","hashtag2"]},{"1345166894":["hashtag1","hashtag2"]},{"1345166921":["hashtag1","hashtag2"]},{"1345166899":["hashtag1","hashtag2"]},{"1345166914":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345166910, 1345166904, 1345166894, 1345166921, 1345166899, 1345166914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.661643743515015 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:49:32.241254
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_33_4366.jpg', 2), ('/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_29_3430.jpg', 2), ('/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_26_4489.jpg', 2), ('/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_21_4323.jpg', 2), ('/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_17_3171.jpg', 2), ('/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_14_4206.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_33_4366.jpg', '/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_29_3430.jpg', '/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_26_4489.jpg', '/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_21_4323.jpg', '/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_17_3171.jpg', '/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_14_4206.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_33_4366.jpg
/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_29_3430.jpg
/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_26_4489.jpg
/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_21_4323.jpg
/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_17_3171.jpg
/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_14_4206.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345166949","1345167152","1345167256","1345166944","1345166953","1345166935"],"photo_ids_order":["1345166935","1345166944","1345166949","1345166953","1345167152","1345167256"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/49f67538a54802bdb58fa2964ac6c6e7.jpg","text":"TemporaryFile(/tmp/multipartBody2500968525140421857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313032752,"filename":"image_18032025_00_56_26_4489.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/565a4da1014e209f278c014aa8500ede.jpg","text":"TemporaryFile(/tmp/multipartBody6640699347410635036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313032752,"filename":"image_18032025_00_56_17_3171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c5ef465bb7542b1b222e8d6740ae1e5c.jpg","text":"TemporaryFile(/tmp/multipartBody520761620643980440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313032752,"filename":"image_18032025_00_56_14_4206.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3ffe1389c9470a24aa7a7c47e498f230.jpg","text":"TemporaryFile(/tmp/multipartBody4007562547400756291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313032752,"filename":"image_18032025_00_56_29_3430.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/97e0fbe7acf73487e667138bb6da4661.jpg","text":"TemporaryFile(/tmp/multipartBody8127317431529849563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313032752,"filename":"image_18032025_00_56_21_4323.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/def064e342a4f80e5026783134fc420a.jpg","text":"TemporaryFile(/tmp/multipartBody2834446570252369869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313032752,"filename":"image_18032025_00_56_33_4366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345166949","file1":"1345166944","file0":"1345166935","file4":"1345167152","file5":"1345167256","file3":"1345166953"},"map_files_photo_id_array":[{"photo_id":"1345167256","filename":"file5"},{"photo_id":"1345166949","filename":"file2"},{"photo_id":"1345167152","filename":"file4"},{"photo_id":"1345166944","filename":"file1"},{"photo_id":"1345166935","filename":"file0"},{"photo_id":"1345166953","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345166949":["hashtag1","hashtag2"]},{"1345167152":["hashtag1","hashtag2"]},{"1345167256":["hashtag1","hashtag2"]},{"1345166944":["hashtag1","hashtag2"]},{"1345166953":["hashtag1","hashtag2"]},{"1345166935":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345166949, 1345167152, 1345167256, 1345166944, 1345166953, 1345166935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.37492275238037 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:50:32.439636
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_09_4081.jpg', 2), ('/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_05_4691.jpg', 2), ('/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_01_3027.jpg', 2), ('/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_58_4059.jpg', 2), ('/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_54_4142.jpg', 2), ('/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_49_4131.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_09_4081.jpg', '/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_05_4691.jpg', '/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_01_3027.jpg', '/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_58_4059.jpg', '/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_54_4142.jpg', '/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_49_4131.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_09_4081.jpg
/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_05_4691.jpg
/home/nano/Desktop/images/18032025/00/56/image_18032025_00_56_01_3027.jpg
/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_58_4059.jpg
/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_54_4142.jpg
/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_49_4131.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345167345","1345167354","1345167350","1345167335","1345167340","1345167357"],"photo_ids_order":["1345167335","1345167340","1345167345","1345167350","1345167354","1345167357"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ebae47c124058608ffb7e189cfbccd2f.jpg","text":"TemporaryFile(/tmp/multipartBody5636126172489504464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313092975,"filename":"image_18032025_00_56_01_3027.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ee2419ccd0bccec75fd10709d79f4f66.jpg","text":"TemporaryFile(/tmp/multipartBody9115681956146706792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313092975,"filename":"image_18032025_00_55_54_4142.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0b5b83a041074b7db477d9d5c237df4e.jpg","text":"TemporaryFile(/tmp/multipartBody5618677955110644881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313092975,"filename":"image_18032025_00_55_58_4059.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/084d87c78898ed9df9a865262419b030.jpg","text":"TemporaryFile(/tmp/multipartBody6387978032597022247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313092975,"filename":"image_18032025_00_56_09_4081.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e088fd4dda5feea44d7ac3d1bf669fd5.jpg","text":"TemporaryFile(/tmp/multipartBody4071924611545056104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313092975,"filename":"image_18032025_00_56_05_4691.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a28a70db6c04592b41fa58e373928a81.jpg","text":"TemporaryFile(/tmp/multipartBody1893084987671233365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313092975,"filename":"image_18032025_00_55_49_4131.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345167345","file1":"1345167340","file0":"1345167335","file4":"1345167354","file5":"1345167357","file3":"1345167350"},"map_files_photo_id_array":[{"photo_id":"1345167357","filename":"file5"},{"photo_id":"1345167345","filename":"file2"},{"photo_id":"1345167354","filename":"file4"},{"photo_id":"1345167340","filename":"file1"},{"photo_id":"1345167335","filename":"file0"},{"photo_id":"1345167350","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345167345":["hashtag1","hashtag2"]},{"1345167354":["hashtag1","hashtag2"]},{"1345167350":["hashtag1","hashtag2"]},{"1345167335":["hashtag1","hashtag2"]},{"1345167340":["hashtag1","hashtag2"]},{"1345167357":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345167345, 1345167354, 1345167350, 1345167335, 1345167340, 1345167357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.30783247947693 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:51:32.607843
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_45_4106.jpg', 2), ('/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_41_4147.jpg', 2), ('/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_37_4011.jpg', 2), ('/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_33_4165.jpg', 2), ('/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_29_3218.jpg', 2), ('/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_26_4913.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_45_4106.jpg', '/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_41_4147.jpg', '/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_37_4011.jpg', '/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_33_4165.jpg', '/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_29_3218.jpg', '/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_26_4913.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_45_4106.jpg
/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_41_4147.jpg
/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_37_4011.jpg
/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_33_4165.jpg
/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_29_3218.jpg
/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_26_4913.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345167387","1345167392","1345167377","1345167373","1345167382","1345167396"],"photo_ids_order":["1345167373","1345167377","1345167382","1345167387","1345167392","1345167396"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/eead8adce95f2efd7b1b247d0043f589.jpg","text":"TemporaryFile(/tmp/multipartBody8486795811953807785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313153107,"filename":"image_18032025_00_55_33_4165.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c85a16a13169184dbee3008216d89078.jpg","text":"TemporaryFile(/tmp/multipartBody8766861254000547179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313153107,"filename":"image_18032025_00_55_29_3218.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3434b1183fdae01632c0340d96aa0251.jpg","text":"TemporaryFile(/tmp/multipartBody4878985439315407453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313153107,"filename":"image_18032025_00_55_41_4147.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5241eaaecab87ee4bafc5fb9ad0f8369.jpg","text":"TemporaryFile(/tmp/multipartBody2745262607487549201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313153107,"filename":"image_18032025_00_55_45_4106.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/82d8e3363372e1725164cc31304f3a3a.jpg","text":"TemporaryFile(/tmp/multipartBody8693667115461351498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313153107,"filename":"image_18032025_00_55_37_4011.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/92a30da30fc2105248b9e997cb22b670.jpg","text":"TemporaryFile(/tmp/multipartBody6163820733821843810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313153107,"filename":"image_18032025_00_55_26_4913.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345167382","file1":"1345167377","file0":"1345167373","file4":"1345167392","file5":"1345167396","file3":"1345167387"},"map_files_photo_id_array":[{"photo_id":"1345167396","filename":"file5"},{"photo_id":"1345167382","filename":"file2"},{"photo_id":"1345167392","filename":"file4"},{"photo_id":"1345167377","filename":"file1"},{"photo_id":"1345167373","filename":"file0"},{"photo_id":"1345167387","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345167387":["hashtag1","hashtag2"]},{"1345167392":["hashtag1","hashtag2"]},{"1345167377":["hashtag1","hashtag2"]},{"1345167373":["hashtag1","hashtag2"]},{"1345167382":["hashtag1","hashtag2"]},{"1345167396":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345167387, 1345167392, 1345167377, 1345167373, 1345167382, 1345167396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.16020607948303 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:52:32.772990
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_21_3242.jpg', 2), ('/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_18_4175.jpg', 2), ('/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_13_4204.jpg', 2), ('/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_09_4214.jpg', 2), ('/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_05_3637.jpg', 2), ('/home/nano/Desktop/images/18032025/00/54/image_18032025_00_55_01_3960.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_21_3242.jpg', '/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_18_4175.jpg', '/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_13_4204.jpg', '/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_09_4214.jpg', '/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_05_3637.jpg', '/home/nano/Desktop/images/18032025/00/54/image_18032025_00_55_01_3960.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_21_3242.jpg
/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_18_4175.jpg
/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_13_4204.jpg
/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_09_4214.jpg
/home/nano/Desktop/images/18032025/00/55/image_18032025_00_55_05_3637.jpg
/home/nano/Desktop/images/18032025/00/54/image_18032025_00_55_01_3960.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345167432","1345167417","1345167422","1345167413","1345167427","1345167436"],"photo_ids_order":["1345167413","1345167417","1345167422","1345167427","1345167432","1345167436"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/21134f50d4aa65ec71ba42a4f2f713c1.jpg","text":"TemporaryFile(/tmp/multipartBody5251174593976829643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313213340,"filename":"image_18032025_00_55_05_3637.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/efc784f5e362dcab0130fcc190973ce1.jpg","text":"TemporaryFile(/tmp/multipartBody9186283547431408293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313213340,"filename":"image_18032025_00_55_18_4175.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c010fdd2ddab08047d564fa6947575ab.jpg","text":"TemporaryFile(/tmp/multipartBody6621454337818898121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313213340,"filename":"image_18032025_00_55_13_4204.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/920056a25d4c4d78c239e3d7f8821033.jpg","text":"TemporaryFile(/tmp/multipartBody3905783587387802801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313213340,"filename":"image_18032025_00_55_21_3242.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/42fd23c8b5112d66c36bc5af0bb10ea1.jpg","text":"TemporaryFile(/tmp/multipartBody4070970567619841287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313213340,"filename":"image_18032025_00_55_09_4214.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d60ab4d907566218a457e37f943e9d3b.jpg","text":"TemporaryFile(/tmp/multipartBody8005800712266258859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313213340,"filename":"image_18032025_00_55_01_3960.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345167422","file1":"1345167417","file0":"1345167413","file4":"1345167432","file5":"1345167436","file3":"1345167427"},"map_files_photo_id_array":[{"photo_id":"1345167436","filename":"file5"},{"photo_id":"1345167422","filename":"file2"},{"photo_id":"1345167432","filename":"file4"},{"photo_id":"1345167417","filename":"file1"},{"photo_id":"1345167413","filename":"file0"},{"photo_id":"1345167427","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345167432":["hashtag1","hashtag2"]},{"1345167417":["hashtag1","hashtag2"]},{"1345167422":["hashtag1","hashtag2"]},{"1345167413":["hashtag1","hashtag2"]},{"1345167427":["hashtag1","hashtag2"]},{"1345167436":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345167432, 1345167417, 1345167422, 1345167413, 1345167427, 1345167436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.98152995109558 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:53:31.912242
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_57_4057.jpg', 2), ('/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_53_4053.jpg', 2), ('/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_49_4126.jpg', 2), ('/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_45_4063.jpg', 2), ('/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_41_4041.jpg', 2), ('/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_37_4123.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_57_4057.jpg', '/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_53_4053.jpg', '/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_49_4126.jpg', '/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_45_4063.jpg', '/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_41_4041.jpg', '/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_37_4123.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_57_4057.jpg
/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_53_4053.jpg
/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_49_4126.jpg
/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_45_4063.jpg
/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_41_4041.jpg
/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_37_4123.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345167473","1345167466","1345167475","1345167469","1345167462","1345167456"],"photo_ids_order":["1345167456","1345167462","1345167466","1345167469","1345167473","1345167475"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e25e69fd1b4de8d8534c828160180a79.jpg","text":"TemporaryFile(/tmp/multipartBody3546046168105018149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313272473,"filename":"image_18032025_00_54_41_4041.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/17f3239a30eab60509badeed4ec32344.jpg","text":"TemporaryFile(/tmp/multipartBody4650464062480705726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313272473,"filename":"image_18032025_00_54_49_4126.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8b448281b9d9d6eea3913014f1d2b62f.jpg","text":"TemporaryFile(/tmp/multipartBody8695849353538386392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313272473,"filename":"image_18032025_00_54_37_4123.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2480431a86f9826558206680671a3e40.jpg","text":"TemporaryFile(/tmp/multipartBody4022755098017378664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313272473,"filename":"image_18032025_00_54_45_4063.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f0785aadea4ee07b986051dc25c77355.jpg","text":"TemporaryFile(/tmp/multipartBody9199683345442641005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313272473,"filename":"image_18032025_00_54_53_4053.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5dab52e093902cccd0d7677a9386db67.jpg","text":"TemporaryFile(/tmp/multipartBody7442522919738115467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313272473,"filename":"image_18032025_00_54_57_4057.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345167466","file1":"1345167462","file0":"1345167456","file4":"1345167473","file5":"1345167475","file3":"1345167469"},"map_files_photo_id_array":[{"photo_id":"1345167475","filename":"file5"},{"photo_id":"1345167466","filename":"file2"},{"photo_id":"1345167473","filename":"file4"},{"photo_id":"1345167462","filename":"file1"},{"photo_id":"1345167456","filename":"file0"},{"photo_id":"1345167469","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345167473":["hashtag1","hashtag2"]},{"1345167466":["hashtag1","hashtag2"]},{"1345167475":["hashtag1","hashtag2"]},{"1345167469":["hashtag1","hashtag2"]},{"1345167462":["hashtag1","hashtag2"]},{"1345167456":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345167473, 1345167466, 1345167475, 1345167469, 1345167462, 1345167456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.54881000518799 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:54:32.084902
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_33_4174.jpg', 2), ('/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_29_3177.jpg', 2), ('/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_26_4210.jpg', 2), ('/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_21_4274.jpg', 2), ('/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_17_4229.jpg', 2), ('/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_13_3166.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_33_4174.jpg', '/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_29_3177.jpg', '/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_26_4210.jpg', '/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_21_4274.jpg', '/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_17_4229.jpg', '/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_13_3166.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_33_4174.jpg
/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_29_3177.jpg
/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_26_4210.jpg
/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_21_4274.jpg
/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_17_4229.jpg
/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_13_3166.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345167510","1345167513","1345167516","1345167497","1345167506","1345167502"],"photo_ids_order":["1345167497","1345167502","1345167506","1345167510","1345167513","1345167516"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7b6043fc043d7e4391bb7b3d7e43958a.jpg","text":"TemporaryFile(/tmp/multipartBody5439734881532738550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313332582,"filename":"image_18032025_00_54_21_4274.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/da0e5ae2dbf311f83944cecfffe8d9e4.jpg","text":"TemporaryFile(/tmp/multipartBody6475009455023214917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313332582,"filename":"image_18032025_00_54_17_4229.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/33f81f165c33c03693363272130027ff.jpg","text":"TemporaryFile(/tmp/multipartBody4009909262099937727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313332582,"filename":"image_18032025_00_54_13_3166.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/862bae609381a7ba802352e51b0d3bc5.jpg","text":"TemporaryFile(/tmp/multipartBody6780659612018948278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313332582,"filename":"image_18032025_00_54_33_4174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0758f72bea5c34dce67096993157cd1f.jpg","text":"TemporaryFile(/tmp/multipartBody2614199354061354878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313332582,"filename":"image_18032025_00_54_26_4210.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/388dfb3aa673b679792bbf277a780810.jpg","text":"TemporaryFile(/tmp/multipartBody465284813504754558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313332582,"filename":"image_18032025_00_54_29_3177.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345167506","file1":"1345167502","file0":"1345167497","file4":"1345167513","file5":"1345167516","file3":"1345167510"},"map_files_photo_id_array":[{"photo_id":"1345167516","filename":"file5"},{"photo_id":"1345167506","filename":"file2"},{"photo_id":"1345167513","filename":"file4"},{"photo_id":"1345167502","filename":"file1"},{"photo_id":"1345167497","filename":"file0"},{"photo_id":"1345167510","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345167510":["hashtag1","hashtag2"]},{"1345167513":["hashtag1","hashtag2"]},{"1345167516":["hashtag1","hashtag2"]},{"1345167497":["hashtag1","hashtag2"]},{"1345167506":["hashtag1","hashtag2"]},{"1345167502":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345167510, 1345167513, 1345167516, 1345167497, 1345167506, 1345167502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.62365412712097 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:55:32.249012
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_10_4382.jpg', 2), ('/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_05_3857.jpg', 2), ('/home/nano/Desktop/images/18032025/00/53/image_18032025_00_54_01_4336.jpg', 2), ('/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_57_3375.jpg', 2), ('/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_54_4228.jpg', 2), ('/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_49_4232.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_10_4382.jpg', '/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_05_3857.jpg', '/home/nano/Desktop/images/18032025/00/53/image_18032025_00_54_01_4336.jpg', '/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_57_3375.jpg', '/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_54_4228.jpg', '/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_49_4232.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_10_4382.jpg
/home/nano/Desktop/images/18032025/00/54/image_18032025_00_54_05_3857.jpg
/home/nano/Desktop/images/18032025/00/53/image_18032025_00_54_01_4336.jpg
/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_57_3375.jpg
/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_54_4228.jpg
/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_49_4232.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345167651","1345167587","1345167617","1345167682","1345167535","1345167561"],"photo_ids_order":["1345167535","1345167561","1345167587","1345167617","1345167651","1345167682"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/41cdf9f3c25580f51ae2d251f97b7e9a.jpg","text":"TemporaryFile(/tmp/multipartBody3160273034223505354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313392740,"filename":"image_18032025_00_53_54_4228.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a15d6d3ef013321a4c638ef1911b4e27.jpg","text":"TemporaryFile(/tmp/multipartBody1564607810310850114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313392740,"filename":"image_18032025_00_54_01_4336.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/011d5767e3b4254cd5ccc44aadfe2eea.jpg","text":"TemporaryFile(/tmp/multipartBody5551804350498494325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313392740,"filename":"image_18032025_00_53_57_3375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/43a0c02806c839984ae67ab60eef2178.jpg","text":"TemporaryFile(/tmp/multipartBody311215402829443860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313392740,"filename":"image_18032025_00_53_49_4232.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/847dd6f23fe3ef4ab45c2d4398a827b0.jpg","text":"TemporaryFile(/tmp/multipartBody7940730224072528766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313392740,"filename":"image_18032025_00_54_10_4382.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6e862f4944d0d103f04c5378337c9a20.jpg","text":"TemporaryFile(/tmp/multipartBody7291535899096536221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313392740,"filename":"image_18032025_00_54_05_3857.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345167587","file1":"1345167561","file0":"1345167535","file4":"1345167651","file5":"1345167682","file3":"1345167617"},"map_files_photo_id_array":[{"photo_id":"1345167682","filename":"file5"},{"photo_id":"1345167587","filename":"file2"},{"photo_id":"1345167651","filename":"file4"},{"photo_id":"1345167561","filename":"file1"},{"photo_id":"1345167535","filename":"file0"},{"photo_id":"1345167617","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345167651":["hashtag1","hashtag2"]},{"1345167587":["hashtag1","hashtag2"]},{"1345167617":["hashtag1","hashtag2"]},{"1345167682":["hashtag1","hashtag2"]},{"1345167535":["hashtag1","hashtag2"]},{"1345167561":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345167651, 1345167587, 1345167617, 1345167682, 1345167535, 1345167561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.075024366378784 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:56:32.480070
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_45_4173.jpg', 2), ('/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_41_4197.jpg', 2), ('/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_37_3162.jpg', 2), ('/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_34_4220.jpg', 2), ('/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_29_4226.jpg', 2), ('/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_25_4108.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_45_4173.jpg', '/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_41_4197.jpg', '/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_37_3162.jpg', '/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_34_4220.jpg', '/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_29_4226.jpg', '/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_25_4108.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_45_4173.jpg
/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_41_4197.jpg
/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_37_3162.jpg
/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_34_4220.jpg
/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_29_4226.jpg
/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_25_4108.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345168151","1345168124","1345168022","1345168066","1345168083","1345167984"],"photo_ids_order":["1345167984","1345168022","1345168066","1345168083","1345168124","1345168151"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8f5fe9e2bd76dc3b5b8ad4bc469abf91.jpg","text":"TemporaryFile(/tmp/multipartBody5967175187455887543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313454144,"filename":"image_18032025_00_53_25_4108.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0cc55b1c6a77bba52033a660f06630b4.jpg","text":"TemporaryFile(/tmp/multipartBody1536267632231679354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313454144,"filename":"image_18032025_00_53_29_4226.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/904ee25a591c106cd52b3fa50b9c2c53.jpg","text":"TemporaryFile(/tmp/multipartBody1618196471038527918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313454144,"filename":"image_18032025_00_53_41_4197.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6c8169905fe83d28a9148af0bcc43c2a.jpg","text":"TemporaryFile(/tmp/multipartBody3116996464677224154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313454144,"filename":"image_18032025_00_53_37_3162.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/558a4efe70f00a7b9ec039f12593315f.jpg","text":"TemporaryFile(/tmp/multipartBody4784858464269451249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313454144,"filename":"image_18032025_00_53_34_4220.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ee75dac663d90914f1697102dcfd4eac.jpg","text":"TemporaryFile(/tmp/multipartBody6460756131025154611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313454144,"filename":"image_18032025_00_53_45_4173.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345168066","file1":"1345168022","file0":"1345167984","file4":"1345168124","file5":"1345168151","file3":"1345168083"},"map_files_photo_id_array":[{"photo_id":"1345168151","filename":"file5"},{"photo_id":"1345168066","filename":"file2"},{"photo_id":"1345168124","filename":"file4"},{"photo_id":"1345168022","filename":"file1"},{"photo_id":"1345167984","filename":"file0"},{"photo_id":"1345168083","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345168151":["hashtag1","hashtag2"]},{"1345168124":["hashtag1","hashtag2"]},{"1345168022":["hashtag1","hashtag2"]},{"1345168066":["hashtag1","hashtag2"]},{"1345168083":["hashtag1","hashtag2"]},{"1345167984":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345168151, 1345168124, 1345168022, 1345168066, 1345168083, 1345167984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.50326919555664 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:57:32.641654
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_21_4123.jpg', 2), ('/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_17_4162.jpg', 2), ('/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_13_4068.jpg', 2), ('/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_09_3115.jpg', 2), ('/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_06_4411.jpg', 2), ('/home/nano/Desktop/images/18032025/00/52/image_18032025_00_53_01_4185.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_21_4123.jpg', '/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_17_4162.jpg', '/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_13_4068.jpg', '/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_09_3115.jpg', '/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_06_4411.jpg', '/home/nano/Desktop/images/18032025/00/52/image_18032025_00_53_01_4185.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_21_4123.jpg
/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_17_4162.jpg
/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_13_4068.jpg
/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_09_3115.jpg
/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_06_4411.jpg
/home/nano/Desktop/images/18032025/00/52/image_18032025_00_53_01_4185.jpg
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 16:59:03.405391
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_21_4123.jpg', 2), ('/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_17_4162.jpg', 2), ('/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_13_4068.jpg', 2), ('/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_09_3115.jpg', 2), ('/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_06_4411.jpg', 2), ('/home/nano/Desktop/images/18032025/00/52/image_18032025_00_53_01_4185.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_21_4123.jpg', '/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_17_4162.jpg', '/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_13_4068.jpg', '/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_09_3115.jpg', '/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_06_4411.jpg', '/home/nano/Desktop/images/18032025/00/52/image_18032025_00_53_01_4185.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_21_4123.jpg
/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_17_4162.jpg
/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_13_4068.jpg
/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_09_3115.jpg
/home/nano/Desktop/images/18032025/00/53/image_18032025_00_53_06_4411.jpg
/home/nano/Desktop/images/18032025/00/52/image_18032025_00_53_01_4185.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345168544","1345168538","1345168567","1345168549","1345168560","1345168554"],"photo_ids_order":["1345168538","1345168544","1345168549","1345168554","1345168560","1345168567"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c54611fda285eb86267b5b8ee0bce5b4.jpg","text":"TemporaryFile(/tmp/multipartBody4439843404793059154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313603932,"filename":"image_18032025_00_53_17_4162.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6e7800c515d81bdfca3d88438fe6eca2.jpg","text":"TemporaryFile(/tmp/multipartBody7669993299699773386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313603932,"filename":"image_18032025_00_53_21_4123.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3cdfbb2b02783f531026bff4728986da.jpg","text":"TemporaryFile(/tmp/multipartBody1142181512022592105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313603932,"filename":"image_18032025_00_53_01_4185.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ee1c1a31293843c246bcae571bcd52bb.jpg","text":"TemporaryFile(/tmp/multipartBody478940460462123673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313603932,"filename":"image_18032025_00_53_13_4068.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/32d8aeb971f06bcc0c3706063bd32024.jpg","text":"TemporaryFile(/tmp/multipartBody7583412208617662307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313603932,"filename":"image_18032025_00_53_06_4411.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a915fe5ea2d913829c42949e6f4e55bd.jpg","text":"TemporaryFile(/tmp/multipartBody608908294228699768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313603932,"filename":"image_18032025_00_53_09_3115.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345168549","file1":"1345168544","file0":"1345168538","file4":"1345168560","file5":"1345168567","file3":"1345168554"},"map_files_photo_id_array":[{"photo_id":"1345168567","filename":"file5"},{"photo_id":"1345168549","filename":"file2"},{"photo_id":"1345168560","filename":"file4"},{"photo_id":"1345168544","filename":"file1"},{"photo_id":"1345168538","filename":"file0"},{"photo_id":"1345168554","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345168544":["hashtag1","hashtag2"]},{"1345168538":["hashtag1","hashtag2"]},{"1345168567":["hashtag1","hashtag2"]},{"1345168549":["hashtag1","hashtag2"]},{"1345168560":["hashtag1","hashtag2"]},{"1345168554":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345168544, 1345168538, 1345168567, 1345168549, 1345168560, 1345168554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.90532660484314 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:00:02.277123
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_57_4142.jpg', 2), ('/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_53_4105.jpg', 2), ('/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_49_4038.jpg', 2), ('/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_45_3200.jpg', 2), ('/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_42_4079.jpg', 2), ('/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_37_4131.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_57_4142.jpg', '/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_53_4105.jpg', '/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_49_4038.jpg', '/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_45_3200.jpg', '/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_42_4079.jpg', '/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_37_4131.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_57_4142.jpg
/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_53_4105.jpg
/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_49_4038.jpg
/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_45_3200.jpg
/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_42_4079.jpg
/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_37_4131.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345169342","1345169368","1345169176","1345169283","1345169313","1345169072"],"photo_ids_order":["1345169072","1345169176","1345169283","1345169313","1345169342","1345169368"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5934d821b04606b27689e146bfbd5f85.jpg","text":"TemporaryFile(/tmp/multipartBody8035428315767822286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313662777,"filename":"image_18032025_00_52_42_4079.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a40cbf28f04d4e2c2833069f2c8d54b9.jpg","text":"TemporaryFile(/tmp/multipartBody5616266718522994569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313662777,"filename":"image_18032025_00_52_37_4131.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e80a1972aad936d991f93065a0eca541.jpg","text":"TemporaryFile(/tmp/multipartBody2132718534184230382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313662777,"filename":"image_18032025_00_52_53_4105.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e5254a3512b6a0fe7ce943303e57a697.jpg","text":"TemporaryFile(/tmp/multipartBody6435656984937162898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313662777,"filename":"image_18032025_00_52_49_4038.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a1c1eeb8126cf9dd769cb93f56aeb605.jpg","text":"TemporaryFile(/tmp/multipartBody2268703067530329240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313662777,"filename":"image_18032025_00_52_45_3200.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b8965308a55add37d57583bec2900ac4.jpg","text":"TemporaryFile(/tmp/multipartBody4163882068559063337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313662777,"filename":"image_18032025_00_52_57_4142.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345169283","file1":"1345169176","file0":"1345169072","file4":"1345169342","file5":"1345169368","file3":"1345169313"},"map_files_photo_id_array":[{"photo_id":"1345169368","filename":"file5"},{"photo_id":"1345169283","filename":"file2"},{"photo_id":"1345169342","filename":"file4"},{"photo_id":"1345169176","filename":"file1"},{"photo_id":"1345169072","filename":"file0"},{"photo_id":"1345169313","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345169342":["hashtag1","hashtag2"]},{"1345169368":["hashtag1","hashtag2"]},{"1345169176":["hashtag1","hashtag2"]},{"1345169283":["hashtag1","hashtag2"]},{"1345169313":["hashtag1","hashtag2"]},{"1345169072":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345169342, 1345169368, 1345169176, 1345169283, 1345169313, 1345169072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.09977102279663 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:01:02.505291
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_33_4226.jpg', 2), ('/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_29_4123.jpg', 2), ('/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_25_4106.jpg', 2), ('/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_21_4179.jpg', 2), ('/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_17_3179.jpg', 2), ('/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_14_4052.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_33_4226.jpg', '/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_29_4123.jpg', '/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_25_4106.jpg', '/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_21_4179.jpg', '/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_17_3179.jpg', '/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_14_4052.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_33_4226.jpg
/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_29_4123.jpg
/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_25_4106.jpg
/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_21_4179.jpg
/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_17_3179.jpg
/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_14_4052.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345169933","1345169876","1345169761","1345169904","1345169951","1345169846"],"photo_ids_order":["1345169761","1345169846","1345169876","1345169904","1345169933","1345169951"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ffb55d459f92fcc26b5068ccfa90b52d.jpg","text":"TemporaryFile(/tmp/multipartBody8722194268282534421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313723034,"filename":"image_18032025_00_52_17_3179.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8a9ca16b915b24c3da35f588c61585c4.jpg","text":"TemporaryFile(/tmp/multipartBody6609867043308066495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313723034,"filename":"image_18032025_00_52_25_4106.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1a6814e7b3bd39f38e8f162bf6a1a305.jpg","text":"TemporaryFile(/tmp/multipartBody7807375524729933924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313723034,"filename":"image_18032025_00_52_33_4226.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/55ea0b72ac3ffe406a8706ecf6b796c6.jpg","text":"TemporaryFile(/tmp/multipartBody1438984041906101263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313723034,"filename":"image_18032025_00_52_21_4179.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fc0c336713b42cb1a2a20fdf9580f0ed.jpg","text":"TemporaryFile(/tmp/multipartBody499384103017088185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313723034,"filename":"image_18032025_00_52_14_4052.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a07bac0ad6aa798cd4a4948461f2ea02.jpg","text":"TemporaryFile(/tmp/multipartBody3534996421621912547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313723034,"filename":"image_18032025_00_52_29_4123.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345169876","file1":"1345169846","file0":"1345169761","file4":"1345169933","file5":"1345169951","file3":"1345169904"},"map_files_photo_id_array":[{"photo_id":"1345169951","filename":"file5"},{"photo_id":"1345169876","filename":"file2"},{"photo_id":"1345169933","filename":"file4"},{"photo_id":"1345169846","filename":"file1"},{"photo_id":"1345169761","filename":"file0"},{"photo_id":"1345169904","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345169933":["hashtag1","hashtag2"]},{"1345169876":["hashtag1","hashtag2"]},{"1345169761":["hashtag1","hashtag2"]},{"1345169904":["hashtag1","hashtag2"]},{"1345169951":["hashtag1","hashtag2"]},{"1345169846":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345169933, 1345169876, 1345169761, 1345169904, 1345169951, 1345169846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.402976989746094 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:02:02.770126
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_09_4263.jpg', 2), ('/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_05_4267.jpg', 2), ('/home/nano/Desktop/images/18032025/00/51/image_18032025_00_52_01_4128.jpg', 2), ('/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_57_3383.jpg', 2), ('/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_53_4184.jpg', 2), ('/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_49_4265.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_09_4263.jpg', '/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_05_4267.jpg', '/home/nano/Desktop/images/18032025/00/51/image_18032025_00_52_01_4128.jpg', '/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_57_3383.jpg', '/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_53_4184.jpg', '/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_49_4265.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_09_4263.jpg
/home/nano/Desktop/images/18032025/00/52/image_18032025_00_52_05_4267.jpg
/home/nano/Desktop/images/18032025/00/51/image_18032025_00_52_01_4128.jpg
/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_57_3383.jpg
/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_53_4184.jpg
/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_49_4265.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345170191","1345170158","1345170167","1345170155","1345170160","1345170163"],"photo_ids_order":["1345170155","1345170158","1345170160","1345170163","1345170167","1345170191"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/41dc5e686d51ed01d786ed06c5d6f75f.jpg","text":"TemporaryFile(/tmp/multipartBody4793807382393999003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313783286,"filename":"image_18032025_00_51_49_4265.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e76bc0b96ae842ba7f3ec7324db8d31e.jpg","text":"TemporaryFile(/tmp/multipartBody8654797161851895040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313783286,"filename":"image_18032025_00_52_05_4267.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d1d02960448e27d414dc7a89e4f68f7c.jpg","text":"TemporaryFile(/tmp/multipartBody6553613713928643558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313783286,"filename":"image_18032025_00_51_53_4184.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0a88ab8b86a047c7add90c7a0fd67cd6.jpg","text":"TemporaryFile(/tmp/multipartBody5446336147127217470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313783286,"filename":"image_18032025_00_52_09_4263.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a8a44c9182bc3ad876d42bcc025a50fe.jpg","text":"TemporaryFile(/tmp/multipartBody3369120205283227071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313783286,"filename":"image_18032025_00_52_01_4128.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/53ad0e40e31bb49d9d6803c112be354c.jpg","text":"TemporaryFile(/tmp/multipartBody444619685684640065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313783286,"filename":"image_18032025_00_51_57_3383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345170160","file1":"1345170158","file0":"1345170155","file4":"1345170167","file5":"1345170191","file3":"1345170163"},"map_files_photo_id_array":[{"photo_id":"1345170191","filename":"file5"},{"photo_id":"1345170160","filename":"file2"},{"photo_id":"1345170167","filename":"file4"},{"photo_id":"1345170158","filename":"file1"},{"photo_id":"1345170155","filename":"file0"},{"photo_id":"1345170163","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345170191":["hashtag1","hashtag2"]},{"1345170158":["hashtag1","hashtag2"]},{"1345170167":["hashtag1","hashtag2"]},{"1345170155":["hashtag1","hashtag2"]},{"1345170160":["hashtag1","hashtag2"]},{"1345170163":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345170191, 1345170158, 1345170167, 1345170155, 1345170160, 1345170163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.873055934906006 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:03:02.963170
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_45_4229.jpg', 2), ('/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_41_3257.jpg', 2), ('/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_38_4195.jpg', 2), ('/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_33_4178.jpg', 2), ('/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_29_4198.jpg', 2), ('/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_25_4221.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_45_4229.jpg', '/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_41_3257.jpg', '/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_38_4195.jpg', '/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_33_4178.jpg', '/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_29_4198.jpg', '/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_25_4221.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_45_4229.jpg
/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_41_3257.jpg
/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_38_4195.jpg
/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_33_4178.jpg
/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_29_4198.jpg
/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_25_4221.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345170395","1345170380","1345170422","1345170391","1345170384","1345170387"],"photo_ids_order":["1345170380","1345170384","1345170387","1345170391","1345170395","1345170422"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/af4266dc62ffda9f012a0958ee6f22b7.jpg","text":"TemporaryFile(/tmp/multipartBody2361540901178569948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313843472,"filename":"image_18032025_00_51_29_4198.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d836b2bbb9b16ba9c441021358d67c5d.jpg","text":"TemporaryFile(/tmp/multipartBody4042673673292992943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313843472,"filename":"image_18032025_00_51_45_4229.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bfb69825e48e1e07b820a6be1c5b9af3.jpg","text":"TemporaryFile(/tmp/multipartBody5345060383443384303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313843472,"filename":"image_18032025_00_51_25_4221.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f452ababa9351f3b637c1bcff9cf9503.jpg","text":"TemporaryFile(/tmp/multipartBody3682581574356538834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313843472,"filename":"image_18032025_00_51_33_4178.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/279efe8c1742125ee25fed13b893b8b4.jpg","text":"TemporaryFile(/tmp/multipartBody1455974319310314670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313843472,"filename":"image_18032025_00_51_41_3257.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2358f66704cebd9dff511881a85ae826.jpg","text":"TemporaryFile(/tmp/multipartBody4838247110475200822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313843472,"filename":"image_18032025_00_51_38_4195.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345170387","file1":"1345170384","file0":"1345170380","file4":"1345170395","file5":"1345170422","file3":"1345170391"},"map_files_photo_id_array":[{"photo_id":"1345170422","filename":"file5"},{"photo_id":"1345170387","filename":"file2"},{"photo_id":"1345170395","filename":"file4"},{"photo_id":"1345170384","filename":"file1"},{"photo_id":"1345170380","filename":"file0"},{"photo_id":"1345170391","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345170395":["hashtag1","hashtag2"]},{"1345170380":["hashtag1","hashtag2"]},{"1345170422":["hashtag1","hashtag2"]},{"1345170391":["hashtag1","hashtag2"]},{"1345170384":["hashtag1","hashtag2"]},{"1345170387":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345170395, 1345170380, 1345170422, 1345170391, 1345170384, 1345170387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.373730421066284 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:04:03.423327
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_21_3207.jpg', 2), ('/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_18_4178.jpg', 2), ('/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_13_4210.jpg', 2), ('/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_09_4233.jpg', 2), ('/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_05_3756.jpg', 2), ('/home/nano/Desktop/images/18032025/00/50/image_18032025_00_51_01_4253.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_21_3207.jpg', '/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_18_4178.jpg', '/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_13_4210.jpg', '/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_09_4233.jpg', '/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_05_3756.jpg', '/home/nano/Desktop/images/18032025/00/50/image_18032025_00_51_01_4253.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_21_3207.jpg
/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_18_4178.jpg
/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_13_4210.jpg
/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_09_4233.jpg
/home/nano/Desktop/images/18032025/00/51/image_18032025_00_51_05_3756.jpg
/home/nano/Desktop/images/18032025/00/50/image_18032025_00_51_01_4253.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345170532","1345170526","1345170529","1345170520","1345170538","1345170523"],"photo_ids_order":["1345170520","1345170523","1345170526","1345170529","1345170532","1345170538"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/10871c10b869895e9a16396d0930a4de.jpg","text":"TemporaryFile(/tmp/multipartBody109024499036620880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313903962,"filename":"image_18032025_00_51_05_3756.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ddd874c9dc46aace980424e6a0a1f02f.jpg","text":"TemporaryFile(/tmp/multipartBody7079390752111572277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313903962,"filename":"image_18032025_00_51_13_4210.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e046c53ad4c453cf7d94639e0b9067f2.jpg","text":"TemporaryFile(/tmp/multipartBody1834362841267679461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313903962,"filename":"image_18032025_00_51_09_4233.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/79793093d353a78c69944b422a6df7a8.jpg","text":"TemporaryFile(/tmp/multipartBody8615032671453769428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313903962,"filename":"image_18032025_00_51_21_3207.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/50d2b9b5affab2e8c857b17763d2f5dd.jpg","text":"TemporaryFile(/tmp/multipartBody4691236218474210041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313903962,"filename":"image_18032025_00_51_01_4253.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3fcc37749eda232b4bfd8e8594469f78.jpg","text":"TemporaryFile(/tmp/multipartBody4376049085605031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313903962,"filename":"image_18032025_00_51_18_4178.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345170526","file1":"1345170523","file0":"1345170520","file4":"1345170532","file5":"1345170538","file3":"1345170529"},"map_files_photo_id_array":[{"photo_id":"1345170538","filename":"file5"},{"photo_id":"1345170526","filename":"file2"},{"photo_id":"1345170532","filename":"file4"},{"photo_id":"1345170523","filename":"file1"},{"photo_id":"1345170520","filename":"file0"},{"photo_id":"1345170529","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345170532":["hashtag1","hashtag2"]},{"1345170526":["hashtag1","hashtag2"]},{"1345170529":["hashtag1","hashtag2"]},{"1345170520":["hashtag1","hashtag2"]},{"1345170538":["hashtag1","hashtag2"]},{"1345170523":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345170532, 1345170526, 1345170529, 1345170520, 1345170538, 1345170523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.72236728668213 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:05:03.120676
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_57_3243.jpg', 2), ('/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_54_4014.jpg', 2), ('/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_50_4228.jpg', 2), ('/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_45_4247.jpg', 2), ('/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_41_4249.jpg', 2), ('/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_37_3220.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_57_3243.jpg', '/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_54_4014.jpg', '/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_50_4228.jpg', '/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_45_4247.jpg', '/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_41_4249.jpg', '/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_37_3220.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_57_3243.jpg
/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_54_4014.jpg
/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_50_4228.jpg
/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_45_4247.jpg
/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_41_4249.jpg
/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_37_3220.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345170938","1345170887","1345170836","1345170727","1345170981","1345170783"],"photo_ids_order":["1345170727","1345170783","1345170836","1345170887","1345170938","1345170981"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/990a4d38fe12dcf68cdad34908811181.jpg","text":"TemporaryFile(/tmp/multipartBody3617303555836015583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313963668,"filename":"image_18032025_00_50_41_4249.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d2609dedc7b13e8b99d31eab6d2ae9ef.jpg","text":"TemporaryFile(/tmp/multipartBody9040777520297732411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313963668,"filename":"image_18032025_00_50_45_4247.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5b44296fe800d513ddbf8e9f9c09d840.jpg","text":"TemporaryFile(/tmp/multipartBody6186280150054241198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313963668,"filename":"image_18032025_00_50_50_4228.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ac129105646763b5fda4f04d81025daa.jpg","text":"TemporaryFile(/tmp/multipartBody4054610390743516384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313963668,"filename":"image_18032025_00_50_57_3243.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3d13ba44445d5e8854442d54be0e8add.jpg","text":"TemporaryFile(/tmp/multipartBody3035801232617443405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313963668,"filename":"image_18032025_00_50_37_3220.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/66b92b9e3782e3c0a458de8a03713367.jpg","text":"TemporaryFile(/tmp/multipartBody4848377934693912905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742313963668,"filename":"image_18032025_00_50_54_4014.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345170836","file1":"1345170783","file0":"1345170727","file4":"1345170938","file5":"1345170981","file3":"1345170887"},"map_files_photo_id_array":[{"photo_id":"1345170981","filename":"file5"},{"photo_id":"1345170836","filename":"file2"},{"photo_id":"1345170938","filename":"file4"},{"photo_id":"1345170783","filename":"file1"},{"photo_id":"1345170727","filename":"file0"},{"photo_id":"1345170887","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345170938":["hashtag1","hashtag2"]},{"1345170887":["hashtag1","hashtag2"]},{"1345170836":["hashtag1","hashtag2"]},{"1345170727":["hashtag1","hashtag2"]},{"1345170981":["hashtag1","hashtag2"]},{"1345170783":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345170938, 1345170887, 1345170836, 1345170727, 1345170981, 1345170783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.01382565498352 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:06:02.538337
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_34_4194.jpg', 2), ('/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_29_4207.jpg', 2), ('/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_25_4314.jpg', 2), ('/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_21_4257.jpg', 2), ('/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_17_3181.jpg', 2), ('/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_14_4244.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_34_4194.jpg', '/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_29_4207.jpg', '/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_25_4314.jpg', '/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_21_4257.jpg', '/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_17_3181.jpg', '/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_14_4244.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_34_4194.jpg
/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_29_4207.jpg
/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_25_4314.jpg
/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_21_4257.jpg
/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_17_3181.jpg
/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_14_4244.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345171064","1345171058","1345171067","1345171060","1345171062","1345171055"],"photo_ids_order":["1345171055","1345171058","1345171060","1345171062","1345171064","1345171067"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1a14bb95c129f327dd6a5a5c53c486e8.jpg","text":"TemporaryFile(/tmp/multipartBody8249621023984042199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314023055,"filename":"image_18032025_00_50_17_3181.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/821e7d417ea4cc28d4981f1fb7cfc716.jpg","text":"TemporaryFile(/tmp/multipartBody7576704854543342053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314023055,"filename":"image_18032025_00_50_29_4207.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b036c3f683bec05972878e9b94aee61e.jpg","text":"TemporaryFile(/tmp/multipartBody8529155012464054389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314023055,"filename":"image_18032025_00_50_14_4244.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c510d03a46ebf3999fa60d1df04ba4f3.jpg","text":"TemporaryFile(/tmp/multipartBody927401124221797523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314023055,"filename":"image_18032025_00_50_25_4314.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6279d6bc24a8c9c4f0c2f7ff73eaf1c0.jpg","text":"TemporaryFile(/tmp/multipartBody9181383956456764147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314023055,"filename":"image_18032025_00_50_21_4257.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4c4973ad625d36b5cd0975cf308fb96f.jpg","text":"TemporaryFile(/tmp/multipartBody2285502118467324793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314023055,"filename":"image_18032025_00_50_34_4194.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345171060","file1":"1345171058","file0":"1345171055","file4":"1345171064","file5":"1345171067","file3":"1345171062"},"map_files_photo_id_array":[{"photo_id":"1345171067","filename":"file5"},{"photo_id":"1345171060","filename":"file2"},{"photo_id":"1345171064","filename":"file4"},{"photo_id":"1345171058","filename":"file1"},{"photo_id":"1345171055","filename":"file0"},{"photo_id":"1345171062","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345171064":["hashtag1","hashtag2"]},{"1345171058":["hashtag1","hashtag2"]},{"1345171067":["hashtag1","hashtag2"]},{"1345171060":["hashtag1","hashtag2"]},{"1345171062":["hashtag1","hashtag2"]},{"1345171055":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345171064, 1345171058, 1345171067, 1345171060, 1345171062, 1345171055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.379372358322144 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:07:02.610043
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_09_4435.jpg', 2), ('/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_05_3797.jpg', 2), ('/home/nano/Desktop/images/18032025/00/49/image_18032025_00_50_01_4176.jpg', 2), ('/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_57_3437.jpg', 2), ('/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_53_4268.jpg', 2), ('/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_49_3777.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_09_4435.jpg', '/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_05_3797.jpg', '/home/nano/Desktop/images/18032025/00/49/image_18032025_00_50_01_4176.jpg', '/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_57_3437.jpg', '/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_53_4268.jpg', '/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_49_3777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_09_4435.jpg
/home/nano/Desktop/images/18032025/00/50/image_18032025_00_50_05_3797.jpg
/home/nano/Desktop/images/18032025/00/49/image_18032025_00_50_01_4176.jpg
/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_57_3437.jpg
/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_53_4268.jpg
/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_49_3777.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345171100","1345171093","1345171096","1345171102","1345171105","1345171098"],"photo_ids_order":["1345171093","1345171096","1345171098","1345171100","1345171102","1345171105"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/eed9ef4354162bda6731c25ccd8b6719.jpg","text":"TemporaryFile(/tmp/multipartBody6192981665595702955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314083124,"filename":"image_18032025_00_49_57_3437.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/07e33f6122fe1cfdee98a36003a4490e.jpg","text":"TemporaryFile(/tmp/multipartBody3211318392420272013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314083124,"filename":"image_18032025_00_50_09_4435.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d2452f7c9d45b9fbd8e65cccf5847e77.jpg","text":"TemporaryFile(/tmp/multipartBody8205648285092666576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314083124,"filename":"image_18032025_00_50_05_3797.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0e14a2b26906260a9c1f1d36ced10054.jpg","text":"TemporaryFile(/tmp/multipartBody31414212938880655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314083124,"filename":"image_18032025_00_49_53_4268.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/84ff4508e67a2be947e2a5615c20109c.jpg","text":"TemporaryFile(/tmp/multipartBody5532301560617159692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314083124,"filename":"image_18032025_00_49_49_3777.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cfb2cb516e77a2e8b49c4bcf09a12a15.jpg","text":"TemporaryFile(/tmp/multipartBody3600795426928930394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314083124,"filename":"image_18032025_00_50_01_4176.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345171098","file1":"1345171096","file0":"1345171093","file4":"1345171102","file5":"1345171105","file3":"1345171100"},"map_files_photo_id_array":[{"photo_id":"1345171105","filename":"file5"},{"photo_id":"1345171098","filename":"file2"},{"photo_id":"1345171102","filename":"file4"},{"photo_id":"1345171096","filename":"file1"},{"photo_id":"1345171093","filename":"file0"},{"photo_id":"1345171100","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345171100":["hashtag1","hashtag2"]},{"1345171093":["hashtag1","hashtag2"]},{"1345171096":["hashtag1","hashtag2"]},{"1345171102":["hashtag1","hashtag2"]},{"1345171105":["hashtag1","hashtag2"]},{"1345171098":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345171100, 1345171093, 1345171096, 1345171102, 1345171105, 1345171098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.32900357246399 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:08:02.742792
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_45_3939.jpg', 2), ('/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_41_3993.jpg', 2), ('/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_37_4120.jpg', 2), ('/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_33_4099.jpg', 2), ('/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_29_4119.jpg', 2), ('/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_25_4094.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_45_3939.jpg', '/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_41_3993.jpg', '/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_37_4120.jpg', '/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_33_4099.jpg', '/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_29_4119.jpg', '/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_25_4094.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_45_3939.jpg
/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_41_3993.jpg
/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_37_4120.jpg
/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_33_4099.jpg
/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_29_4119.jpg
/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_25_4094.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345171139","1345171135","1345171129","1345171132","1345171126","1345171137"],"photo_ids_order":["1345171126","1345171129","1345171132","1345171135","1345171137","1345171139"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/26a8ae6566930f5fc46c02f00fda150f.jpg","text":"TemporaryFile(/tmp/multipartBody2245538771791028843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314143220,"filename":"image_18032025_00_49_25_4094.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/00c628b75aab3c5f1b6d390cecc0a0df.jpg","text":"TemporaryFile(/tmp/multipartBody8421517830205255428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314143220,"filename":"image_18032025_00_49_33_4099.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/08c81edbd3c02a8a6e06f27fd2721c69.jpg","text":"TemporaryFile(/tmp/multipartBody4609250165711389503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314143220,"filename":"image_18032025_00_49_41_3993.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1475dd879ba6609705bef5bc09366893.jpg","text":"TemporaryFile(/tmp/multipartBody6111087651875720723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314143220,"filename":"image_18032025_00_49_37_4120.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6cd7d74ad0a110f486c35abba7e677fa.jpg","text":"TemporaryFile(/tmp/multipartBody3119490198152823433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314143220,"filename":"image_18032025_00_49_45_3939.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/066f5341d0e9e7b599745883d041db7f.jpg","text":"TemporaryFile(/tmp/multipartBody6389853466695683416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314143220,"filename":"image_18032025_00_49_29_4119.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345171132","file1":"1345171129","file0":"1345171126","file4":"1345171137","file5":"1345171139","file3":"1345171135"},"map_files_photo_id_array":[{"photo_id":"1345171139","filename":"file5"},{"photo_id":"1345171132","filename":"file2"},{"photo_id":"1345171137","filename":"file4"},{"photo_id":"1345171129","filename":"file1"},{"photo_id":"1345171126","filename":"file0"},{"photo_id":"1345171135","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345171139":["hashtag1","hashtag2"]},{"1345171135":["hashtag1","hashtag2"]},{"1345171129":["hashtag1","hashtag2"]},{"1345171132":["hashtag1","hashtag2"]},{"1345171126":["hashtag1","hashtag2"]},{"1345171137":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345171139, 1345171135, 1345171129, 1345171132, 1345171126, 1345171137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.296825408935547 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:09:03.282372
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_21_4034.jpg', 2), ('/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_17_4013.jpg', 2), ('/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_13_4026.jpg', 2), ('/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_09_4051.jpg', 2), ('/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_05_3386.jpg', 2), ('/home/nano/Desktop/images/18032025/00/48/image_18032025_00_49_02_4049.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_21_4034.jpg', '/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_17_4013.jpg', '/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_13_4026.jpg', '/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_09_4051.jpg', '/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_05_3386.jpg', '/home/nano/Desktop/images/18032025/00/48/image_18032025_00_49_02_4049.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_21_4034.jpg
/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_17_4013.jpg
/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_13_4026.jpg
/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_09_4051.jpg
/home/nano/Desktop/images/18032025/00/49/image_18032025_00_49_05_3386.jpg
/home/nano/Desktop/images/18032025/00/48/image_18032025_00_49_02_4049.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345171180","1345171176","1345171170","1345171164","1345171173","1345171167"],"photo_ids_order":["1345171164","1345171167","1345171170","1345171173","1345171176","1345171180"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c84b43dbe717c13a9005563fac37564f.jpg","text":"TemporaryFile(/tmp/multipartBody3800517582353235352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314203787,"filename":"image_18032025_00_49_02_4049.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c9cae7e8fadfb142b65769105590d23a.jpg","text":"TemporaryFile(/tmp/multipartBody5537296351605211738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314203787,"filename":"image_18032025_00_49_05_3386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4a473e6d9f7478e211e5415a0ad61067.jpg","text":"TemporaryFile(/tmp/multipartBody5658096019450988913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314203787,"filename":"image_18032025_00_49_13_4026.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bdef3160cce8bf2351553b22c901721a.jpg","text":"TemporaryFile(/tmp/multipartBody4799377879970727118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314203787,"filename":"image_18032025_00_49_21_4034.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/eb287d45a61c2f34a5fea648cb735c99.jpg","text":"TemporaryFile(/tmp/multipartBody8498948832944975172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314203787,"filename":"image_18032025_00_49_09_4051.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9fd59f9c1fc32cec6098379fdc3cc8dc.jpg","text":"TemporaryFile(/tmp/multipartBody1643290084947651939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314203787,"filename":"image_18032025_00_49_17_4013.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345171170","file1":"1345171167","file0":"1345171164","file4":"1345171176","file5":"1345171180","file3":"1345171173"},"map_files_photo_id_array":[{"photo_id":"1345171180","filename":"file5"},{"photo_id":"1345171170","filename":"file2"},{"photo_id":"1345171176","filename":"file4"},{"photo_id":"1345171167","filename":"file1"},{"photo_id":"1345171164","filename":"file0"},{"photo_id":"1345171173","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345171180":["hashtag1","hashtag2"]},{"1345171176":["hashtag1","hashtag2"]},{"1345171170":["hashtag1","hashtag2"]},{"1345171164":["hashtag1","hashtag2"]},{"1345171173":["hashtag1","hashtag2"]},{"1345171167":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345171180, 1345171176, 1345171170, 1345171164, 1345171173, 1345171167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.148812770843506 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:10:03.087494
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_57_4159.jpg', 2), ('/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_53_4071.jpg', 2), ('/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_49_4124.jpg', 2), ('/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_45_4100.jpg', 2), ('/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_41_4081.jpg', 2), ('/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_37_4124.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_57_4159.jpg', '/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_53_4071.jpg', '/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_49_4124.jpg', '/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_45_4100.jpg', '/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_41_4081.jpg', '/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_37_4124.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_57_4159.jpg
/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_53_4071.jpg
/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_49_4124.jpg
/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_45_4100.jpg
/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_41_4081.jpg
/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_37_4124.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345171235","1345171238","1345171223","1345171230","1345171233","1345171227"],"photo_ids_order":["1345171223","1345171227","1345171230","1345171233","1345171235","1345171238"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d98caa75e23b702382f4998bd09bd065.jpg","text":"TemporaryFile(/tmp/multipartBody2073818847593969435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314263587,"filename":"image_18032025_00_48_41_4081.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0f6d1a0d573cc2505e277d0c42b77a1a.jpg","text":"TemporaryFile(/tmp/multipartBody4730260906225602245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314263587,"filename":"image_18032025_00_48_37_4124.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b0d17259eea1f168bbdbf9ffd286c3aa.jpg","text":"TemporaryFile(/tmp/multipartBody7040837298805247300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314263587,"filename":"image_18032025_00_48_57_4159.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/552022f6bdceada1a27409016ff56f05.jpg","text":"TemporaryFile(/tmp/multipartBody479308313211058208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314263587,"filename":"image_18032025_00_48_49_4124.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b22b43b8f92d529b99ec48c40a02315b.jpg","text":"TemporaryFile(/tmp/multipartBody2124578610596690125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314263587,"filename":"image_18032025_00_48_45_4100.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/963018f216e48da669af13d621c9249d.jpg","text":"TemporaryFile(/tmp/multipartBody1828986577188778122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314263587,"filename":"image_18032025_00_48_53_4071.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345171230","file1":"1345171227","file0":"1345171223","file4":"1345171235","file5":"1345171238","file3":"1345171233"},"map_files_photo_id_array":[{"photo_id":"1345171238","filename":"file5"},{"photo_id":"1345171230","filename":"file2"},{"photo_id":"1345171235","filename":"file4"},{"photo_id":"1345171227","filename":"file1"},{"photo_id":"1345171223","filename":"file0"},{"photo_id":"1345171233","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345171235":["hashtag1","hashtag2"]},{"1345171238":["hashtag1","hashtag2"]},{"1345171223":["hashtag1","hashtag2"]},{"1345171230":["hashtag1","hashtag2"]},{"1345171233":["hashtag1","hashtag2"]},{"1345171227":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345171235, 1345171238, 1345171223, 1345171230, 1345171233, 1345171227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.75326132774353 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:11:02.174359
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_33_3133.jpg', 2), ('/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_30_4063.jpg', 2), ('/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_26_4060.jpg', 2), ('/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_22_4114.jpg', 2), ('/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_17_4058.jpg', 2), ('/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_13_4082.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_33_3133.jpg', '/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_30_4063.jpg', '/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_26_4060.jpg', '/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_22_4114.jpg', '/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_17_4058.jpg', '/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_13_4082.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_33_3133.jpg
/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_30_4063.jpg
/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_26_4060.jpg
/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_22_4114.jpg
/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_17_4058.jpg
/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_13_4082.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345171273","1345171269","1345171260","1345171263","1345171266","1345171271"],"photo_ids_order":["1345171260","1345171263","1345171266","1345171269","1345171271","1345171273"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/01bd8aa9ef247e78f618559432f7235b.jpg","text":"TemporaryFile(/tmp/multipartBody8676705041121568692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314322672,"filename":"image_18032025_00_48_13_4082.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/12d019a8a7a5c5801a21f338a9a818da.jpg","text":"TemporaryFile(/tmp/multipartBody8218477207647440702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314322672,"filename":"image_18032025_00_48_22_4114.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/47282bbc70fb3d42d5a147166d421538.jpg","text":"TemporaryFile(/tmp/multipartBody5126524659172113570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314322672,"filename":"image_18032025_00_48_33_3133.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/17f8f315f8b1541a08bc9720017190da.jpg","text":"TemporaryFile(/tmp/multipartBody2452156575584092925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314322672,"filename":"image_18032025_00_48_30_4063.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6fb76f2174127b11dd8abb4b0bcb6868.jpg","text":"TemporaryFile(/tmp/multipartBody4248759331850022577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314322672,"filename":"image_18032025_00_48_26_4060.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f3a733ed3ebe2ceb32fb771e2c54199d.jpg","text":"TemporaryFile(/tmp/multipartBody2748905578335412125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314322672,"filename":"image_18032025_00_48_17_4058.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345171266","file1":"1345171263","file0":"1345171260","file4":"1345171271","file5":"1345171273","file3":"1345171269"},"map_files_photo_id_array":[{"photo_id":"1345171273","filename":"file5"},{"photo_id":"1345171266","filename":"file2"},{"photo_id":"1345171271","filename":"file4"},{"photo_id":"1345171263","filename":"file1"},{"photo_id":"1345171260","filename":"file0"},{"photo_id":"1345171269","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345171273":["hashtag1","hashtag2"]},{"1345171269":["hashtag1","hashtag2"]},{"1345171260":["hashtag1","hashtag2"]},{"1345171263":["hashtag1","hashtag2"]},{"1345171266":["hashtag1","hashtag2"]},{"1345171271":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345171273, 1345171269, 1345171260, 1345171263, 1345171266, 1345171271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.013327836990356 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:12:02.540652
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_09_4280.jpg', 2), ('/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_05_3367.jpg', 2), ('/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_02_4247.jpg', 2), ('/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_57_4224.jpg', 2), ('/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_53_4213.jpg', 2), ('/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_49_4144.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_09_4280.jpg', '/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_05_3367.jpg', '/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_02_4247.jpg', '/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_57_4224.jpg', '/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_53_4213.jpg', '/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_49_4144.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_09_4280.jpg
/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_05_3367.jpg
/home/nano/Desktop/images/18032025/00/48/image_18032025_00_48_02_4247.jpg
/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_57_4224.jpg
/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_53_4213.jpg
/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_49_4144.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345171310","1345171297","1345171300","1345171303","1345171306","1345171308"],"photo_ids_order":["1345171297","1345171300","1345171303","1345171306","1345171308","1345171310"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c7aeca9da06dc0732df28c631e9d10fd.jpg","text":"TemporaryFile(/tmp/multipartBody9150761478043506471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314383087,"filename":"image_18032025_00_47_49_4144.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9a8bfd477470788283250b0265e7308a.jpg","text":"TemporaryFile(/tmp/multipartBody5174353940019515786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314383087,"filename":"image_18032025_00_48_09_4280.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0d4cad674f16aac4babaabfc38d7d3a4.jpg","text":"TemporaryFile(/tmp/multipartBody7555403118944556451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314383087,"filename":"image_18032025_00_48_05_3367.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/08dd0ca78eff256cf944d7bdd6174497.jpg","text":"TemporaryFile(/tmp/multipartBody3658816898654880456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314383087,"filename":"image_18032025_00_48_02_4247.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2c85c0b9cdf9e46d4eabc4975757cb58.jpg","text":"TemporaryFile(/tmp/multipartBody2604779548245177039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314383087,"filename":"image_18032025_00_47_57_4224.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5a8f3dcd8ea01301b359852c0b0948f8.jpg","text":"TemporaryFile(/tmp/multipartBody5013886853783903239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314383087,"filename":"image_18032025_00_47_53_4213.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345171303","file1":"1345171300","file0":"1345171297","file4":"1345171308","file5":"1345171310","file3":"1345171306"},"map_files_photo_id_array":[{"photo_id":"1345171310","filename":"file5"},{"photo_id":"1345171303","filename":"file2"},{"photo_id":"1345171308","filename":"file4"},{"photo_id":"1345171300","filename":"file1"},{"photo_id":"1345171297","filename":"file0"},{"photo_id":"1345171306","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345171310":["hashtag1","hashtag2"]},{"1345171297":["hashtag1","hashtag2"]},{"1345171300":["hashtag1","hashtag2"]},{"1345171303":["hashtag1","hashtag2"]},{"1345171306":["hashtag1","hashtag2"]},{"1345171308":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345171310, 1345171297, 1345171300, 1345171303, 1345171306, 1345171308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.997783660888672 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:13:02.846337
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_45_3287.jpg', 2), ('/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_42_4264.jpg', 2), ('/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_37_4363.jpg', 2), ('/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_33_3842.jpg', 2), ('/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_29_4261.jpg', 2), ('/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_25_3227.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_45_3287.jpg', '/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_42_4264.jpg', '/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_37_4363.jpg', '/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_33_3842.jpg', '/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_29_4261.jpg', '/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_25_3227.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_45_3287.jpg
/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_42_4264.jpg
/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_37_4363.jpg
/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_33_3842.jpg
/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_29_4261.jpg
/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_25_3227.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345171349","1345171345","1345171339","1345171354","1345171342","1345171347"],"photo_ids_order":["1345171339","1345171342","1345171345","1345171347","1345171349","1345171354"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3a705405e7f0f37bf2a77deeeeb1372d.jpg","text":"TemporaryFile(/tmp/multipartBody4117839030500263902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314443342,"filename":"image_18032025_00_47_29_4261.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/80b5a67c9a82ca0f13029fb0011856ad.jpg","text":"TemporaryFile(/tmp/multipartBody8267311070604566254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314443342,"filename":"image_18032025_00_47_37_4363.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b58b004364b6080cc2edfbe4f3109a1e.jpg","text":"TemporaryFile(/tmp/multipartBody4744812107320157425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314443342,"filename":"image_18032025_00_47_45_3287.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/29040a69a974c9fc841ca5cba7333edd.jpg","text":"TemporaryFile(/tmp/multipartBody6171411901013365701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314443342,"filename":"image_18032025_00_47_25_3227.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c79f4a803b94387a36504bb94fb5fc25.jpg","text":"TemporaryFile(/tmp/multipartBody1210811196932645229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314443342,"filename":"image_18032025_00_47_42_4264.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9fc3b7d578269d48362c8a94e35d87a3.jpg","text":"TemporaryFile(/tmp/multipartBody5217556142763817030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314443342,"filename":"image_18032025_00_47_33_3842.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345171345","file1":"1345171342","file0":"1345171339","file4":"1345171349","file5":"1345171354","file3":"1345171347"},"map_files_photo_id_array":[{"photo_id":"1345171354","filename":"file5"},{"photo_id":"1345171345","filename":"file2"},{"photo_id":"1345171349","filename":"file4"},{"photo_id":"1345171342","filename":"file1"},{"photo_id":"1345171339","filename":"file0"},{"photo_id":"1345171347","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345171349":["hashtag1","hashtag2"]},{"1345171345":["hashtag1","hashtag2"]},{"1345171339":["hashtag1","hashtag2"]},{"1345171354":["hashtag1","hashtag2"]},{"1345171342":["hashtag1","hashtag2"]},{"1345171347":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345171349, 1345171345, 1345171339, 1345171354, 1345171342, 1345171347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.320072889328 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:14:03.179696
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_22_4292.jpg', 2), ('/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_17_4155.jpg', 2), ('/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_13_4071.jpg', 2), ('/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_09_4060.jpg', 2), ('/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_05_3397.jpg', 2), ('/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_02_4017.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_22_4292.jpg', '/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_17_4155.jpg', '/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_13_4071.jpg', '/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_09_4060.jpg', '/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_05_3397.jpg', '/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_02_4017.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_22_4292.jpg
/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_17_4155.jpg
/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_13_4071.jpg
/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_09_4060.jpg
/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_05_3397.jpg
/home/nano/Desktop/images/18032025/00/47/image_18032025_00_47_02_4017.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345171393","1345171387","1345171389","1345171380","1345171383","1345171385"],"photo_ids_order":["1345171380","1345171383","1345171385","1345171387","1345171389","1345171393"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ed2e5e141af6ff028b05151a4ec444cd.jpg","text":"TemporaryFile(/tmp/multipartBody2208839451934599872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314503667,"filename":"image_18032025_00_47_02_4017.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/81ec5ebad53ea7e68f1646cdd530643b.jpg","text":"TemporaryFile(/tmp/multipartBody8419192382270423776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314503667,"filename":"image_18032025_00_47_09_4060.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ae519dcb9c46503948dccaa6ad6a58b3.jpg","text":"TemporaryFile(/tmp/multipartBody962361236887450452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314503667,"filename":"image_18032025_00_47_05_3397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e2e4faabaf1cc542ccac57ce080f72ec.jpg","text":"TemporaryFile(/tmp/multipartBody8222127181722557319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314503667,"filename":"image_18032025_00_47_22_4292.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/26fdd608df69e36c2479173c4ed9d31f.jpg","text":"TemporaryFile(/tmp/multipartBody595030478147227717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314503667,"filename":"image_18032025_00_47_17_4155.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/85dcadd9e76bed1df4b3cfe801d71f88.jpg","text":"TemporaryFile(/tmp/multipartBody6817880940543560459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314503667,"filename":"image_18032025_00_47_13_4071.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345171385","file1":"1345171383","file0":"1345171380","file4":"1345171389","file5":"1345171393","file3":"1345171387"},"map_files_photo_id_array":[{"photo_id":"1345171393","filename":"file5"},{"photo_id":"1345171385","filename":"file2"},{"photo_id":"1345171389","filename":"file4"},{"photo_id":"1345171383","filename":"file1"},{"photo_id":"1345171380","filename":"file0"},{"photo_id":"1345171387","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345171393":["hashtag1","hashtag2"]},{"1345171387":["hashtag1","hashtag2"]},{"1345171389":["hashtag1","hashtag2"]},{"1345171380":["hashtag1","hashtag2"]},{"1345171383":["hashtag1","hashtag2"]},{"1345171385":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345171393, 1345171387, 1345171389, 1345171380, 1345171383, 1345171385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.85378885269165 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:15:03.183662
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_58_4018.jpg', 2), ('/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_54_4117.jpg', 2), ('/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_49_4106.jpg', 2), ('/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_45_4102.jpg', 2), ('/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_41_4160.jpg', 2), ('/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_37_3974.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_58_4018.jpg', '/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_54_4117.jpg', '/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_49_4106.jpg', '/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_45_4102.jpg', '/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_41_4160.jpg', '/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_37_3974.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_58_4018.jpg
/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_54_4117.jpg
/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_49_4106.jpg
/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_45_4102.jpg
/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_41_4160.jpg
/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_37_3974.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345171422","1345171431","1345171425","1345171419","1345171434","1345171428"],"photo_ids_order":["1345171419","1345171422","1345171425","1345171428","1345171431","1345171434"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fe9e976d36041e117d9e375a7fc23483.jpg","text":"TemporaryFile(/tmp/multipartBody8170695030293687522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314563677,"filename":"image_18032025_00_46_54_4117.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1711f8fe0e04308f811861e6b5c676ac.jpg","text":"TemporaryFile(/tmp/multipartBody4898743911405638234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314563677,"filename":"image_18032025_00_46_41_4160.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7cb78e04c45b23cc7b3907de9ffd3e54.jpg","text":"TemporaryFile(/tmp/multipartBody7137014932710184767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314563677,"filename":"image_18032025_00_46_49_4106.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8f59c3748bfe3797d67ac5406db721d4.jpg","text":"TemporaryFile(/tmp/multipartBody7084633942761784018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314563677,"filename":"image_18032025_00_46_58_4018.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8d65b6ea44cbb0bb8679d5f5405435cc.jpg","text":"TemporaryFile(/tmp/multipartBody8019333836948689990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314563677,"filename":"image_18032025_00_46_37_3974.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f5473aa253ee58da5a30bc6c2c3efca5.jpg","text":"TemporaryFile(/tmp/multipartBody7667887263130305465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314563677,"filename":"image_18032025_00_46_45_4102.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345171425","file1":"1345171422","file0":"1345171419","file4":"1345171431","file5":"1345171434","file3":"1345171428"},"map_files_photo_id_array":[{"photo_id":"1345171434","filename":"file5"},{"photo_id":"1345171425","filename":"file2"},{"photo_id":"1345171431","filename":"file4"},{"photo_id":"1345171422","filename":"file1"},{"photo_id":"1345171419","filename":"file0"},{"photo_id":"1345171428","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345171422":["hashtag1","hashtag2"]},{"1345171431":["hashtag1","hashtag2"]},{"1345171425":["hashtag1","hashtag2"]},{"1345171419":["hashtag1","hashtag2"]},{"1345171434":["hashtag1","hashtag2"]},{"1345171428":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345171422, 1345171431, 1345171425, 1345171419, 1345171434, 1345171428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.693197011947632 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:16:03.259684
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_33_4041.jpg', 2), ('/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_29_4058.jpg', 2), ('/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_25_4164.jpg', 2), ('/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_21_3147.jpg', 2), ('/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_18_4059.jpg', 2), ('/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_14_4090.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_33_4041.jpg', '/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_29_4058.jpg', '/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_25_4164.jpg', '/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_21_3147.jpg', '/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_18_4059.jpg', '/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_14_4090.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_33_4041.jpg
/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_29_4058.jpg
/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_25_4164.jpg
/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_21_3147.jpg
/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_18_4059.jpg
/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_14_4090.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345171460","1345171471","1345171467","1345171482","1345171476","1345171452"],"photo_ids_order":["1345171452","1345171460","1345171467","1345171471","1345171476","1345171482"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e0a14807a3a8c737a8218aef8c63112a.jpg","text":"TemporaryFile(/tmp/multipartBody558763204955905846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314623776,"filename":"image_18032025_00_46_29_4058.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d4ea9f08acbe43f3acc186d44dd75a9c.jpg","text":"TemporaryFile(/tmp/multipartBody5074469794914065775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314623776,"filename":"image_18032025_00_46_21_3147.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/91bd789fc068f27e193e86232d47baba.jpg","text":"TemporaryFile(/tmp/multipartBody6458652118956510897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314623776,"filename":"image_18032025_00_46_25_4164.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/df3e6d265fb65ae19ea48d52301b597c.jpg","text":"TemporaryFile(/tmp/multipartBody376858470177914502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314623776,"filename":"image_18032025_00_46_14_4090.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/62565c0b49f28f5df74d8875c6fdda51.jpg","text":"TemporaryFile(/tmp/multipartBody3165158627020555692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314623776,"filename":"image_18032025_00_46_18_4059.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/eda9e3393c57b742c98a32256a88c808.jpg","text":"TemporaryFile(/tmp/multipartBody419078741880174429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314623776,"filename":"image_18032025_00_46_33_4041.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345171467","file1":"1345171460","file0":"1345171452","file4":"1345171476","file5":"1345171482","file3":"1345171471"},"map_files_photo_id_array":[{"photo_id":"1345171482","filename":"file5"},{"photo_id":"1345171467","filename":"file2"},{"photo_id":"1345171476","filename":"file4"},{"photo_id":"1345171460","filename":"file1"},{"photo_id":"1345171452","filename":"file0"},{"photo_id":"1345171471","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345171460":["hashtag1","hashtag2"]},{"1345171471":["hashtag1","hashtag2"]},{"1345171467":["hashtag1","hashtag2"]},{"1345171482":["hashtag1","hashtag2"]},{"1345171476":["hashtag1","hashtag2"]},{"1345171452":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345171460, 1345171471, 1345171467, 1345171482, 1345171476, 1345171452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.54130005836487 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:17:31.901426
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_10_4042.jpg', 2), ('/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_05_4674.jpg', 2), ('/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_01_3169.jpg', 2), ('/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_58_4171.jpg', 2), ('/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_53_4207.jpg', 2), ('/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_49_4182.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_10_4042.jpg', '/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_05_4674.jpg', '/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_01_3169.jpg', '/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_58_4171.jpg', '/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_53_4207.jpg', '/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_49_4182.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_10_4042.jpg
/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_05_4674.jpg
/home/nano/Desktop/images/18032025/00/46/image_18032025_00_46_01_3169.jpg
/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_58_4171.jpg
/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_53_4207.jpg
/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_49_4182.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345171526","1345171520","1345171514","1345171508","1345171502","1345171531"],"photo_ids_order":["1345171502","1345171508","1345171514","1345171520","1345171526","1345171531"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/594a5befb62efd3f7e5985204527f8d0.jpg","text":"TemporaryFile(/tmp/multipartBody831200900376762306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314712403,"filename":"image_18032025_00_45_53_4207.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b8c8cf2286c7651061df436f4812d4cd.jpg","text":"TemporaryFile(/tmp/multipartBody6189172311338659840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314712403,"filename":"image_18032025_00_45_58_4171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d7293b89855f0cc8ecf86c6dbf38fadc.jpg","text":"TemporaryFile(/tmp/multipartBody7333088312319982525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314712403,"filename":"image_18032025_00_46_01_3169.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/36f73a7aaa46bdcc7f0e6bfe5e69f075.jpg","text":"TemporaryFile(/tmp/multipartBody4730606642309782034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314712403,"filename":"image_18032025_00_46_05_4674.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f1a7c22462171862bf3510b988778957.jpg","text":"TemporaryFile(/tmp/multipartBody5403278313167213443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314712403,"filename":"image_18032025_00_46_10_4042.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ea29ed334a09147235199bec7d7b302d.jpg","text":"TemporaryFile(/tmp/multipartBody6085871163525660417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314712403,"filename":"image_18032025_00_45_49_4182.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345171514","file1":"1345171508","file0":"1345171502","file4":"1345171526","file5":"1345171531","file3":"1345171520"},"map_files_photo_id_array":[{"photo_id":"1345171531","filename":"file5"},{"photo_id":"1345171514","filename":"file2"},{"photo_id":"1345171526","filename":"file4"},{"photo_id":"1345171508","filename":"file1"},{"photo_id":"1345171502","filename":"file0"},{"photo_id":"1345171520","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345171526":["hashtag1","hashtag2"]},{"1345171520":["hashtag1","hashtag2"]},{"1345171514":["hashtag1","hashtag2"]},{"1345171508":["hashtag1","hashtag2"]},{"1345171502":["hashtag1","hashtag2"]},{"1345171531":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345171526, 1345171520, 1345171514, 1345171508, 1345171502, 1345171531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.843520879745483 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:18:32.069822
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_45_4271.jpg', 2), ('/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_41_3284.jpg', 2), ('/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_38_4264.jpg', 2), ('/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_33_4229.jpg', 2), ('/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_29_3361.jpg', 2), ('/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_26_4910.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_45_4271.jpg', '/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_41_3284.jpg', '/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_38_4264.jpg', '/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_33_4229.jpg', '/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_29_3361.jpg', '/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_26_4910.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_45_4271.jpg
/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_41_3284.jpg
/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_38_4264.jpg
/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_33_4229.jpg
/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_29_3361.jpg
/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_26_4910.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345171574","1345171564","1345171558","1345171552","1345171546","1345171569"],"photo_ids_order":["1345171546","1345171552","1345171558","1345171564","1345171569","1345171574"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c69210948d96962fc8d87ef9a71063a8.jpg","text":"TemporaryFile(/tmp/multipartBody1667636632897295858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314772637,"filename":"image_18032025_00_45_26_4910.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/98849173ad31dbf7172e3ada440c8f5b.jpg","text":"TemporaryFile(/tmp/multipartBody7684209609326760649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314772637,"filename":"image_18032025_00_45_33_4229.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9c52e8f845a7425ef8819334c9ec2e4c.jpg","text":"TemporaryFile(/tmp/multipartBody566550468261034821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314772637,"filename":"image_18032025_00_45_38_4264.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/25784a85df1d2b8b389c3152ad031044.jpg","text":"TemporaryFile(/tmp/multipartBody6465354922458190965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314772637,"filename":"image_18032025_00_45_41_3284.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/14b1af1b9373adc9817365abbf618b5f.jpg","text":"TemporaryFile(/tmp/multipartBody8408708922690470829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314772637,"filename":"image_18032025_00_45_45_4271.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b784a6f7d9a22e18abb430064bb3a4ac.jpg","text":"TemporaryFile(/tmp/multipartBody775085209111199436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314772637,"filename":"image_18032025_00_45_29_3361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345171558","file1":"1345171552","file0":"1345171546","file4":"1345171569","file5":"1345171574","file3":"1345171564"},"map_files_photo_id_array":[{"photo_id":"1345171574","filename":"file5"},{"photo_id":"1345171558","filename":"file2"},{"photo_id":"1345171569","filename":"file4"},{"photo_id":"1345171552","filename":"file1"},{"photo_id":"1345171546","filename":"file0"},{"photo_id":"1345171564","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345171574":["hashtag1","hashtag2"]},{"1345171564":["hashtag1","hashtag2"]},{"1345171558":["hashtag1","hashtag2"]},{"1345171552":["hashtag1","hashtag2"]},{"1345171546":["hashtag1","hashtag2"]},{"1345171569":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345171574, 1345171564, 1345171558, 1345171552, 1345171546, 1345171569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.5440890789032 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:19:32.234820
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_21_3296.jpg', 2), ('/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_17_4305.jpg', 2), ('/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_13_4251.jpg', 2), ('/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_09_4178.jpg', 2), ('/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_05_3534.jpg', 2), ('/home/nano/Desktop/images/18032025/00/44/image_18032025_00_45_01_4192.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_21_3296.jpg', '/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_17_4305.jpg', '/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_13_4251.jpg', '/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_09_4178.jpg', '/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_05_3534.jpg', '/home/nano/Desktop/images/18032025/00/44/image_18032025_00_45_01_4192.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_21_3296.jpg
/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_17_4305.jpg
/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_13_4251.jpg
/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_09_4178.jpg
/home/nano/Desktop/images/18032025/00/45/image_18032025_00_45_05_3534.jpg
/home/nano/Desktop/images/18032025/00/44/image_18032025_00_45_01_4192.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345171631","1345171612","1345171596","1345171590","1345171584","1345171626"],"photo_ids_order":["1345171584","1345171590","1345171596","1345171612","1345171626","1345171631"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/14fbfb0e18368828148f46704860746a.jpg","text":"TemporaryFile(/tmp/multipartBody5312247089194910307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314832717,"filename":"image_18032025_00_45_01_4192.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/abdf08b855b5b83481d501c58b6a000c.jpg","text":"TemporaryFile(/tmp/multipartBody2026927515802629800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314832717,"filename":"image_18032025_00_45_09_4178.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/db5394b343671258f75beed15853c962.jpg","text":"TemporaryFile(/tmp/multipartBody1620321977756447729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314832717,"filename":"image_18032025_00_45_13_4251.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/94f0c66ee97997981a820e49866647c7.jpg","text":"TemporaryFile(/tmp/multipartBody6447689115255945374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314832717,"filename":"image_18032025_00_45_17_4305.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c1123b08e29883f6da8ee1eceb7ea364.jpg","text":"TemporaryFile(/tmp/multipartBody16336936909673346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314832717,"filename":"image_18032025_00_45_21_3296.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0f7ced4e7e0cee8eb0ae5568ee61dfa8.jpg","text":"TemporaryFile(/tmp/multipartBody6032600630692026821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314832717,"filename":"image_18032025_00_45_05_3534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345171596","file1":"1345171590","file0":"1345171584","file4":"1345171626","file5":"1345171631","file3":"1345171612"},"map_files_photo_id_array":[{"photo_id":"1345171631","filename":"file5"},{"photo_id":"1345171596","filename":"file2"},{"photo_id":"1345171626","filename":"file4"},{"photo_id":"1345171590","filename":"file1"},{"photo_id":"1345171584","filename":"file0"},{"photo_id":"1345171612","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345171631":["hashtag1","hashtag2"]},{"1345171612":["hashtag1","hashtag2"]},{"1345171596":["hashtag1","hashtag2"]},{"1345171590":["hashtag1","hashtag2"]},{"1345171584":["hashtag1","hashtag2"]},{"1345171626":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345171631, 1345171612, 1345171596, 1345171590, 1345171584, 1345171626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.40175724029541 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:20:32.437838
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_57_4214.jpg', 2), ('/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_53_3161.jpg', 2), ('/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_50_4184.jpg', 2), ('/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_45_4120.jpg', 2), ('/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_41_4161.jpg', 2), ('/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_37_4233.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_57_4214.jpg', '/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_53_3161.jpg', '/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_50_4184.jpg', '/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_45_4120.jpg', '/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_41_4161.jpg', '/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_37_4233.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_57_4214.jpg
/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_53_3161.jpg
/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_50_4184.jpg
/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_45_4120.jpg
/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_41_4161.jpg
/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_37_4233.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345171667","1345171651","1345171645","1345171639","1345171662","1345171656"],"photo_ids_order":["1345171639","1345171645","1345171651","1345171656","1345171662","1345171667"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/39ebb8ba816cc43d931cf0f8b4a631ea.jpg","text":"TemporaryFile(/tmp/multipartBody1393066874269881720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314892993,"filename":"image_18032025_00_44_37_4233.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b7873364fc48b7e9f146ba74d8a94e55.jpg","text":"TemporaryFile(/tmp/multipartBody113809672027502473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314892993,"filename":"image_18032025_00_44_50_4184.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4d8b6eb44a85a2e89922e5649e276502.jpg","text":"TemporaryFile(/tmp/multipartBody3314828988638376358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314892993,"filename":"image_18032025_00_44_53_3161.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a814e3b9ecdaf4a3c611a5a35031efdb.jpg","text":"TemporaryFile(/tmp/multipartBody779560874093687468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314892993,"filename":"image_18032025_00_44_57_4214.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9d4af7945fcfaada1e708b79d94a19ce.jpg","text":"TemporaryFile(/tmp/multipartBody3278812473459629686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314892993,"filename":"image_18032025_00_44_41_4161.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/049509d45345d967fe42e6065158b617.jpg","text":"TemporaryFile(/tmp/multipartBody6005300211372560491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314892993,"filename":"image_18032025_00_44_45_4120.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345171651","file1":"1345171645","file0":"1345171639","file4":"1345171662","file5":"1345171667","file3":"1345171656"},"map_files_photo_id_array":[{"photo_id":"1345171667","filename":"file5"},{"photo_id":"1345171651","filename":"file2"},{"photo_id":"1345171662","filename":"file4"},{"photo_id":"1345171645","filename":"file1"},{"photo_id":"1345171639","filename":"file0"},{"photo_id":"1345171656","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345171667":["hashtag1","hashtag2"]},{"1345171651":["hashtag1","hashtag2"]},{"1345171645":["hashtag1","hashtag2"]},{"1345171639":["hashtag1","hashtag2"]},{"1345171662":["hashtag1","hashtag2"]},{"1345171656":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345171667, 1345171651, 1345171645, 1345171639, 1345171662, 1345171656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.45780873298645 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:21:32.599375
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_33_3229.jpg', 2), ('/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_30_4251.jpg', 2), ('/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_25_4249.jpg', 2), ('/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_21_4097.jpg', 2), ('/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_17_4172.jpg', 2), ('/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_13_4180.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_33_3229.jpg', '/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_30_4251.jpg', '/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_25_4249.jpg', '/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_21_4097.jpg', '/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_17_4172.jpg', '/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_13_4180.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_33_3229.jpg
/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_30_4251.jpg
/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_25_4249.jpg
/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_21_4097.jpg
/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_17_4172.jpg
/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_13_4180.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345171811","1345171846","1345171876","1345171909","1345171983","1345171944"],"photo_ids_order":["1345171811","1345171846","1345171876","1345171909","1345171944","1345171983"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/99bc33168cc29e1df049877fa3a40930.jpg","text":"TemporaryFile(/tmp/multipartBody2129069213243684206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314953128,"filename":"image_18032025_00_44_33_3229.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1f96690e0bf7ae6f3fe46ed6a92f4636.jpg","text":"TemporaryFile(/tmp/multipartBody8547631217285625494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314953128,"filename":"image_18032025_00_44_30_4251.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/32f253f6a6dad237f4e0f9fe16a0fac7.jpg","text":"TemporaryFile(/tmp/multipartBody5040486134464119789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314953128,"filename":"image_18032025_00_44_25_4249.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/86aacb5428f31ecf9d95a139dca403ef.jpg","text":"TemporaryFile(/tmp/multipartBody6378432838200429315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314953128,"filename":"image_18032025_00_44_21_4097.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/01f3c343442a22a20bc8123e9f2d89d8.jpg","text":"TemporaryFile(/tmp/multipartBody3573710053476002347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314953128,"filename":"image_18032025_00_44_13_4180.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1d6d1e362e40461a4a3695f88947e836.jpg","text":"TemporaryFile(/tmp/multipartBody2554907694495325131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742314953128,"filename":"image_18032025_00_44_17_4172.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345171876","file1":"1345171846","file0":"1345171811","file4":"1345171944","file5":"1345171983","file3":"1345171909"},"map_files_photo_id_array":[{"photo_id":"1345171983","filename":"file5"},{"photo_id":"1345171876","filename":"file2"},{"photo_id":"1345171944","filename":"file4"},{"photo_id":"1345171846","filename":"file1"},{"photo_id":"1345171811","filename":"file0"},{"photo_id":"1345171909","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345171811":["hashtag1","hashtag2"]},{"1345171846":["hashtag1","hashtag2"]},{"1345171876":["hashtag1","hashtag2"]},{"1345171909":["hashtag1","hashtag2"]},{"1345171983":["hashtag1","hashtag2"]},{"1345171944":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345171811, 1345171846, 1345171876, 1345171909, 1345171983, 1345171944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.842971324920654 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:22:32.771926
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_09_3190.jpg', 2), ('/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_06_3921.jpg', 2), ('/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_02_4175.jpg', 2), ('/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_57_4230.jpg', 2), ('/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_53_4109.jpg', 2), ('/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_49_4137.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_09_3190.jpg', '/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_06_3921.jpg', '/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_02_4175.jpg', '/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_57_4230.jpg', '/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_53_4109.jpg', '/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_49_4137.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_09_3190.jpg
/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_06_3921.jpg
/home/nano/Desktop/images/18032025/00/44/image_18032025_00_44_02_4175.jpg
/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_57_4230.jpg
/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_53_4109.jpg
/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_49_4137.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345172108","1345172098","1345172152","1345172125","1345172113","1345172104"],"photo_ids_order":["1345172098","1345172104","1345172108","1345172113","1345172125","1345172152"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8a5a632da34550c74f2b761b67ef68b4.jpg","text":"TemporaryFile(/tmp/multipartBody6065242154157695647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315013286,"filename":"image_18032025_00_44_02_4175.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bdb1fa697012378ac2cddae2a96d361a.jpg","text":"TemporaryFile(/tmp/multipartBody5104991301055210769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315013286,"filename":"image_18032025_00_44_09_3190.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/77f4fe80495ea21d6578c2d740702371.jpg","text":"TemporaryFile(/tmp/multipartBody8049828727936296826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315013286,"filename":"image_18032025_00_43_49_4137.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/92d6df4131a13a171a98a5d2915f9064.jpg","text":"TemporaryFile(/tmp/multipartBody3396653075741235891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315013286,"filename":"image_18032025_00_43_53_4109.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/de48e6b400fab489f81e684c92aa9884.jpg","text":"TemporaryFile(/tmp/multipartBody8730269775300089649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315013286,"filename":"image_18032025_00_43_57_4230.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/91ea379f9a0547505220a5e7607c334a.jpg","text":"TemporaryFile(/tmp/multipartBody6575529474778486001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315013286,"filename":"image_18032025_00_44_06_3921.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345172108","file1":"1345172104","file0":"1345172098","file4":"1345172125","file5":"1345172152","file3":"1345172113"},"map_files_photo_id_array":[{"photo_id":"1345172152","filename":"file5"},{"photo_id":"1345172108","filename":"file2"},{"photo_id":"1345172125","filename":"file4"},{"photo_id":"1345172104","filename":"file1"},{"photo_id":"1345172098","filename":"file0"},{"photo_id":"1345172113","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345172108":["hashtag1","hashtag2"]},{"1345172098":["hashtag1","hashtag2"]},{"1345172152":["hashtag1","hashtag2"]},{"1345172125":["hashtag1","hashtag2"]},{"1345172113":["hashtag1","hashtag2"]},{"1345172104":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345172108, 1345172098, 1345172152, 1345172125, 1345172113, 1345172104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.647770404815674 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:23:31.930386
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_45_4099.jpg', 2), ('/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_41_4167.jpg', 2), ('/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_37_3134.jpg', 2), ('/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_34_4159.jpg', 2), ('/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_29_4275.jpg', 2), ('/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_25_4203.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_45_4099.jpg', '/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_41_4167.jpg', '/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_37_3134.jpg', '/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_34_4159.jpg', '/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_29_4275.jpg', '/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_25_4203.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_45_4099.jpg
/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_41_4167.jpg
/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_37_3134.jpg
/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_34_4159.jpg
/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_29_4275.jpg
/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_25_4203.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345172405","1345172374","1345172410","1345172325","1345172414","1345172342"],"photo_ids_order":["1345172325","1345172342","1345172374","1345172405","1345172410","1345172414"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/05037bed2b4c1b4ad174ad7d77ed83c9.jpg","text":"TemporaryFile(/tmp/multipartBody3558354848901048059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315072465,"filename":"image_18032025_00_43_34_4159.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e00682d3abfd3c37a7686a7ab79d9e9f.jpg","text":"TemporaryFile(/tmp/multipartBody7792254999243883357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315072465,"filename":"image_18032025_00_43_37_3134.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a64cef3b9ca7adc58b7e217cb3b48bfd.jpg","text":"TemporaryFile(/tmp/multipartBody8687929569037330874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315072465,"filename":"image_18032025_00_43_29_4275.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/db5e360e5e2f9ebd59884c43a882e633.jpg","text":"TemporaryFile(/tmp/multipartBody2559530478633199986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315072465,"filename":"image_18032025_00_43_45_4099.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1302cf14c3b2916783e9089ac48086f3.jpg","text":"TemporaryFile(/tmp/multipartBody1330967489799508376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315072465,"filename":"image_18032025_00_43_25_4203.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2c227c143fae2c2f730559dd60eb7f52.jpg","text":"TemporaryFile(/tmp/multipartBody9121419057604270082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315072465,"filename":"image_18032025_00_43_41_4167.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345172374","file1":"1345172342","file0":"1345172325","file4":"1345172410","file5":"1345172414","file3":"1345172405"},"map_files_photo_id_array":[{"photo_id":"1345172414","filename":"file5"},{"photo_id":"1345172374","filename":"file2"},{"photo_id":"1345172410","filename":"file4"},{"photo_id":"1345172342","filename":"file1"},{"photo_id":"1345172325","filename":"file0"},{"photo_id":"1345172405","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345172405":["hashtag1","hashtag2"]},{"1345172374":["hashtag1","hashtag2"]},{"1345172410":["hashtag1","hashtag2"]},{"1345172325":["hashtag1","hashtag2"]},{"1345172414":["hashtag1","hashtag2"]},{"1345172342":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345172405, 1345172374, 1345172410, 1345172325, 1345172414, 1345172342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.568224668502808 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:24:32.116105
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_21_3267.jpg', 2), ('/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_18_4173.jpg', 2), ('/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_13_4124.jpg', 2), ('/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_09_4293.jpg', 2), ('/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_05_3648.jpg', 2), ('/home/nano/Desktop/images/18032025/00/42/image_18032025_00_43_01_4262.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_21_3267.jpg', '/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_18_4173.jpg', '/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_13_4124.jpg', '/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_09_4293.jpg', '/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_05_3648.jpg', '/home/nano/Desktop/images/18032025/00/42/image_18032025_00_43_01_4262.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_21_3267.jpg
/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_18_4173.jpg
/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_13_4124.jpg
/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_09_4293.jpg
/home/nano/Desktop/images/18032025/00/43/image_18032025_00_43_05_3648.jpg
/home/nano/Desktop/images/18032025/00/42/image_18032025_00_43_01_4262.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345172458","1345172452","1345172446","1345172431","1345172439","1345172424"],"photo_ids_order":["1345172424","1345172431","1345172439","1345172446","1345172452","1345172458"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/321081bb4cb178cf6023e41909a57f8b.jpg","text":"TemporaryFile(/tmp/multipartBody6712311429412198241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315132673,"filename":"image_18032025_00_43_01_4262.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/350e77522a9bd4065979010f76131a8d.jpg","text":"TemporaryFile(/tmp/multipartBody3996879743196004673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315132673,"filename":"image_18032025_00_43_05_3648.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4ff3258a035525cdcedafdc4187ff0f3.jpg","text":"TemporaryFile(/tmp/multipartBody579281955496355356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315132673,"filename":"image_18032025_00_43_09_4293.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/693baa771a815612455a0979760a16b1.jpg","text":"TemporaryFile(/tmp/multipartBody5544298810082905784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315132673,"filename":"image_18032025_00_43_18_4173.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f19f1fae5b4d8956f5cfae9025e061f7.jpg","text":"TemporaryFile(/tmp/multipartBody7208917462618750881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315132673,"filename":"image_18032025_00_43_13_4124.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ad1867dfdc5e1b3d9d5888a3c1d0888f.jpg","text":"TemporaryFile(/tmp/multipartBody2178944100226281310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315132673,"filename":"image_18032025_00_43_21_3267.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345172439","file1":"1345172431","file0":"1345172424","file4":"1345172452","file5":"1345172458","file3":"1345172446"},"map_files_photo_id_array":[{"photo_id":"1345172458","filename":"file5"},{"photo_id":"1345172439","filename":"file2"},{"photo_id":"1345172452","filename":"file4"},{"photo_id":"1345172431","filename":"file1"},{"photo_id":"1345172424","filename":"file0"},{"photo_id":"1345172446","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345172458":["hashtag1","hashtag2"]},{"1345172452":["hashtag1","hashtag2"]},{"1345172446":["hashtag1","hashtag2"]},{"1345172431":["hashtag1","hashtag2"]},{"1345172439":["hashtag1","hashtag2"]},{"1345172424":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345172458, 1345172452, 1345172446, 1345172431, 1345172439, 1345172424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.979482650756836 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:25:32.302839
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_57_4303.jpg', 2), ('/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_53_3282.jpg', 2), ('/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_50_4299.jpg', 2), ('/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_45_4200.jpg', 2), ('/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_41_4171.jpg', 2), ('/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_37_4179.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_57_4303.jpg', '/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_53_3282.jpg', '/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_50_4299.jpg', '/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_45_4200.jpg', '/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_41_4171.jpg', '/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_37_4179.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_57_4303.jpg
/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_53_3282.jpg
/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_50_4299.jpg
/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_45_4200.jpg
/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_41_4171.jpg
/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_37_4179.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345172773","1345172790","1345172786","1345172744","1345172794","1345172711"],"photo_ids_order":["1345172711","1345172744","1345172773","1345172786","1345172790","1345172794"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/170adaab02267e19de0741986cc149ce.jpg","text":"TemporaryFile(/tmp/multipartBody8165958622622812582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315192779,"filename":"image_18032025_00_42_50_4299.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/940609a6c1e60538ff27c4794320f4a7.jpg","text":"TemporaryFile(/tmp/multipartBody5411346118959330359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315192779,"filename":"image_18032025_00_42_41_4171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6c70252aef29c622041b29b7ef595d4a.jpg","text":"TemporaryFile(/tmp/multipartBody3704164226746416206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315192779,"filename":"image_18032025_00_42_45_4200.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/edc3335acf026e87b87e47bb0280c609.jpg","text":"TemporaryFile(/tmp/multipartBody691210126827927197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315192779,"filename":"image_18032025_00_42_53_3282.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2ce73002064f045205fd6972f3c6a30e.jpg","text":"TemporaryFile(/tmp/multipartBody2368847558692624300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315192779,"filename":"image_18032025_00_42_37_4179.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/44e6f96bfc277de38f33e6edccb3cd4d.jpg","text":"TemporaryFile(/tmp/multipartBody3496829993106510156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315192779,"filename":"image_18032025_00_42_57_4303.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345172773","file1":"1345172744","file0":"1345172711","file4":"1345172790","file5":"1345172794","file3":"1345172786"},"map_files_photo_id_array":[{"photo_id":"1345172794","filename":"file5"},{"photo_id":"1345172773","filename":"file2"},{"photo_id":"1345172790","filename":"file4"},{"photo_id":"1345172744","filename":"file1"},{"photo_id":"1345172711","filename":"file0"},{"photo_id":"1345172786","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345172773":["hashtag1","hashtag2"]},{"1345172790":["hashtag1","hashtag2"]},{"1345172786":["hashtag1","hashtag2"]},{"1345172744":["hashtag1","hashtag2"]},{"1345172794":["hashtag1","hashtag2"]},{"1345172711":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345172773, 1345172790, 1345172786, 1345172744, 1345172794, 1345172711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.036123275756836 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:26:32.479085
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_33_3942.jpg', 2), ('/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_29_3088.jpg', 2), ('/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_26_4005.jpg', 2), ('/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_22_4187.jpg', 2), ('/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_18_4175.jpg', 2), ('/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_13_4117.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_33_3942.jpg', '/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_29_3088.jpg', '/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_26_4005.jpg', '/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_22_4187.jpg', '/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_18_4175.jpg', '/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_13_4117.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_33_3942.jpg
/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_29_3088.jpg
/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_26_4005.jpg
/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_22_4187.jpg
/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_18_4175.jpg
/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_13_4117.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.42853713035583496 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:27:03.168953
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_33_3942.jpg', 2), ('/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_29_3088.jpg', 2), ('/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_26_4005.jpg', 2), ('/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_22_4187.jpg', 2), ('/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_18_4175.jpg', 2), ('/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_13_4117.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_33_3942.jpg', '/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_29_3088.jpg', '/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_26_4005.jpg', '/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_22_4187.jpg', '/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_18_4175.jpg', '/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_13_4117.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_33_3942.jpg
/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_29_3088.jpg
/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_26_4005.jpg
/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_22_4187.jpg
/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_18_4175.jpg
/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_13_4117.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345172830","1345172836","1345172832","1345172829","1345172834","1345172828"],"photo_ids_order":["1345172828","1345172829","1345172830","1345172832","1345172834","1345172836"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/319b886744a8a0e7b0815f4dd909ef53.jpg","text":"TemporaryFile(/tmp/multipartBody5944699376320569953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315283659,"filename":"image_18032025_00_42_26_4005.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/35a652a044c34da893d30a50a4203e7d.jpg","text":"TemporaryFile(/tmp/multipartBody1533177704091001102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315283659,"filename":"image_18032025_00_42_13_4117.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9a3ca47a7a4e9024ecdc7110b5e34ac0.jpg","text":"TemporaryFile(/tmp/multipartBody3998869059766014575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315283659,"filename":"image_18032025_00_42_22_4187.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/667f41aea444146e8d4f54d369b7cf95.jpg","text":"TemporaryFile(/tmp/multipartBody2273279950542991577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315283659,"filename":"image_18032025_00_42_29_3088.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bf75cd6d201dc8248f06d1e064c9e15f.jpg","text":"TemporaryFile(/tmp/multipartBody6233430846976354134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315283659,"filename":"image_18032025_00_42_18_4175.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/02311b45d10b34d61c6b14049a6634a4.jpg","text":"TemporaryFile(/tmp/multipartBody1244589944011628500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315283659,"filename":"image_18032025_00_42_33_3942.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345172830","file1":"1345172829","file0":"1345172828","file4":"1345172834","file5":"1345172836","file3":"1345172832"},"map_files_photo_id_array":[{"photo_id":"1345172836","filename":"file5"},{"photo_id":"1345172830","filename":"file2"},{"photo_id":"1345172834","filename":"file4"},{"photo_id":"1345172829","filename":"file1"},{"photo_id":"1345172828","filename":"file0"},{"photo_id":"1345172832","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345172830":["hashtag1","hashtag2"]},{"1345172836":["hashtag1","hashtag2"]},{"1345172832":["hashtag1","hashtag2"]},{"1345172829":["hashtag1","hashtag2"]},{"1345172834":["hashtag1","hashtag2"]},{"1345172828":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345172830, 1345172836, 1345172832, 1345172829, 1345172834, 1345172828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.54462957382202 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:28:02.439778
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_09_4130.jpg', 2), ('/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_05_3394.jpg', 2), ('/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_02_4131.jpg', 2), ('/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_58_4109.jpg', 2), ('/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_53_4121.jpg', 2), ('/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_49_4231.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_09_4130.jpg', '/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_05_3394.jpg', '/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_02_4131.jpg', '/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_58_4109.jpg', '/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_53_4121.jpg', '/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_49_4231.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_09_4130.jpg
/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_05_3394.jpg
/home/nano/Desktop/images/18032025/00/42/image_18032025_00_42_02_4131.jpg
/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_58_4109.jpg
/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_53_4121.jpg
/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_49_4231.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345172866","1345172860","1345172868","1345172862","1345172864","1345172861"],"photo_ids_order":["1345172860","1345172861","1345172862","1345172864","1345172866","1345172868"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4225e6356c2efb4f76f1f1a8c44e724d.jpg","text":"TemporaryFile(/tmp/multipartBody23538761775418781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315342962,"filename":"image_18032025_00_41_53_4121.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cd03c84726fb2aaf58578e1401410fa3.jpg","text":"TemporaryFile(/tmp/multipartBody7347501185707263490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315342962,"filename":"image_18032025_00_42_09_4130.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/61b62131aae272652462632b4e4acc3c.jpg","text":"TemporaryFile(/tmp/multipartBody1183180647541989035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315342962,"filename":"image_18032025_00_41_49_4231.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1df7fae73e5b9676db41bde637a3b056.jpg","text":"TemporaryFile(/tmp/multipartBody2658084147224224346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315342962,"filename":"image_18032025_00_42_02_4131.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c5be4b09e617bc7bbb28b4a88af2e94f.jpg","text":"TemporaryFile(/tmp/multipartBody4219986001407534893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315342962,"filename":"image_18032025_00_41_58_4109.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f2717aca5350dba6236c0b0e894aa272.jpg","text":"TemporaryFile(/tmp/multipartBody3587414993924680649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315342962,"filename":"image_18032025_00_42_05_3394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345172862","file1":"1345172861","file0":"1345172860","file4":"1345172866","file5":"1345172868","file3":"1345172864"},"map_files_photo_id_array":[{"photo_id":"1345172868","filename":"file5"},{"photo_id":"1345172862","filename":"file2"},{"photo_id":"1345172866","filename":"file4"},{"photo_id":"1345172861","filename":"file1"},{"photo_id":"1345172860","filename":"file0"},{"photo_id":"1345172864","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345172866":["hashtag1","hashtag2"]},{"1345172860":["hashtag1","hashtag2"]},{"1345172868":["hashtag1","hashtag2"]},{"1345172862":["hashtag1","hashtag2"]},{"1345172864":["hashtag1","hashtag2"]},{"1345172861":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345172866, 1345172860, 1345172868, 1345172862, 1345172864, 1345172861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.480008602142334 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:29:03.007503
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_45_4269.jpg', 2), ('/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_41_3229.jpg', 2), ('/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_38_4279.jpg', 2), ('/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_33_4071.jpg', 2), ('/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_29_3986.jpg', 2), ('/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_25_4071.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_45_4269.jpg', '/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_41_3229.jpg', '/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_38_4279.jpg', '/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_33_4071.jpg', '/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_29_3986.jpg', '/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_25_4071.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_45_4269.jpg
/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_41_3229.jpg
/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_38_4279.jpg
/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_33_4071.jpg
/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_29_3986.jpg
/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_25_4071.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345172890","1345172895","1345172907","1345172897","1345172901","1345172893"],"photo_ids_order":["1345172890","1345172893","1345172895","1345172897","1345172901","1345172907"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4d75d8cf06e61d8993150d57fde4ebdc.jpg","text":"TemporaryFile(/tmp/multipartBody8439950138751022816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315403516,"filename":"image_18032025_00_41_45_4269.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f864884c8c3d1a9acbe7e287967066d7.jpg","text":"TemporaryFile(/tmp/multipartBody5627079931565199868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315403516,"filename":"image_18032025_00_41_38_4279.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d3ffca1eaabac28a6dec5b06f5b84c56.jpg","text":"TemporaryFile(/tmp/multipartBody5632179109043911977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315403516,"filename":"image_18032025_00_41_25_4071.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2aa9593408e7ebd8d5a1fca110319927.jpg","text":"TemporaryFile(/tmp/multipartBody4803167937104054889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315403516,"filename":"image_18032025_00_41_33_4071.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ae03f0d31ba78356014c3255f842c372.jpg","text":"TemporaryFile(/tmp/multipartBody6534905528170757065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315403516,"filename":"image_18032025_00_41_29_3986.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/aa7f8bac7c6086a1cfffd0824d52af0e.jpg","text":"TemporaryFile(/tmp/multipartBody5475663715810046671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315403516,"filename":"image_18032025_00_41_41_3229.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345172895","file1":"1345172893","file0":"1345172890","file4":"1345172901","file5":"1345172907","file3":"1345172897"},"map_files_photo_id_array":[{"photo_id":"1345172907","filename":"file5"},{"photo_id":"1345172895","filename":"file2"},{"photo_id":"1345172901","filename":"file4"},{"photo_id":"1345172893","filename":"file1"},{"photo_id":"1345172890","filename":"file0"},{"photo_id":"1345172897","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345172890":["hashtag1","hashtag2"]},{"1345172895":["hashtag1","hashtag2"]},{"1345172907":["hashtag1","hashtag2"]},{"1345172897":["hashtag1","hashtag2"]},{"1345172901":["hashtag1","hashtag2"]},{"1345172893":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345172890, 1345172895, 1345172907, 1345172897, 1345172901, 1345172893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.191561460494995 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:30:02.848113
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_21_4092.jpg', 2), ('/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_17_4104.jpg', 2), ('/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_13_4076.jpg', 2), ('/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_09_3922.jpg', 2), ('/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_05_3535.jpg', 2), ('/home/nano/Desktop/images/18032025/00/40/image_18032025_00_41_01_4063.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_21_4092.jpg', '/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_17_4104.jpg', '/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_13_4076.jpg', '/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_09_3922.jpg', '/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_05_3535.jpg', '/home/nano/Desktop/images/18032025/00/40/image_18032025_00_41_01_4063.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_21_4092.jpg
/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_17_4104.jpg
/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_13_4076.jpg
/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_09_3922.jpg
/home/nano/Desktop/images/18032025/00/41/image_18032025_00_41_05_3535.jpg
/home/nano/Desktop/images/18032025/00/40/image_18032025_00_41_01_4063.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345172974","1345172971","1345172979","1345172964","1345172966","1345172969"],"photo_ids_order":["1345172964","1345172966","1345172969","1345172971","1345172974","1345172979"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9fc89e520a20b38fa153242bce0ce704.jpg","text":"TemporaryFile(/tmp/multipartBody1412973960325081877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315463350,"filename":"image_18032025_00_41_05_3535.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f3c397a403f8b9e366d2314e9cf26e8a.jpg","text":"TemporaryFile(/tmp/multipartBody3016768070849842487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315463350,"filename":"image_18032025_00_41_09_3922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e6f5f0612271799da090b146ba0ce304.jpg","text":"TemporaryFile(/tmp/multipartBody5377675248774022852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315463350,"filename":"image_18032025_00_41_01_4063.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fc7e8c4e98d00f49fe4b393a20e44a86.jpg","text":"TemporaryFile(/tmp/multipartBody1700214268371399091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315463350,"filename":"image_18032025_00_41_21_4092.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/908b425f7647268c4ef3307aa0e72962.jpg","text":"TemporaryFile(/tmp/multipartBody4437154469470920879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315463350,"filename":"image_18032025_00_41_17_4104.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ec82b1800282470041fbddd3d4c10855.jpg","text":"TemporaryFile(/tmp/multipartBody54573432011533312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315463350,"filename":"image_18032025_00_41_13_4076.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345172969","file1":"1345172966","file0":"1345172964","file4":"1345172974","file5":"1345172979","file3":"1345172971"},"map_files_photo_id_array":[{"photo_id":"1345172979","filename":"file5"},{"photo_id":"1345172969","filename":"file2"},{"photo_id":"1345172974","filename":"file4"},{"photo_id":"1345172966","filename":"file1"},{"photo_id":"1345172964","filename":"file0"},{"photo_id":"1345172971","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345172974":["hashtag1","hashtag2"]},{"1345172971":["hashtag1","hashtag2"]},{"1345172979":["hashtag1","hashtag2"]},{"1345172964":["hashtag1","hashtag2"]},{"1345172966":["hashtag1","hashtag2"]},{"1345172969":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345172974, 1345172971, 1345172979, 1345172964, 1345172966, 1345172969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.08767342567444 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:31:02.883619
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_57_4133.jpg', 2), ('/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_53_4221.jpg', 2), ('/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_49_4230.jpg', 2), ('/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_45_3182.jpg', 2), ('/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_42_4185.jpg', 2), ('/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_37_3957.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_57_4133.jpg', '/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_53_4221.jpg', '/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_49_4230.jpg', '/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_45_3182.jpg', '/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_42_4185.jpg', '/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_37_3957.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_57_4133.jpg
/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_53_4221.jpg
/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_49_4230.jpg
/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_45_3182.jpg
/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_42_4185.jpg
/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_37_3957.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345173009","1345172996","1345172999","1345173014","1345173002","1345173005"],"photo_ids_order":["1345172996","1345172999","1345173002","1345173005","1345173009","1345173014"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/95113c238623f7995b6f2e1f1af1d4c6.jpg","text":"TemporaryFile(/tmp/multipartBody1532589695540434420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315523426,"filename":"image_18032025_00_40_42_4185.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1bebe7a19020fb334ef88a3e2a11473e.jpg","text":"TemporaryFile(/tmp/multipartBody2239962560558009826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315523426,"filename":"image_18032025_00_40_57_4133.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/51375d5e56025a839a77482f6479a213.jpg","text":"TemporaryFile(/tmp/multipartBody3210720244859314768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315523426,"filename":"image_18032025_00_40_53_4221.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/698b2e8539bc37bd8f29c05a4852b028.jpg","text":"TemporaryFile(/tmp/multipartBody6463803271151646919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315523426,"filename":"image_18032025_00_40_37_3957.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/879a5bd3ac7db2034c2f431c8dd6d526.jpg","text":"TemporaryFile(/tmp/multipartBody5929318399951821571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315523426,"filename":"image_18032025_00_40_49_4230.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4c0f69f0bc183730be52930e601ee35f.jpg","text":"TemporaryFile(/tmp/multipartBody3067020903417746622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315523426,"filename":"image_18032025_00_40_45_3182.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345173002","file1":"1345172999","file0":"1345172996","file4":"1345173009","file5":"1345173014","file3":"1345173005"},"map_files_photo_id_array":[{"photo_id":"1345173014","filename":"file5"},{"photo_id":"1345173002","filename":"file2"},{"photo_id":"1345173009","filename":"file4"},{"photo_id":"1345172999","filename":"file1"},{"photo_id":"1345172996","filename":"file0"},{"photo_id":"1345173005","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345173009":["hashtag1","hashtag2"]},{"1345172996":["hashtag1","hashtag2"]},{"1345172999":["hashtag1","hashtag2"]},{"1345173014":["hashtag1","hashtag2"]},{"1345173002":["hashtag1","hashtag2"]},{"1345173005":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345173009, 1345172996, 1345172999, 1345173014, 1345173002, 1345173005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.56448173522949 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:32:03.102188
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_33_4297.jpg', 2), ('/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_29_4217.jpg', 2), ('/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_25_3845.jpg', 2), ('/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_21_4257.jpg', 2), ('/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_17_4157.jpg', 2), ('/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_13_3153.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_33_4297.jpg', '/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_29_4217.jpg', '/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_25_3845.jpg', '/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_21_4257.jpg', '/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_17_4157.jpg', '/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_13_3153.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_33_4297.jpg
/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_29_4217.jpg
/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_25_3845.jpg
/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_21_4257.jpg
/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_17_4157.jpg
/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_13_3153.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345173058","1345173051","1345173053","1345173061","1345173055","1345173049"],"photo_ids_order":["1345173049","1345173051","1345173053","1345173055","1345173058","1345173061"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/17659fb9850b4839d22dbaaa38dbf1c5.jpg","text":"TemporaryFile(/tmp/multipartBody9119342464346494341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315583597,"filename":"image_18032025_00_40_17_4157.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5b8b00e8a2768770794bb93be0b846e3.jpg","text":"TemporaryFile(/tmp/multipartBody1340630599580698827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315583597,"filename":"image_18032025_00_40_29_4217.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ce0b13c6dfa1f9910a7baa5301bf736c.jpg","text":"TemporaryFile(/tmp/multipartBody239754736364718813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315583597,"filename":"image_18032025_00_40_25_3845.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d0e74d9e71fab3ce779543ccf9626896.jpg","text":"TemporaryFile(/tmp/multipartBody7242068303146332899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315583597,"filename":"image_18032025_00_40_13_3153.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e00539d65ffe73f8232e485a08708cad.jpg","text":"TemporaryFile(/tmp/multipartBody8200289217281069007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315583597,"filename":"image_18032025_00_40_21_4257.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8beded3a9093dbab1dfa97205d77e82d.jpg","text":"TemporaryFile(/tmp/multipartBody6290161326127997585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315583597,"filename":"image_18032025_00_40_33_4297.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345173053","file1":"1345173051","file0":"1345173049","file4":"1345173058","file5":"1345173061","file3":"1345173055"},"map_files_photo_id_array":[{"photo_id":"1345173061","filename":"file5"},{"photo_id":"1345173053","filename":"file2"},{"photo_id":"1345173058","filename":"file4"},{"photo_id":"1345173051","filename":"file1"},{"photo_id":"1345173049","filename":"file0"},{"photo_id":"1345173055","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345173058":["hashtag1","hashtag2"]},{"1345173051":["hashtag1","hashtag2"]},{"1345173053":["hashtag1","hashtag2"]},{"1345173061":["hashtag1","hashtag2"]},{"1345173055":["hashtag1","hashtag2"]},{"1345173049":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345173058, 1345173051, 1345173053, 1345173061, 1345173055, 1345173049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.698201894760132 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:33:03.208944
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_10_3948.jpg', 2), ('/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_06_4725.jpg', 2), ('/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_01_3184.jpg', 2), ('/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_58_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_54_4135.jpg', 2), ('/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_49_4148.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_10_3948.jpg', '/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_06_4725.jpg', '/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_01_3184.jpg', '/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_58_4146.jpg', '/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_54_4135.jpg', '/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_49_4148.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_10_3948.jpg
/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_06_4725.jpg
/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_01_3184.jpg
/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_58_4146.jpg
/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_54_4135.jpg
/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_49_4148.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.42183995246887207 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:33:32.731861
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_10_3948.jpg', 2), ('/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_06_4725.jpg', 2), ('/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_01_3184.jpg', 2), ('/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_58_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_54_4135.jpg', 2), ('/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_49_4148.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_10_3948.jpg', '/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_06_4725.jpg', '/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_01_3184.jpg', '/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_58_4146.jpg', '/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_54_4135.jpg', '/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_49_4148.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_10_3948.jpg
/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_06_4725.jpg
/home/nano/Desktop/images/18032025/00/40/image_18032025_00_40_01_3184.jpg
/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_58_4146.jpg
/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_54_4135.jpg
/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_49_4148.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345173259","1345173297","1345173327","1345173335","1345173338","1345173332"],"photo_ids_order":["1345173259","1345173297","1345173327","1345173332","1345173335","1345173338"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e131d7c768e82b6ef89b4a4dfeaca353.jpg","text":"TemporaryFile(/tmp/multipartBody4789757544913364885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315673225,"filename":"image_18032025_00_40_10_3948.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c00f4da1547c1f6c8531c2cc73207cf1.jpg","text":"TemporaryFile(/tmp/multipartBody8248382320091645934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315673225,"filename":"image_18032025_00_40_06_4725.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/648d19efee0c7de003a46552080e4d35.jpg","text":"TemporaryFile(/tmp/multipartBody783299959803515246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315673225,"filename":"image_18032025_00_40_01_3184.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ea7672f9706b2ab989e999558feeebe9.jpg","text":"TemporaryFile(/tmp/multipartBody2682172258153774700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315673225,"filename":"image_18032025_00_39_54_4135.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4b3758faef92f7b8fcc8de6b64d5cc08.jpg","text":"TemporaryFile(/tmp/multipartBody6169367811065025659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315673225,"filename":"image_18032025_00_39_49_4148.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7ef88d8413085d28a9e0fed1f3131788.jpg","text":"TemporaryFile(/tmp/multipartBody548498468971443376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315673225,"filename":"image_18032025_00_39_58_4146.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345173327","file1":"1345173297","file0":"1345173259","file4":"1345173335","file5":"1345173338","file3":"1345173332"},"map_files_photo_id_array":[{"photo_id":"1345173338","filename":"file5"},{"photo_id":"1345173327","filename":"file2"},{"photo_id":"1345173335","filename":"file4"},{"photo_id":"1345173297","filename":"file1"},{"photo_id":"1345173259","filename":"file0"},{"photo_id":"1345173332","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345173259":["hashtag1","hashtag2"]},{"1345173297":["hashtag1","hashtag2"]},{"1345173327":["hashtag1","hashtag2"]},{"1345173335":["hashtag1","hashtag2"]},{"1345173338":["hashtag1","hashtag2"]},{"1345173332":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345173259, 1345173297, 1345173327, 1345173335, 1345173338, 1345173332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.00906443595886 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:34:31.910538
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_45_4149.jpg', 2), ('/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_41_4133.jpg', 2), ('/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_37_4110.jpg', 2), ('/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_33_4067.jpg', 2), ('/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_29_3153.jpg', 2), ('/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_26_4041.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_45_4149.jpg', '/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_41_4133.jpg', '/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_37_4110.jpg', '/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_33_4067.jpg', '/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_29_3153.jpg', '/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_26_4041.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_45_4149.jpg
/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_41_4133.jpg
/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_37_4110.jpg
/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_33_4067.jpg
/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_29_3153.jpg
/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_26_4041.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345173355","1345173360","1345173383","1345173365","1345173379","1345173373"],"photo_ids_order":["1345173355","1345173360","1345173365","1345173373","1345173379","1345173383"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6a82d6031ce22216cff44657b097d375.jpg","text":"TemporaryFile(/tmp/multipartBody8797725593914228738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315732470,"filename":"image_18032025_00_39_45_4149.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9b2e10975da27a4de14e3910bd8df1d0.jpg","text":"TemporaryFile(/tmp/multipartBody5818856327202775215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315732470,"filename":"image_18032025_00_39_41_4133.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e91a1889f6bf8edd7c80c66bd7ceb488.jpg","text":"TemporaryFile(/tmp/multipartBody4739306511864974338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315732470,"filename":"image_18032025_00_39_26_4041.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5498ab2353beabf41da6a4f6e9022895.jpg","text":"TemporaryFile(/tmp/multipartBody2005566732949300932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315732470,"filename":"image_18032025_00_39_37_4110.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7efd2b38a5764e91e8378d3087bfdc7a.jpg","text":"TemporaryFile(/tmp/multipartBody8862416735214152100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315732470,"filename":"image_18032025_00_39_29_3153.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/242a7dbf73d349404c6179111641d9a6.jpg","text":"TemporaryFile(/tmp/multipartBody4399818192864348020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315732470,"filename":"image_18032025_00_39_33_4067.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345173365","file1":"1345173360","file0":"1345173355","file4":"1345173379","file5":"1345173383","file3":"1345173373"},"map_files_photo_id_array":[{"photo_id":"1345173383","filename":"file5"},{"photo_id":"1345173365","filename":"file2"},{"photo_id":"1345173379","filename":"file4"},{"photo_id":"1345173360","filename":"file1"},{"photo_id":"1345173355","filename":"file0"},{"photo_id":"1345173373","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345173355":["hashtag1","hashtag2"]},{"1345173360":["hashtag1","hashtag2"]},{"1345173383":["hashtag1","hashtag2"]},{"1345173365":["hashtag1","hashtag2"]},{"1345173379":["hashtag1","hashtag2"]},{"1345173373":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345173355, 1345173360, 1345173383, 1345173365, 1345173379, 1345173373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.4799370765686 secondes ---
[Errno 13] Permission denied: '/home/pi'
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:36:02.862854
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_22_4179.jpg', 2), ('/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_17_4073.jpg', 2), ('/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_13_4174.jpg', 2), ('/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_09_4191.jpg', 2), ('/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_05_4156.jpg', 2), ('/home/nano/Desktop/images/18032025/00/38/image_18032025_00_39_01_4098.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_22_4179.jpg', '/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_17_4073.jpg', '/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_13_4174.jpg', '/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_09_4191.jpg', '/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_05_4156.jpg', '/home/nano/Desktop/images/18032025/00/38/image_18032025_00_39_01_4098.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_22_4179.jpg
/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_17_4073.jpg
/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_13_4174.jpg
/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_09_4191.jpg
/home/nano/Desktop/images/18032025/00/39/image_18032025_00_39_05_4156.jpg
/home/nano/Desktop/images/18032025/00/38/image_18032025_00_39_01_4098.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345173427","1345173424","1345173420","1345173414","1345173434","1345173431"],"photo_ids_order":["1345173414","1345173420","1345173424","1345173427","1345173431","1345173434"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9d129714a8462cc3c7c89756e4fd7833.jpg","text":"TemporaryFile(/tmp/multipartBody6459626333954725298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315823341,"filename":"image_18032025_00_39_09_4191.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/25357811eba77ba63b12b950c21766d6.jpg","text":"TemporaryFile(/tmp/multipartBody5543268167846958510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315823341,"filename":"image_18032025_00_39_13_4174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fedab58b62fef64068688355fdbb4fd8.jpg","text":"TemporaryFile(/tmp/multipartBody8309916600827293889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315823341,"filename":"image_18032025_00_39_17_4073.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3cdf2ddd6e64b977b44c08dbbbafe5d9.jpg","text":"TemporaryFile(/tmp/multipartBody8824032495380305536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315823341,"filename":"image_18032025_00_39_22_4179.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a960f6c94e32b410019fdf7b2186956f.jpg","text":"TemporaryFile(/tmp/multipartBody7070711689247356037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315823341,"filename":"image_18032025_00_39_01_4098.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ff09ddcb629b899f438b7e929c83535f.jpg","text":"TemporaryFile(/tmp/multipartBody5172172818132529878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315823341,"filename":"image_18032025_00_39_05_4156.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345173424","file1":"1345173420","file0":"1345173414","file4":"1345173431","file5":"1345173434","file3":"1345173427"},"map_files_photo_id_array":[{"photo_id":"1345173434","filename":"file5"},{"photo_id":"1345173424","filename":"file2"},{"photo_id":"1345173431","filename":"file4"},{"photo_id":"1345173420","filename":"file1"},{"photo_id":"1345173414","filename":"file0"},{"photo_id":"1345173427","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345173427":["hashtag1","hashtag2"]},{"1345173424":["hashtag1","hashtag2"]},{"1345173420":["hashtag1","hashtag2"]},{"1345173414":["hashtag1","hashtag2"]},{"1345173434":["hashtag1","hashtag2"]},{"1345173431":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345173427, 1345173424, 1345173420, 1345173414, 1345173434, 1345173431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.64813804626465 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:37:03.024892
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_57_3133.jpg', 2), ('/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_54_4147.jpg', 2), ('/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_49_4230.jpg', 2), ('/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_45_4190.jpg', 2), ('/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_41_4178.jpg', 2), ('/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_37_3215.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_57_3133.jpg', '/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_54_4147.jpg', '/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_49_4230.jpg', '/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_45_4190.jpg', '/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_41_4178.jpg', '/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_37_3215.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_57_3133.jpg
/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_54_4147.jpg
/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_49_4230.jpg
/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_45_4190.jpg
/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_41_4178.jpg
/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_37_3215.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345173469","1345173514","1345173534","1345173528","1345173545","1345173493"],"photo_ids_order":["1345173469","1345173493","1345173514","1345173528","1345173534","1345173545"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f46b6d822848fc2f405d0b83ae5e5be4.jpg","text":"TemporaryFile(/tmp/multipartBody7111460594438230531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315883521,"filename":"image_18032025_00_38_57_3133.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/914282562cd894e58c7dc623f5c25fe5.jpg","text":"TemporaryFile(/tmp/multipartBody4518774009290746748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315883521,"filename":"image_18032025_00_38_49_4230.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/96ad05cf0fa2007d7de40421dca403cd.jpg","text":"TemporaryFile(/tmp/multipartBody2169375775345428186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315883521,"filename":"image_18032025_00_38_41_4178.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/04944f320fe8c681a366385dd9e8b917.jpg","text":"TemporaryFile(/tmp/multipartBody2219715647265502209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315883521,"filename":"image_18032025_00_38_45_4190.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/626dadca947ce132befc3a993c8eca10.jpg","text":"TemporaryFile(/tmp/multipartBody3247523264819342713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315883521,"filename":"image_18032025_00_38_37_3215.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9967548461e6f5d54ef526d6e0ce06c6.jpg","text":"TemporaryFile(/tmp/multipartBody7324377177261844620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315883521,"filename":"image_18032025_00_38_54_4147.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345173514","file1":"1345173493","file0":"1345173469","file4":"1345173534","file5":"1345173545","file3":"1345173528"},"map_files_photo_id_array":[{"photo_id":"1345173545","filename":"file5"},{"photo_id":"1345173514","filename":"file2"},{"photo_id":"1345173534","filename":"file4"},{"photo_id":"1345173493","filename":"file1"},{"photo_id":"1345173469","filename":"file0"},{"photo_id":"1345173528","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345173469":["hashtag1","hashtag2"]},{"1345173514":["hashtag1","hashtag2"]},{"1345173534":["hashtag1","hashtag2"]},{"1345173528":["hashtag1","hashtag2"]},{"1345173545":["hashtag1","hashtag2"]},{"1345173493":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345173469, 1345173514, 1345173534, 1345173528, 1345173545, 1345173493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.642781972885132 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:38:03.308694
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_34_4859.jpg', 2), ('/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_29_4038.jpg', 2), ('/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_25_3332.jpg', 2), ('/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_21_4196.jpg', 2), ('/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_17_4325.jpg', 2), ('/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_13_3181.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_34_4859.jpg', '/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_29_4038.jpg', '/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_25_3332.jpg', '/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_21_4196.jpg', '/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_17_4325.jpg', '/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_13_3181.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_34_4859.jpg
/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_29_4038.jpg
/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_25_3332.jpg
/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_21_4196.jpg
/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_17_4325.jpg
/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_13_3181.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345173631","1345173606","1345173662","1345173595","1345173589","1345173592"],"photo_ids_order":["1345173589","1345173592","1345173595","1345173606","1345173631","1345173662"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3057ef423b6bca0736fa9e20761e9a6e.jpg","text":"TemporaryFile(/tmp/multipartBody4726364283956699984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315943775,"filename":"image_18032025_00_38_17_4325.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e47c6fa19ccb6489ec8db1fdaef66f4a.jpg","text":"TemporaryFile(/tmp/multipartBody8327731046913894400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315943775,"filename":"image_18032025_00_38_21_4196.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8bb29aa5d6738d522ffd80d5e7a7f0fb.jpg","text":"TemporaryFile(/tmp/multipartBody1403531745833246834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315943775,"filename":"image_18032025_00_38_13_3181.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/624092ebf206259199e705e90ea03d00.jpg","text":"TemporaryFile(/tmp/multipartBody6874637609117752015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315943775,"filename":"image_18032025_00_38_25_3332.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e6d1a7bafc941db9edb7e59db8e24bd6.jpg","text":"TemporaryFile(/tmp/multipartBody3473086911642893199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315943775,"filename":"image_18032025_00_38_34_4859.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ac1a168efb5240aaf91ac558b413729d.jpg","text":"TemporaryFile(/tmp/multipartBody8225018308505339292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742315943775,"filename":"image_18032025_00_38_29_4038.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345173595","file1":"1345173592","file0":"1345173589","file4":"1345173631","file5":"1345173662","file3":"1345173606"},"map_files_photo_id_array":[{"photo_id":"1345173662","filename":"file5"},{"photo_id":"1345173595","filename":"file2"},{"photo_id":"1345173631","filename":"file4"},{"photo_id":"1345173592","filename":"file1"},{"photo_id":"1345173589","filename":"file0"},{"photo_id":"1345173606","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345173631":["hashtag1","hashtag2"]},{"1345173606":["hashtag1","hashtag2"]},{"1345173662":["hashtag1","hashtag2"]},{"1345173595":["hashtag1","hashtag2"]},{"1345173589":["hashtag1","hashtag2"]},{"1345173592":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345173631, 1345173606, 1345173662, 1345173595, 1345173589, 1345173592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.117105960845947 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:39:02.326527
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_10_4081.jpg', 2), ('/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_06_4788.jpg', 2), ('/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_01_3127.jpg', 2), ('/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_58_4078.jpg', 2), ('/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_54_4054.jpg', 2), ('/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_50_4011.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_10_4081.jpg', '/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_06_4788.jpg', '/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_01_3127.jpg', '/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_58_4078.jpg', '/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_54_4054.jpg', '/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_50_4011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_10_4081.jpg
/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_06_4788.jpg
/home/nano/Desktop/images/18032025/00/38/image_18032025_00_38_01_3127.jpg
/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_58_4078.jpg
/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_54_4054.jpg
/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_50_4011.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345173730","1345173738","1345173732","1345173764","1345173734","1345173796"],"photo_ids_order":["1345173730","1345173732","1345173734","1345173738","1345173764","1345173796"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7a761a34b754de17ffd679204e5a97e9.jpg","text":"TemporaryFile(/tmp/multipartBody5082434786452653436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316002867,"filename":"image_18032025_00_38_10_4081.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8fa15c31070efd21db2d8c10e68e1727.jpg","text":"TemporaryFile(/tmp/multipartBody2375687536512166492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316002867,"filename":"image_18032025_00_37_58_4078.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/04658c0b2673bd8db8ed1286239d80f1.jpg","text":"TemporaryFile(/tmp/multipartBody6999234426914974784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316002867,"filename":"image_18032025_00_38_06_4788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/adc492084fcbed6874bfbe7b6159ec5e.jpg","text":"TemporaryFile(/tmp/multipartBody9054758886462199230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316002867,"filename":"image_18032025_00_37_54_4054.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0a408aee91c474b436926aa6af95a094.jpg","text":"TemporaryFile(/tmp/multipartBody5815037078946533095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316002867,"filename":"image_18032025_00_38_01_3127.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2614c3a5519275d8c14e0451e1a98410.jpg","text":"TemporaryFile(/tmp/multipartBody4876807350348637250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316002867,"filename":"image_18032025_00_37_50_4011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345173734","file1":"1345173732","file0":"1345173730","file4":"1345173764","file5":"1345173796","file3":"1345173738"},"map_files_photo_id_array":[{"photo_id":"1345173796","filename":"file5"},{"photo_id":"1345173734","filename":"file2"},{"photo_id":"1345173764","filename":"file4"},{"photo_id":"1345173732","filename":"file1"},{"photo_id":"1345173730","filename":"file0"},{"photo_id":"1345173738","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345173730":["hashtag1","hashtag2"]},{"1345173738":["hashtag1","hashtag2"]},{"1345173732":["hashtag1","hashtag2"]},{"1345173764":["hashtag1","hashtag2"]},{"1345173734":["hashtag1","hashtag2"]},{"1345173796":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345173730, 1345173738, 1345173732, 1345173764, 1345173734, 1345173796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.747142553329468 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:40:02.501685
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_46_4046.jpg', 2), ('/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_42_4096.jpg', 2), ('/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_37_4096.jpg', 2), ('/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_33_4200.jpg', 2), ('/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_29_4228.jpg', 2), ('/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_25_4192.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_46_4046.jpg', '/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_42_4096.jpg', '/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_37_4096.jpg', '/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_33_4200.jpg', '/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_29_4228.jpg', '/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_25_4192.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_46_4046.jpg
/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_42_4096.jpg
/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_37_4096.jpg
/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_33_4200.jpg
/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_29_4228.jpg
/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_25_4192.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345174079","1345174151","1345174198","1345174132","1345174069","1345174102"],"photo_ids_order":["1345174069","1345174079","1345174102","1345174132","1345174151","1345174198"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c4b2a034f6aa274e3e96cc102c19b037.jpg","text":"TemporaryFile(/tmp/multipartBody8469708676998818613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316063016,"filename":"image_18032025_00_37_42_4096.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/97c0ad56abd4887c26255cfc73f4bbd8.jpg","text":"TemporaryFile(/tmp/multipartBody695312859168364529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316063016,"filename":"image_18032025_00_37_29_4228.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d6236c6916d924ce9ee2b72b93558cfb.jpg","text":"TemporaryFile(/tmp/multipartBody5043587184150453004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316063016,"filename":"image_18032025_00_37_25_4192.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/14866846be9b13c5382563b19d0cf917.jpg","text":"TemporaryFile(/tmp/multipartBody4972749120714531464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316063016,"filename":"image_18032025_00_37_33_4200.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4af065c56002e35ee1c5179e6431d1c7.jpg","text":"TemporaryFile(/tmp/multipartBody675515780224996635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316063016,"filename":"image_18032025_00_37_46_4046.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a615a623ac165ddf7a42c829afa15b74.jpg","text":"TemporaryFile(/tmp/multipartBody3583220498852948703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316063016,"filename":"image_18032025_00_37_37_4096.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345174102","file1":"1345174079","file0":"1345174069","file4":"1345174151","file5":"1345174198","file3":"1345174132"},"map_files_photo_id_array":[{"photo_id":"1345174198","filename":"file5"},{"photo_id":"1345174102","filename":"file2"},{"photo_id":"1345174151","filename":"file4"},{"photo_id":"1345174079","filename":"file1"},{"photo_id":"1345174069","filename":"file0"},{"photo_id":"1345174132","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345174079":["hashtag1","hashtag2"]},{"1345174151":["hashtag1","hashtag2"]},{"1345174198":["hashtag1","hashtag2"]},{"1345174132":["hashtag1","hashtag2"]},{"1345174069":["hashtag1","hashtag2"]},{"1345174102":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345174079, 1345174151, 1345174198, 1345174132, 1345174069, 1345174102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.09123682975769 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:41:02.755136
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_21_3164.jpg', 2), ('/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_18_4161.jpg', 2), ('/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_13_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_09_4216.jpg', 2), ('/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_05_3374.jpg', 2), ('/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_02_4196.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_21_3164.jpg', '/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_18_4161.jpg', '/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_13_4146.jpg', '/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_09_4216.jpg', '/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_05_3374.jpg', '/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_02_4196.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_21_3164.jpg
/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_18_4161.jpg
/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_13_4146.jpg
/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_09_4216.jpg
/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_05_3374.jpg
/home/nano/Desktop/images/18032025/00/37/image_18032025_00_37_02_4196.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345174455","1345174464","1345174710","1345174649","1345174495","1345174558"],"photo_ids_order":["1345174455","1345174464","1345174495","1345174558","1345174649","1345174710"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2ee501f4bb74491a33decff2d74334e5.jpg","text":"TemporaryFile(/tmp/multipartBody316553286141694349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316123439,"filename":"image_18032025_00_37_21_3164.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d6191c2b8543297e2bfd554693e19722.jpg","text":"TemporaryFile(/tmp/multipartBody7803586991501082523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316123439,"filename":"image_18032025_00_37_18_4161.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b051785b4441225e57f1357c86d62c3d.jpg","text":"TemporaryFile(/tmp/multipartBody7910945286434916609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316123439,"filename":"image_18032025_00_37_02_4196.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e2b90a5cba0e96d887d141a73fdd9a8a.jpg","text":"TemporaryFile(/tmp/multipartBody5902687645709815259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316123439,"filename":"image_18032025_00_37_05_3374.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e6d29483cbb0b56fa98e6d962d2a48e1.jpg","text":"TemporaryFile(/tmp/multipartBody3190746976292984827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316123439,"filename":"image_18032025_00_37_13_4146.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/69e945ded5fc32a38c42add5cf8621ab.jpg","text":"TemporaryFile(/tmp/multipartBody2103484895723839990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316123439,"filename":"image_18032025_00_37_09_4216.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345174495","file1":"1345174464","file0":"1345174455","file4":"1345174649","file5":"1345174710","file3":"1345174558"},"map_files_photo_id_array":[{"photo_id":"1345174710","filename":"file5"},{"photo_id":"1345174495","filename":"file2"},{"photo_id":"1345174649","filename":"file4"},{"photo_id":"1345174464","filename":"file1"},{"photo_id":"1345174455","filename":"file0"},{"photo_id":"1345174558","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345174455":["hashtag1","hashtag2"]},{"1345174464":["hashtag1","hashtag2"]},{"1345174710":["hashtag1","hashtag2"]},{"1345174649":["hashtag1","hashtag2"]},{"1345174495":["hashtag1","hashtag2"]},{"1345174558":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345174455, 1345174464, 1345174710, 1345174649, 1345174495, 1345174558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.22529888153076 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:42:02.777180
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_57_4230.jpg', 2), ('/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_53_4336.jpg', 2), ('/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_49_3174.jpg', 2), ('/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_46_4254.jpg', 2), ('/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_41_4368.jpg', 2), ('/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_37_3727.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_57_4230.jpg', '/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_53_4336.jpg', '/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_49_3174.jpg', '/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_46_4254.jpg', '/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_41_4368.jpg', '/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_37_3727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_57_4230.jpg
/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_53_4336.jpg
/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_49_3174.jpg
/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_46_4254.jpg
/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_41_4368.jpg
/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_37_3727.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345175138","1345175105","1345175125","1345175332","1345175248","1345175199"],"photo_ids_order":["1345175105","1345175125","1345175138","1345175199","1345175248","1345175332"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/aed0a254921d1481b46dea80f70e9c09.jpg","text":"TemporaryFile(/tmp/multipartBody2075392978426917850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316183366,"filename":"image_18032025_00_36_49_3174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2f5c72c5fd661c2b0bc0b46569ee686f.jpg","text":"TemporaryFile(/tmp/multipartBody5089992999623292006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316183366,"filename":"image_18032025_00_36_57_4230.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/add91a10f47638a67d11fdc6495a4cfc.jpg","text":"TemporaryFile(/tmp/multipartBody8748496041776720017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316183366,"filename":"image_18032025_00_36_53_4336.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8b8e45a8e260b991d04a4e26933b8160.jpg","text":"TemporaryFile(/tmp/multipartBody9009629098209643335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316183366,"filename":"image_18032025_00_36_37_3727.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/af1fc3bc7d8dcfe91f987989cd1847a3.jpg","text":"TemporaryFile(/tmp/multipartBody2424234529052260428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316183366,"filename":"image_18032025_00_36_41_4368.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fadd0d0b5007f5566ec265c9fc0d7905.jpg","text":"TemporaryFile(/tmp/multipartBody2983172239466123019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316183366,"filename":"image_18032025_00_36_46_4254.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345175138","file1":"1345175125","file0":"1345175105","file4":"1345175248","file5":"1345175332","file3":"1345175199"},"map_files_photo_id_array":[{"photo_id":"1345175332","filename":"file5"},{"photo_id":"1345175138","filename":"file2"},{"photo_id":"1345175248","filename":"file4"},{"photo_id":"1345175125","filename":"file1"},{"photo_id":"1345175105","filename":"file0"},{"photo_id":"1345175199","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345175138":["hashtag1","hashtag2"]},{"1345175105":["hashtag1","hashtag2"]},{"1345175125":["hashtag1","hashtag2"]},{"1345175332":["hashtag1","hashtag2"]},{"1345175248":["hashtag1","hashtag2"]},{"1345175199":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345175138, 1345175105, 1345175125, 1345175332, 1345175248, 1345175199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.65036225318909 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:43:02.866393
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_33_4264.jpg', 2), ('/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_29_4290.jpg', 2), ('/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_25_3221.jpg', 2), ('/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_22_4068.jpg', 2), ('/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_17_4079.jpg', 2), ('/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_13_4141.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_33_4264.jpg', '/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_29_4290.jpg', '/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_25_3221.jpg', '/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_22_4068.jpg', '/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_17_4079.jpg', '/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_13_4141.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_33_4264.jpg
/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_29_4290.jpg
/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_25_3221.jpg
/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_22_4068.jpg
/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_17_4079.jpg
/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_13_4141.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345175514","1345175582","1345175543","1345175504","1345175518","1345175571"],"photo_ids_order":["1345175504","1345175514","1345175518","1345175543","1345175571","1345175582"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/518d83d742eca870ab3dff1ed2e080e8.jpg","text":"TemporaryFile(/tmp/multipartBody1935494164259676777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316243347,"filename":"image_18032025_00_36_29_4290.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/29421f64cc6d6132f87aac2208fd4a1f.jpg","text":"TemporaryFile(/tmp/multipartBody7689092208008318500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316243347,"filename":"image_18032025_00_36_13_4141.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/efc24ee3caf1d0a1f375c2ca8a71fed1.jpg","text":"TemporaryFile(/tmp/multipartBody9031854527576132994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316243347,"filename":"image_18032025_00_36_22_4068.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c1e0f68afc0efd43cf8abc43024d3788.jpg","text":"TemporaryFile(/tmp/multipartBody5520720157146214563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316243347,"filename":"image_18032025_00_36_33_4264.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f3919213dce10882704551250bfba702.jpg","text":"TemporaryFile(/tmp/multipartBody282447078046650198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316243347,"filename":"image_18032025_00_36_25_3221.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ea6ac8a36520a04c5c5e22a3afc0094e.jpg","text":"TemporaryFile(/tmp/multipartBody4625287201854982988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316243347,"filename":"image_18032025_00_36_17_4079.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345175518","file1":"1345175514","file0":"1345175504","file4":"1345175571","file5":"1345175582","file3":"1345175543"},"map_files_photo_id_array":[{"photo_id":"1345175582","filename":"file5"},{"photo_id":"1345175518","filename":"file2"},{"photo_id":"1345175571","filename":"file4"},{"photo_id":"1345175514","filename":"file1"},{"photo_id":"1345175504","filename":"file0"},{"photo_id":"1345175543","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345175514":["hashtag1","hashtag2"]},{"1345175582":["hashtag1","hashtag2"]},{"1345175543":["hashtag1","hashtag2"]},{"1345175504":["hashtag1","hashtag2"]},{"1345175518":["hashtag1","hashtag2"]},{"1345175571":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345175514, 1345175582, 1345175543, 1345175504, 1345175518, 1345175571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.055405378341675 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:44:03.268886
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_09_3792.jpg', 2), ('/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_05_3943.jpg', 2), ('/home/nano/Desktop/images/18032025/00/35/image_18032025_00_36_02_4117.jpg', 2), ('/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_57_4089.jpg', 2), ('/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_53_4179.jpg', 2), ('/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_49_4136.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_09_3792.jpg', '/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_05_3943.jpg', '/home/nano/Desktop/images/18032025/00/35/image_18032025_00_36_02_4117.jpg', '/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_57_4089.jpg', '/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_53_4179.jpg', '/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_49_4136.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_09_3792.jpg
/home/nano/Desktop/images/18032025/00/36/image_18032025_00_36_05_3943.jpg
/home/nano/Desktop/images/18032025/00/35/image_18032025_00_36_02_4117.jpg
/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_57_4089.jpg
/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_53_4179.jpg
/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_49_4136.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345175780","1345175788","1345175813","1345175776","1345175773","1345175784"],"photo_ids_order":["1345175773","1345175776","1345175780","1345175784","1345175788","1345175813"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d7c9b5159f17a5f5c5e4b926c3e16ada.jpg","text":"TemporaryFile(/tmp/multipartBody7709178642975700453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316303735,"filename":"image_18032025_00_36_02_4117.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9cb3670bc23b4729304753eabd74be10.jpg","text":"TemporaryFile(/tmp/multipartBody8723305125059486494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316303735,"filename":"image_18032025_00_35_53_4179.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b0bbb9e72b4a2717c1e4aac671ff6fc9.jpg","text":"TemporaryFile(/tmp/multipartBody5774685861332631464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316303735,"filename":"image_18032025_00_35_49_4136.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b4a17115464a4b1f4225e08e7a486ee5.jpg","text":"TemporaryFile(/tmp/multipartBody4005873114708500769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316303735,"filename":"image_18032025_00_36_05_3943.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/48aa2b830cad3d1bfa1f9fceaabdcb67.jpg","text":"TemporaryFile(/tmp/multipartBody651275041002436269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316303735,"filename":"image_18032025_00_36_09_3792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e5c7c29b295442c3e4dc18e458585a56.jpg","text":"TemporaryFile(/tmp/multipartBody3905854667118286233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316303735,"filename":"image_18032025_00_35_57_4089.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345175780","file1":"1345175776","file0":"1345175773","file4":"1345175788","file5":"1345175813","file3":"1345175784"},"map_files_photo_id_array":[{"photo_id":"1345175813","filename":"file5"},{"photo_id":"1345175780","filename":"file2"},{"photo_id":"1345175788","filename":"file4"},{"photo_id":"1345175776","filename":"file1"},{"photo_id":"1345175773","filename":"file0"},{"photo_id":"1345175784","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345175780":["hashtag1","hashtag2"]},{"1345175788":["hashtag1","hashtag2"]},{"1345175813":["hashtag1","hashtag2"]},{"1345175776":["hashtag1","hashtag2"]},{"1345175773":["hashtag1","hashtag2"]},{"1345175784":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345175780, 1345175788, 1345175813, 1345175776, 1345175773, 1345175784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.763845443725586 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:45:02.344609
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_45_4106.jpg', 2), ('/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_41_4141.jpg', 2), ('/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_37_3159.jpg', 2), ('/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_34_4167.jpg', 2), ('/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_29_4042.jpg', 2), ('/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_25_4211.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_45_4106.jpg', '/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_41_4141.jpg', '/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_37_3159.jpg', '/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_34_4167.jpg', '/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_29_4042.jpg', '/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_25_4211.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_45_4106.jpg
/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_41_4141.jpg
/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_37_3159.jpg
/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_34_4167.jpg
/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_29_4042.jpg
/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_25_4211.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345175931","1345175927","1345175938","1345175923","1345175920","1345175917"],"photo_ids_order":["1345175917","1345175920","1345175923","1345175927","1345175931","1345175938"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a951376723db58a39e00d1356a8e4820.jpg","text":"TemporaryFile(/tmp/multipartBody6468393563423122369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316363044,"filename":"image_18032025_00_35_29_4042.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0d06f7a944e30700c24cd46e68d5a6d4.jpg","text":"TemporaryFile(/tmp/multipartBody5831297938919331172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316363044,"filename":"image_18032025_00_35_34_4167.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/665b01d5b9e1eba0764d3beb92676c28.jpg","text":"TemporaryFile(/tmp/multipartBody2558148608951638913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316363044,"filename":"image_18032025_00_35_25_4211.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/06ca0123d42d432c157243600ea9d43c.jpg","text":"TemporaryFile(/tmp/multipartBody1208786155239934096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316363044,"filename":"image_18032025_00_35_37_3159.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4b5246966cf40f271e33aa30cde43012.jpg","text":"TemporaryFile(/tmp/multipartBody8841364807166518455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316363044,"filename":"image_18032025_00_35_41_4141.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d2e6c6db85b14c64434333e46a1bbfb0.jpg","text":"TemporaryFile(/tmp/multipartBody7064809878704452314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316363044,"filename":"image_18032025_00_35_45_4106.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345175923","file1":"1345175920","file0":"1345175917","file4":"1345175931","file5":"1345175938","file3":"1345175927"},"map_files_photo_id_array":[{"photo_id":"1345175938","filename":"file5"},{"photo_id":"1345175923","filename":"file2"},{"photo_id":"1345175931","filename":"file4"},{"photo_id":"1345175920","filename":"file1"},{"photo_id":"1345175917","filename":"file0"},{"photo_id":"1345175927","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345175931":["hashtag1","hashtag2"]},{"1345175927":["hashtag1","hashtag2"]},{"1345175938":["hashtag1","hashtag2"]},{"1345175923":["hashtag1","hashtag2"]},{"1345175920":["hashtag1","hashtag2"]},{"1345175917":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345175931, 1345175927, 1345175938, 1345175923, 1345175920, 1345175917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.284239292144775 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:46:02.633944
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_21_4078.jpg', 2), ('/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_17_4037.jpg', 2), ('/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_13_4137.jpg', 2), ('/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_09_4190.jpg', 2), ('/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_05_3542.jpg', 2), ('/home/nano/Desktop/images/18032025/00/34/image_18032025_00_35_01_4179.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_21_4078.jpg', '/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_17_4037.jpg', '/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_13_4137.jpg', '/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_09_4190.jpg', '/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_05_3542.jpg', '/home/nano/Desktop/images/18032025/00/34/image_18032025_00_35_01_4179.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_21_4078.jpg
/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_17_4037.jpg
/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_13_4137.jpg
/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_09_4190.jpg
/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_05_3542.jpg
/home/nano/Desktop/images/18032025/00/34/image_18032025_00_35_01_4179.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.465543270111084 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:46:32.059285
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_21_4078.jpg', 2), ('/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_17_4037.jpg', 2), ('/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_13_4137.jpg', 2), ('/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_09_4190.jpg', 2), ('/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_05_3542.jpg', 2), ('/home/nano/Desktop/images/18032025/00/34/image_18032025_00_35_01_4179.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_21_4078.jpg', '/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_17_4037.jpg', '/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_13_4137.jpg', '/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_09_4190.jpg', '/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_05_3542.jpg', '/home/nano/Desktop/images/18032025/00/34/image_18032025_00_35_01_4179.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_21_4078.jpg
/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_17_4037.jpg
/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_13_4137.jpg
/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_09_4190.jpg
/home/nano/Desktop/images/18032025/00/35/image_18032025_00_35_05_3542.jpg
/home/nano/Desktop/images/18032025/00/34/image_18032025_00_35_01_4179.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345176000","1345175990","1345176005","1345175997","1345175994","1345176003"],"photo_ids_order":["1345175990","1345175994","1345175997","1345176000","1345176003","1345176005"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d93edafdd1a8e5a15d0a7c00480efa71.jpg","text":"TemporaryFile(/tmp/multipartBody7805481545522025239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316452567,"filename":"image_18032025_00_35_09_4190.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/85b76de7b654779ecdcc9bc5857dcf8d.jpg","text":"TemporaryFile(/tmp/multipartBody3711480714296894581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316452567,"filename":"image_18032025_00_35_21_4078.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/50ae2fc17ab618b141766f23b292d3fe.jpg","text":"TemporaryFile(/tmp/multipartBody1919092477168300642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316452567,"filename":"image_18032025_00_35_01_4179.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/eedda7765abb1293e02db483aed2ddbd.jpg","text":"TemporaryFile(/tmp/multipartBody7172764695691134414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316452567,"filename":"image_18032025_00_35_13_4137.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/13559f85565ec5e9efb36b74f8d16533.jpg","text":"TemporaryFile(/tmp/multipartBody6988555140316023313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316452567,"filename":"image_18032025_00_35_17_4037.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fed40f1a93398c1cda63bcae4a5bc022.jpg","text":"TemporaryFile(/tmp/multipartBody2631383737354791782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316452567,"filename":"image_18032025_00_35_05_3542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345175997","file1":"1345175994","file0":"1345175990","file4":"1345176003","file5":"1345176005","file3":"1345176000"},"map_files_photo_id_array":[{"photo_id":"1345176005","filename":"file5"},{"photo_id":"1345175997","filename":"file2"},{"photo_id":"1345176003","filename":"file4"},{"photo_id":"1345175994","filename":"file1"},{"photo_id":"1345175990","filename":"file0"},{"photo_id":"1345176000","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345176000":["hashtag1","hashtag2"]},{"1345175990":["hashtag1","hashtag2"]},{"1345176005":["hashtag1","hashtag2"]},{"1345175997":["hashtag1","hashtag2"]},{"1345175994":["hashtag1","hashtag2"]},{"1345176003":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345176000, 1345175990, 1345176005, 1345175997, 1345175994, 1345176003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.694361686706543 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:47:32.232318
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_57_4082.jpg', 2), ('/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_53_4213.jpg', 2), ('/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_49_3125.jpg', 2), ('/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_46_4218.jpg', 2), ('/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_41_4403.jpg', 2), ('/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_37_4229.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_57_4082.jpg', '/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_53_4213.jpg', '/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_49_3125.jpg', '/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_46_4218.jpg', '/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_41_4403.jpg', '/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_37_4229.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_57_4082.jpg
/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_53_4213.jpg
/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_49_3125.jpg
/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_46_4218.jpg
/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_41_4403.jpg
/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_37_4229.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345176047","1345176082","1345176079","1345176069","1345176054","1345176057"],"photo_ids_order":["1345176047","1345176054","1345176057","1345176069","1345176079","1345176082"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0b8dcad3041265a7935f7820876f307d.jpg","text":"TemporaryFile(/tmp/multipartBody5352445167972869881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316512724,"filename":"image_18032025_00_34_57_4082.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4ea888593330ceffd7439535eaec4b36.jpg","text":"TemporaryFile(/tmp/multipartBody6864914211121993210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316512724,"filename":"image_18032025_00_34_37_4229.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/942ac3079bb266970a965f8fcff532e3.jpg","text":"TemporaryFile(/tmp/multipartBody6787212402328034958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316512724,"filename":"image_18032025_00_34_41_4403.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a750dfa8adb13c2a33d210cb84c78ea5.jpg","text":"TemporaryFile(/tmp/multipartBody3891181796473617862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316512724,"filename":"image_18032025_00_34_46_4218.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/30fe3263f90674ddfe5d09ebbb6e3c9d.jpg","text":"TemporaryFile(/tmp/multipartBody7131299413637451937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316512724,"filename":"image_18032025_00_34_53_4213.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b4e9e87505fa0f16fb52629f1243d5b2.jpg","text":"TemporaryFile(/tmp/multipartBody4977755970911171923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316512724,"filename":"image_18032025_00_34_49_3125.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345176057","file1":"1345176054","file0":"1345176047","file4":"1345176079","file5":"1345176082","file3":"1345176069"},"map_files_photo_id_array":[{"photo_id":"1345176082","filename":"file5"},{"photo_id":"1345176057","filename":"file2"},{"photo_id":"1345176079","filename":"file4"},{"photo_id":"1345176054","filename":"file1"},{"photo_id":"1345176047","filename":"file0"},{"photo_id":"1345176069","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345176047":["hashtag1","hashtag2"]},{"1345176082":["hashtag1","hashtag2"]},{"1345176079":["hashtag1","hashtag2"]},{"1345176069":["hashtag1","hashtag2"]},{"1345176054":["hashtag1","hashtag2"]},{"1345176057":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345176047, 1345176082, 1345176079, 1345176069, 1345176054, 1345176057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.80512046813965 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:48:32.413772
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_33_3213.jpg', 2), ('/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_30_4125.jpg', 2), ('/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_25_4241.jpg', 2), ('/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_21_4105.jpg', 2), ('/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_17_4237.jpg', 2), ('/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_13_3271.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_33_3213.jpg', '/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_30_4125.jpg', '/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_25_4241.jpg', '/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_21_4105.jpg', '/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_17_4237.jpg', '/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_13_3271.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_33_3213.jpg
/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_30_4125.jpg
/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_25_4241.jpg
/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_21_4105.jpg
/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_17_4237.jpg
/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_13_3271.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345176125","1345176119","1345176121","1345176112","1345176115","1345176108"],"photo_ids_order":["1345176108","1345176112","1345176115","1345176119","1345176121","1345176125"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3e18cea6022b241716cee1599e7932ff.jpg","text":"TemporaryFile(/tmp/multipartBody79847719986409765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316572914,"filename":"image_18032025_00_34_13_3271.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c515513d00a4a9576288eb8650f14798.jpg","text":"TemporaryFile(/tmp/multipartBody9144603909269202432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316572914,"filename":"image_18032025_00_34_21_4105.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4e0fa2b2b88c4ecd41be8a374e595f3a.jpg","text":"TemporaryFile(/tmp/multipartBody6637379476022934864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316572914,"filename":"image_18032025_00_34_17_4237.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f3cec952c4c75eb13db8ac3df6d26db2.jpg","text":"TemporaryFile(/tmp/multipartBody8370952381864392911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316572914,"filename":"image_18032025_00_34_30_4125.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/144daf3b46eb4555654010119de155a4.jpg","text":"TemporaryFile(/tmp/multipartBody7942344038480069692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316572914,"filename":"image_18032025_00_34_25_4241.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/94887c8b79ae84a8d33592f86822ed91.jpg","text":"TemporaryFile(/tmp/multipartBody4279061571551806505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316572914,"filename":"image_18032025_00_34_33_3213.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345176115","file1":"1345176112","file0":"1345176108","file4":"1345176121","file5":"1345176125","file3":"1345176119"},"map_files_photo_id_array":[{"photo_id":"1345176125","filename":"file5"},{"photo_id":"1345176115","filename":"file2"},{"photo_id":"1345176121","filename":"file4"},{"photo_id":"1345176112","filename":"file1"},{"photo_id":"1345176108","filename":"file0"},{"photo_id":"1345176119","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345176125":["hashtag1","hashtag2"]},{"1345176119":["hashtag1","hashtag2"]},{"1345176121":["hashtag1","hashtag2"]},{"1345176112":["hashtag1","hashtag2"]},{"1345176115":["hashtag1","hashtag2"]},{"1345176108":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345176125, 1345176119, 1345176121, 1345176112, 1345176115, 1345176108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.95391845703125 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:49:32.565640
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_10_4261.jpg', 2), ('/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_05_3652.jpg', 2), ('/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_02_4176.jpg', 2), ('/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_57_4144.jpg', 2), ('/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_53_4170.jpg', 2), ('/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_49_4168.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_10_4261.jpg', '/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_05_3652.jpg', '/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_02_4176.jpg', '/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_57_4144.jpg', '/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_53_4170.jpg', '/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_49_4168.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_10_4261.jpg
/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_05_3652.jpg
/home/nano/Desktop/images/18032025/00/34/image_18032025_00_34_02_4176.jpg
/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_57_4144.jpg
/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_53_4170.jpg
/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_49_4168.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345176204","1345176253","1345176319","1345176282","1345176159","1345176315"],"photo_ids_order":["1345176159","1345176204","1345176253","1345176282","1345176315","1345176319"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d7c9a7b7733878c525bc95c485712a2d.jpg","text":"TemporaryFile(/tmp/multipartBody7085871335007814791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316633076,"filename":"image_18032025_00_34_05_3652.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/00c171872ef72c7bd01c87f7bc9ae8f9.jpg","text":"TemporaryFile(/tmp/multipartBody6613990017232576057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316633076,"filename":"image_18032025_00_34_02_4176.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/922f8deb36e7127c97be7d82ef77e68b.jpg","text":"TemporaryFile(/tmp/multipartBody1658064921611107387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316633076,"filename":"image_18032025_00_33_49_4168.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2b6d517bf2d41a00c5a606b15e6cb124.jpg","text":"TemporaryFile(/tmp/multipartBody35105513613497038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316633076,"filename":"image_18032025_00_33_57_4144.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/78e789cd96a671920719010dc68aad9d.jpg","text":"TemporaryFile(/tmp/multipartBody4387410852007821289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316633076,"filename":"image_18032025_00_34_10_4261.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f8516ad1cc45d0b6288364869f86f494.jpg","text":"TemporaryFile(/tmp/multipartBody2790297530002866417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316633076,"filename":"image_18032025_00_33_53_4170.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345176253","file1":"1345176204","file0":"1345176159","file4":"1345176315","file5":"1345176319","file3":"1345176282"},"map_files_photo_id_array":[{"photo_id":"1345176319","filename":"file5"},{"photo_id":"1345176253","filename":"file2"},{"photo_id":"1345176315","filename":"file4"},{"photo_id":"1345176204","filename":"file1"},{"photo_id":"1345176159","filename":"file0"},{"photo_id":"1345176282","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345176204":["hashtag1","hashtag2"]},{"1345176253":["hashtag1","hashtag2"]},{"1345176319":["hashtag1","hashtag2"]},{"1345176282":["hashtag1","hashtag2"]},{"1345176159":["hashtag1","hashtag2"]},{"1345176315":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345176204, 1345176253, 1345176319, 1345176282, 1345176159, 1345176315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 69.61516451835632 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:51:02.529926
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_45_4277.jpg', 2), ('/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_41_3246.jpg', 2), ('/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_37_3774.jpg', 2), ('/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_34_4084.jpg', 2), ('/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_30_4151.jpg', 2), ('/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_25_4057.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_45_4277.jpg', '/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_41_3246.jpg', '/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_37_3774.jpg', '/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_34_4084.jpg', '/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_30_4151.jpg', '/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_25_4057.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_45_4277.jpg
/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_41_3246.jpg
/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_37_3774.jpg
/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_34_4084.jpg
/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_30_4151.jpg
/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_25_4057.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345176464","1345176605","1345176487","1345176511","1345176541","1345176576"],"photo_ids_order":["1345176464","1345176487","1345176511","1345176541","1345176576","1345176605"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/73329f620d787ef47bdc744f23704771.jpg","text":"TemporaryFile(/tmp/multipartBody6349978072469890687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316723034,"filename":"image_18032025_00_33_45_4277.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6a76086f34a4fdd6957b7fdc69a886ee.jpg","text":"TemporaryFile(/tmp/multipartBody4843483331718696567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316723034,"filename":"image_18032025_00_33_25_4057.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5f8b386b97dc38b9fc1cc10ecb5735cc.jpg","text":"TemporaryFile(/tmp/multipartBody7030013089890365483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316723034,"filename":"image_18032025_00_33_41_3246.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3db6c8d3a260c700f0178eef8f155431.jpg","text":"TemporaryFile(/tmp/multipartBody1995360529120405105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316723034,"filename":"image_18032025_00_33_37_3774.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c86e276812baa0926eb5c42538f28196.jpg","text":"TemporaryFile(/tmp/multipartBody4150280311603104526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316723034,"filename":"image_18032025_00_33_34_4084.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6a872047b9105b57f2293fdb2878b61a.jpg","text":"TemporaryFile(/tmp/multipartBody8353683035699406623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316723034,"filename":"image_18032025_00_33_30_4151.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345176511","file1":"1345176487","file0":"1345176464","file4":"1345176576","file5":"1345176605","file3":"1345176541"},"map_files_photo_id_array":[{"photo_id":"1345176605","filename":"file5"},{"photo_id":"1345176511","filename":"file2"},{"photo_id":"1345176576","filename":"file4"},{"photo_id":"1345176487","filename":"file1"},{"photo_id":"1345176464","filename":"file0"},{"photo_id":"1345176541","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345176464":["hashtag1","hashtag2"]},{"1345176605":["hashtag1","hashtag2"]},{"1345176487":["hashtag1","hashtag2"]},{"1345176511":["hashtag1","hashtag2"]},{"1345176541":["hashtag1","hashtag2"]},{"1345176576":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345176464, 1345176605, 1345176487, 1345176511, 1345176541, 1345176576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.88056516647339 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:52:02.682968
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_21_4039.jpg', 2), ('/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_17_4111.jpg', 2), ('/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_13_4085.jpg', 2), ('/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_09_4097.jpg', 2), ('/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_05_4155.jpg', 2), ('/home/nano/Desktop/images/18032025/00/32/image_18032025_00_33_01_4078.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_21_4039.jpg', '/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_17_4111.jpg', '/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_13_4085.jpg', '/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_09_4097.jpg', '/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_05_4155.jpg', '/home/nano/Desktop/images/18032025/00/32/image_18032025_00_33_01_4078.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_21_4039.jpg
/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_17_4111.jpg
/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_13_4085.jpg
/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_09_4097.jpg
/home/nano/Desktop/images/18032025/00/33/image_18032025_00_33_05_4155.jpg
/home/nano/Desktop/images/18032025/00/32/image_18032025_00_33_01_4078.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345176692","1345176691","1345176694","1345176697","1345176696","1345176699"],"photo_ids_order":["1345176691","1345176692","1345176694","1345176696","1345176697","1345176699"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0746b1aef2da2d5dc6895e1b1d20e7c1.jpg","text":"TemporaryFile(/tmp/multipartBody7439603364474362407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316783187,"filename":"image_18032025_00_33_17_4111.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e06ec5ab5990b47c3373c73744c0fa58.jpg","text":"TemporaryFile(/tmp/multipartBody1374832171478739904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316783187,"filename":"image_18032025_00_33_21_4039.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7b9d6ae9096adada75beb22b0b5b80dd.jpg","text":"TemporaryFile(/tmp/multipartBody1492644359926777179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316783187,"filename":"image_18032025_00_33_13_4085.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b4d904010f802c48c67c8632295826b0.jpg","text":"TemporaryFile(/tmp/multipartBody8234477293089319074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316783187,"filename":"image_18032025_00_33_05_4155.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/73810927de982609de619f9c9cf07c13.jpg","text":"TemporaryFile(/tmp/multipartBody3424574837355844680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316783187,"filename":"image_18032025_00_33_09_4097.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ca742a9cfd9c289866dec09d69872068.jpg","text":"TemporaryFile(/tmp/multipartBody7667542745079733201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316783187,"filename":"image_18032025_00_33_01_4078.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345176694","file1":"1345176692","file0":"1345176691","file4":"1345176697","file5":"1345176699","file3":"1345176696"},"map_files_photo_id_array":[{"photo_id":"1345176699","filename":"file5"},{"photo_id":"1345176694","filename":"file2"},{"photo_id":"1345176697","filename":"file4"},{"photo_id":"1345176692","filename":"file1"},{"photo_id":"1345176691","filename":"file0"},{"photo_id":"1345176696","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345176692":["hashtag1","hashtag2"]},{"1345176691":["hashtag1","hashtag2"]},{"1345176694":["hashtag1","hashtag2"]},{"1345176697":["hashtag1","hashtag2"]},{"1345176696":["hashtag1","hashtag2"]},{"1345176699":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345176692, 1345176691, 1345176694, 1345176697, 1345176696, 1345176699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.063271284103394 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:53:03.002765
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_57_4073.jpg', 2), ('/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_53_3057.jpg', 2), ('/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_50_4101.jpg', 2), ('/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_46_4225.jpg', 2), ('/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_41_4262.jpg', 2), ('/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_37_4071.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_57_4073.jpg', '/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_53_3057.jpg', '/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_50_4101.jpg', '/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_46_4225.jpg', '/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_41_4262.jpg', '/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_37_4071.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_57_4073.jpg
/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_53_3057.jpg
/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_50_4101.jpg
/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_46_4225.jpg
/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_41_4262.jpg
/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_37_4071.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345176731","1345176737","1345176742","1345176730","1345176733","1345176735"],"photo_ids_order":["1345176730","1345176731","1345176733","1345176735","1345176737","1345176742"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/12a5e595641626a8db04ef435530871c.jpg","text":"TemporaryFile(/tmp/multipartBody260466625410963222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316843500,"filename":"image_18032025_00_32_53_3057.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fc8035bcb02e28fe9396710c23796674.jpg","text":"TemporaryFile(/tmp/multipartBody3541090351989383503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316843500,"filename":"image_18032025_00_32_41_4262.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/eda1b31eee95627730db0892442ade53.jpg","text":"TemporaryFile(/tmp/multipartBody7172720609231706595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316843500,"filename":"image_18032025_00_32_37_4071.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1d055989ab76af21df64def288d2c126.jpg","text":"TemporaryFile(/tmp/multipartBody6625231585923758985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316843500,"filename":"image_18032025_00_32_57_4073.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/26bf636fb21b463f650746b403e3f147.jpg","text":"TemporaryFile(/tmp/multipartBody8899912943532460842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316843500,"filename":"image_18032025_00_32_50_4101.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1f7e8386084afd1969001cddff7486e2.jpg","text":"TemporaryFile(/tmp/multipartBody1198914319615827946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316843500,"filename":"image_18032025_00_32_46_4225.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345176733","file1":"1345176731","file0":"1345176730","file4":"1345176737","file5":"1345176742","file3":"1345176735"},"map_files_photo_id_array":[{"photo_id":"1345176742","filename":"file5"},{"photo_id":"1345176733","filename":"file2"},{"photo_id":"1345176737","filename":"file4"},{"photo_id":"1345176731","filename":"file1"},{"photo_id":"1345176730","filename":"file0"},{"photo_id":"1345176735","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345176731":["hashtag1","hashtag2"]},{"1345176737":["hashtag1","hashtag2"]},{"1345176742":["hashtag1","hashtag2"]},{"1345176730":["hashtag1","hashtag2"]},{"1345176733":["hashtag1","hashtag2"]},{"1345176735":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345176731, 1345176737, 1345176742, 1345176730, 1345176733, 1345176735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.58854937553406 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:54:03.173381
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_33_3851.jpg', 2), ('/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_29_3851.jpg', 2), ('/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_25_4321.jpg', 2), ('/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_21_4301.jpg', 2), ('/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_17_3374.jpg', 2), ('/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_13_4263.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_33_3851.jpg', '/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_29_3851.jpg', '/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_25_4321.jpg', '/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_21_4301.jpg', '/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_17_3374.jpg', '/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_13_4263.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_33_3851.jpg
/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_29_3851.jpg
/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_25_4321.jpg
/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_21_4301.jpg
/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_17_3374.jpg
/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_13_4263.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345176770","1345176773","1345176775","1345176777","1345176771","1345176780"],"photo_ids_order":["1345176770","1345176771","1345176773","1345176775","1345176777","1345176780"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2f0e5b2a7445fd879d9c17dc97fdd686.jpg","text":"TemporaryFile(/tmp/multipartBody2139742052739743092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316903674,"filename":"image_18032025_00_32_33_3851.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ca19775a76149e6bf1e73ead621e5051.jpg","text":"TemporaryFile(/tmp/multipartBody1536919600328705706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316903674,"filename":"image_18032025_00_32_25_4321.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1215ec5e69ec1dafb1bcdc4db8e6dd42.jpg","text":"TemporaryFile(/tmp/multipartBody3247938743863391926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316903674,"filename":"image_18032025_00_32_21_4301.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/efe839f3b179c416c305126814a16c1a.jpg","text":"TemporaryFile(/tmp/multipartBody2940577176530398476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316903674,"filename":"image_18032025_00_32_17_3374.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a3366b653ce04ae55038f7ca2c211240.jpg","text":"TemporaryFile(/tmp/multipartBody3204251165337009510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316903674,"filename":"image_18032025_00_32_29_3851.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c14bf9eca2bd6e34e568596dec227ed3.jpg","text":"TemporaryFile(/tmp/multipartBody198002998958833237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316903674,"filename":"image_18032025_00_32_13_4263.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345176773","file1":"1345176771","file0":"1345176770","file4":"1345176777","file5":"1345176780","file3":"1345176775"},"map_files_photo_id_array":[{"photo_id":"1345176780","filename":"file5"},{"photo_id":"1345176773","filename":"file2"},{"photo_id":"1345176777","filename":"file4"},{"photo_id":"1345176771","filename":"file1"},{"photo_id":"1345176770","filename":"file0"},{"photo_id":"1345176775","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345176770":["hashtag1","hashtag2"]},{"1345176773":["hashtag1","hashtag2"]},{"1345176775":["hashtag1","hashtag2"]},{"1345176777":["hashtag1","hashtag2"]},{"1345176771":["hashtag1","hashtag2"]},{"1345176780":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345176770, 1345176773, 1345176775, 1345176777, 1345176771, 1345176780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.97231101989746 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:55:03.013683
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_09_4162.jpg', 2), ('/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_05_3718.jpg', 2), ('/home/nano/Desktop/images/18032025/00/31/image_18032025_00_32_01_4161.jpg', 2), ('/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_57_4145.jpg', 2), ('/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_53_4145.jpg', 2), ('/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_49_3164.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_09_4162.jpg', '/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_05_3718.jpg', '/home/nano/Desktop/images/18032025/00/31/image_18032025_00_32_01_4161.jpg', '/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_57_4145.jpg', '/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_53_4145.jpg', '/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_49_3164.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_09_4162.jpg
/home/nano/Desktop/images/18032025/00/32/image_18032025_00_32_05_3718.jpg
/home/nano/Desktop/images/18032025/00/31/image_18032025_00_32_01_4161.jpg
/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_57_4145.jpg
/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_53_4145.jpg
/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_49_3164.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345176812","1345176806","1345176808","1345176813","1345176816","1345176810"],"photo_ids_order":["1345176806","1345176808","1345176810","1345176812","1345176813","1345176816"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/110c8d51619632d3c7a064b63cb12930.jpg","text":"TemporaryFile(/tmp/multipartBody4666683052716983749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316963540,"filename":"image_18032025_00_31_57_4145.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b6fa7450571a9013fd7f033e29cd8347.jpg","text":"TemporaryFile(/tmp/multipartBody8319288332227505141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316963540,"filename":"image_18032025_00_32_09_4162.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2353b591c946f88a1b38ec9847f063ec.jpg","text":"TemporaryFile(/tmp/multipartBody8725194905645430690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316963540,"filename":"image_18032025_00_32_05_3718.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0805c2f14b5f06ea2bdf9737c7fbac97.jpg","text":"TemporaryFile(/tmp/multipartBody274114327884816071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316963540,"filename":"image_18032025_00_31_53_4145.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8272e5d7fcf49df65aa1565a64457340.jpg","text":"TemporaryFile(/tmp/multipartBody7100961399011587231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316963540,"filename":"image_18032025_00_31_49_3164.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/99e88078585691333d86466a4dc1046a.jpg","text":"TemporaryFile(/tmp/multipartBody8963914539162456838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742316963540,"filename":"image_18032025_00_32_01_4161.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345176810","file1":"1345176808","file0":"1345176806","file4":"1345176813","file5":"1345176816","file3":"1345176812"},"map_files_photo_id_array":[{"photo_id":"1345176816","filename":"file5"},{"photo_id":"1345176810","filename":"file2"},{"photo_id":"1345176813","filename":"file4"},{"photo_id":"1345176808","filename":"file1"},{"photo_id":"1345176806","filename":"file0"},{"photo_id":"1345176812","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345176812":["hashtag1","hashtag2"]},{"1345176806":["hashtag1","hashtag2"]},{"1345176808":["hashtag1","hashtag2"]},{"1345176813":["hashtag1","hashtag2"]},{"1345176816":["hashtag1","hashtag2"]},{"1345176810":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345176812, 1345176806, 1345176808, 1345176813, 1345176816, 1345176810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.605550050735474 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:56:03.136182
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_46_4203.jpg', 2), ('/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_41_4205.jpg', 2), ('/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_37_4153.jpg', 2), ('/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_33_4266.jpg', 2), ('/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_29_3150.jpg', 2), ('/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_26_4204.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_46_4203.jpg', '/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_41_4205.jpg', '/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_37_4153.jpg', '/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_33_4266.jpg', '/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_29_3150.jpg', '/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_26_4204.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_46_4203.jpg
/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_41_4205.jpg
/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_37_4153.jpg
/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_33_4266.jpg
/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_29_3150.jpg
/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_26_4204.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345177262","1345177080","1345177197","1345177161","1345177143","1345176984"],"photo_ids_order":["1345176984","1345177080","1345177143","1345177161","1345177197","1345177262"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/54faa0d2a765eb589295fd38392779ed.jpg","text":"TemporaryFile(/tmp/multipartBody1109760424702141557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317023661,"filename":"image_18032025_00_31_26_4204.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4e1865435e0a940bb7bf6b16da0a2682.jpg","text":"TemporaryFile(/tmp/multipartBody3642813773660474394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317023661,"filename":"image_18032025_00_31_41_4205.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/33a135882960cfd59cbcff699869b22c.jpg","text":"TemporaryFile(/tmp/multipartBody4174492079629036514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317023661,"filename":"image_18032025_00_31_29_3150.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ff3a7e8f4b97c17bcc9537ec4ecaf20e.jpg","text":"TemporaryFile(/tmp/multipartBody3222452254881971311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317023661,"filename":"image_18032025_00_31_33_4266.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/08e407268cb7c720371100cf92d7af01.jpg","text":"TemporaryFile(/tmp/multipartBody3322660188040005703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317023661,"filename":"image_18032025_00_31_37_4153.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/88493e811d108cba3135e55e77c0205e.jpg","text":"TemporaryFile(/tmp/multipartBody3436838945561051619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317023661,"filename":"image_18032025_00_31_46_4203.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345177143","file1":"1345177080","file0":"1345176984","file4":"1345177197","file5":"1345177262","file3":"1345177161"},"map_files_photo_id_array":[{"photo_id":"1345177262","filename":"file5"},{"photo_id":"1345177143","filename":"file2"},{"photo_id":"1345177197","filename":"file4"},{"photo_id":"1345177080","filename":"file1"},{"photo_id":"1345176984","filename":"file0"},{"photo_id":"1345177161","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345177262":["hashtag1","hashtag2"]},{"1345177080":["hashtag1","hashtag2"]},{"1345177197":["hashtag1","hashtag2"]},{"1345177161":["hashtag1","hashtag2"]},{"1345177143":["hashtag1","hashtag2"]},{"1345176984":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345177262, 1345177080, 1345177197, 1345177161, 1345177143, 1345176984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.053936004638672 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:57:02.444716
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_21_4226.jpg', 2), ('/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_17_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_13_4138.jpg', 2), ('/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_09_4073.jpg', 2), ('/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_05_3265.jpg', 2), ('/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_02_4057.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_21_4226.jpg', '/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_17_4045.jpg', '/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_13_4138.jpg', '/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_09_4073.jpg', '/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_05_3265.jpg', '/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_02_4057.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_21_4226.jpg
/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_17_4045.jpg
/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_13_4138.jpg
/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_09_4073.jpg
/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_05_3265.jpg
/home/nano/Desktop/images/18032025/00/31/image_18032025_00_31_02_4057.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345177412","1345177415","1345177411","1345177410","1345177413","1345177407"],"photo_ids_order":["1345177407","1345177410","1345177411","1345177412","1345177413","1345177415"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/83c8f868f4bc42d42dba9941cc4820fd.jpg","text":"TemporaryFile(/tmp/multipartBody870984795210982585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317082963,"filename":"image_18032025_00_31_09_4073.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/655dcba6eb56469deffb8119c0132f62.jpg","text":"TemporaryFile(/tmp/multipartBody1392242662489862429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317082963,"filename":"image_18032025_00_31_02_4057.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/61aeaaae8d9d1254c49a2c6b1392738b.jpg","text":"TemporaryFile(/tmp/multipartBody2057501578031479980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317082963,"filename":"image_18032025_00_31_13_4138.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a337bb551559a3036ca34434c0ddd7d4.jpg","text":"TemporaryFile(/tmp/multipartBody1779835201131250487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317082963,"filename":"image_18032025_00_31_17_4045.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a980b6d85d44eb237dff2f0af8ea04fe.jpg","text":"TemporaryFile(/tmp/multipartBody6951098821369105467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317082963,"filename":"image_18032025_00_31_05_3265.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f41920bcb1385762b721e8231b555fd6.jpg","text":"TemporaryFile(/tmp/multipartBody8976215021659241773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317082963,"filename":"image_18032025_00_31_21_4226.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345177411","file1":"1345177410","file0":"1345177407","file4":"1345177413","file5":"1345177415","file3":"1345177412"},"map_files_photo_id_array":[{"photo_id":"1345177415","filename":"file5"},{"photo_id":"1345177411","filename":"file2"},{"photo_id":"1345177413","filename":"file4"},{"photo_id":"1345177410","filename":"file1"},{"photo_id":"1345177407","filename":"file0"},{"photo_id":"1345177412","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345177412":["hashtag1","hashtag2"]},{"1345177415":["hashtag1","hashtag2"]},{"1345177411":["hashtag1","hashtag2"]},{"1345177410":["hashtag1","hashtag2"]},{"1345177413":["hashtag1","hashtag2"]},{"1345177407":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345177412, 1345177415, 1345177411, 1345177410, 1345177413, 1345177407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.76492691040039 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:58:02.605885
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_58_4001.jpg', 2), ('/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_54_4003.jpg', 2), ('/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_50_4074.jpg', 2), ('/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_45_3977.jpg', 2), ('/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_42_4144.jpg', 2), ('/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_37_4204.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_58_4001.jpg', '/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_54_4003.jpg', '/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_50_4074.jpg', '/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_45_3977.jpg', '/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_42_4144.jpg', '/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_37_4204.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_58_4001.jpg
/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_54_4003.jpg
/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_50_4074.jpg
/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_45_3977.jpg
/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_42_4144.jpg
/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_37_4204.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345177537","1345177450","1345177510","1345177453","1345177447","1345177482"],"photo_ids_order":["1345177447","1345177450","1345177453","1345177482","1345177510","1345177537"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ead77cd39e277176797a4e05f1f7d6da.jpg","text":"TemporaryFile(/tmp/multipartBody8754706501734631123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317143160,"filename":"image_18032025_00_30_37_4204.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/87b85d605b2f8da64d1829ccb35e13e5.jpg","text":"TemporaryFile(/tmp/multipartBody6472331860353979451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317143160,"filename":"image_18032025_00_30_54_4003.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0c37dfcc8eca05afa544a9858e76d5d6.jpg","text":"TemporaryFile(/tmp/multipartBody6548547493449812083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317143160,"filename":"image_18032025_00_30_42_4144.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e7f86ff52800dd1b365691fbd3f831e1.jpg","text":"TemporaryFile(/tmp/multipartBody572297541326194362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317143160,"filename":"image_18032025_00_30_50_4074.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7681cb13906db720792a5d9d013eb5db.jpg","text":"TemporaryFile(/tmp/multipartBody904117942745842524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317143160,"filename":"image_18032025_00_30_58_4001.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2e9b13120bdc2ae7ce7985784c187059.jpg","text":"TemporaryFile(/tmp/multipartBody6866996477822931861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317143160,"filename":"image_18032025_00_30_45_3977.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345177453","file1":"1345177450","file0":"1345177447","file4":"1345177510","file5":"1345177537","file3":"1345177482"},"map_files_photo_id_array":[{"photo_id":"1345177537","filename":"file5"},{"photo_id":"1345177453","filename":"file2"},{"photo_id":"1345177510","filename":"file4"},{"photo_id":"1345177450","filename":"file1"},{"photo_id":"1345177447","filename":"file0"},{"photo_id":"1345177482","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345177537":["hashtag1","hashtag2"]},{"1345177450":["hashtag1","hashtag2"]},{"1345177510":["hashtag1","hashtag2"]},{"1345177453":["hashtag1","hashtag2"]},{"1345177447":["hashtag1","hashtag2"]},{"1345177482":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345177537, 1345177450, 1345177510, 1345177453, 1345177447, 1345177482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.711041688919067 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 17:59:02.930880
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_33_4207.jpg', 2), ('/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_29_4122.jpg', 2), ('/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_25_3178.jpg', 2), ('/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_22_4194.jpg', 2), ('/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_17_4154.jpg', 2), ('/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_13_4379.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_33_4207.jpg', '/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_29_4122.jpg', '/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_25_3178.jpg', '/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_22_4194.jpg', '/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_17_4154.jpg', '/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_13_4379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_33_4207.jpg
/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_29_4122.jpg
/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_25_3178.jpg
/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_22_4194.jpg
/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_17_4154.jpg
/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_13_4379.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345177931","1345177832","1345177963","1345177801","1345177896","1345177863"],"photo_ids_order":["1345177801","1345177832","1345177863","1345177896","1345177931","1345177963"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fdc7ba5fab10e0dfac9572e65ca12c0b.jpg","text":"TemporaryFile(/tmp/multipartBody6617434727221108051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317203449,"filename":"image_18032025_00_30_17_4154.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/072a9caecbc9d151c4a1e102e5b19fde.jpg","text":"TemporaryFile(/tmp/multipartBody3974168014274467290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317203449,"filename":"image_18032025_00_30_29_4122.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1120cfdc1e3b561396086cb0b0b7a050.jpg","text":"TemporaryFile(/tmp/multipartBody1734939295065007074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317203449,"filename":"image_18032025_00_30_13_4379.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7de5694c67ac26bba9c6579738ee1d40.jpg","text":"TemporaryFile(/tmp/multipartBody8070615746842982714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317203449,"filename":"image_18032025_00_30_33_4207.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6b8e732e60ffb17b60053346e3e8f315.jpg","text":"TemporaryFile(/tmp/multipartBody6874093523783376367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317203449,"filename":"image_18032025_00_30_22_4194.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cc3947f7c014235cfc55f363c479d9fd.jpg","text":"TemporaryFile(/tmp/multipartBody1578868826079477204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317203449,"filename":"image_18032025_00_30_25_3178.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345177863","file1":"1345177832","file0":"1345177801","file4":"1345177931","file5":"1345177963","file3":"1345177896"},"map_files_photo_id_array":[{"photo_id":"1345177963","filename":"file5"},{"photo_id":"1345177863","filename":"file2"},{"photo_id":"1345177931","filename":"file4"},{"photo_id":"1345177832","filename":"file1"},{"photo_id":"1345177801","filename":"file0"},{"photo_id":"1345177896","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345177931":["hashtag1","hashtag2"]},{"1345177832":["hashtag1","hashtag2"]},{"1345177963":["hashtag1","hashtag2"]},{"1345177801":["hashtag1","hashtag2"]},{"1345177896":["hashtag1","hashtag2"]},{"1345177863":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345177931, 1345177832, 1345177963, 1345177801, 1345177896, 1345177863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.648556232452393 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:00:02.782852
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_09_3371.jpg', 2), ('/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_06_4298.jpg', 2), ('/home/nano/Desktop/images/18032025/00/29/image_18032025_00_30_01_3821.jpg', 2), ('/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_57_4196.jpg', 2), ('/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_53_4052.jpg', 2), ('/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_49_4150.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_09_3371.jpg', '/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_06_4298.jpg', '/home/nano/Desktop/images/18032025/00/29/image_18032025_00_30_01_3821.jpg', '/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_57_4196.jpg', '/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_53_4052.jpg', '/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_49_4150.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_09_3371.jpg
/home/nano/Desktop/images/18032025/00/30/image_18032025_00_30_06_4298.jpg
/home/nano/Desktop/images/18032025/00/29/image_18032025_00_30_01_3821.jpg
/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_57_4196.jpg
/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_53_4052.jpg
/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_49_4150.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345178298","1345178358","1345178388","1345178268","1345178418","1345178327"],"photo_ids_order":["1345178268","1345178298","1345178327","1345178358","1345178388","1345178418"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0acd4cb8765ee2a36b9319d2dd5813cf.jpg","text":"TemporaryFile(/tmp/multipartBody3504908422429754031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317263283,"filename":"image_18032025_00_30_06_4298.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f7c7fcb9fe6f88762557b7ce643e6c9b.jpg","text":"TemporaryFile(/tmp/multipartBody1279750062047297045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317263283,"filename":"image_18032025_00_29_57_4196.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/46467d8c59995d65c284d61428295ffa.jpg","text":"TemporaryFile(/tmp/multipartBody8647531813922952247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317263283,"filename":"image_18032025_00_29_53_4052.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bb872e712db0fb5177097c889b97de39.jpg","text":"TemporaryFile(/tmp/multipartBody252108104173449818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317263283,"filename":"image_18032025_00_30_09_3371.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ed2cc1c48bbe493d16288bfe1cf4551c.jpg","text":"TemporaryFile(/tmp/multipartBody8814786790452331985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317263283,"filename":"image_18032025_00_29_49_4150.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4e4a06740e0560ac74b703a231f0df24.jpg","text":"TemporaryFile(/tmp/multipartBody6058842842450590004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317263283,"filename":"image_18032025_00_30_01_3821.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345178327","file1":"1345178298","file0":"1345178268","file4":"1345178388","file5":"1345178418","file3":"1345178358"},"map_files_photo_id_array":[{"photo_id":"1345178418","filename":"file5"},{"photo_id":"1345178327","filename":"file2"},{"photo_id":"1345178388","filename":"file4"},{"photo_id":"1345178298","filename":"file1"},{"photo_id":"1345178268","filename":"file0"},{"photo_id":"1345178358","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345178298":["hashtag1","hashtag2"]},{"1345178358":["hashtag1","hashtag2"]},{"1345178388":["hashtag1","hashtag2"]},{"1345178268":["hashtag1","hashtag2"]},{"1345178418":["hashtag1","hashtag2"]},{"1345178327":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345178298, 1345178358, 1345178388, 1345178268, 1345178418, 1345178327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.852853298187256 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:01:02.986230
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_45_4144.jpg', 2), ('/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_41_3239.jpg', 2), ('/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_38_4273.jpg', 2), ('/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_33_4209.jpg', 2), ('/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_29_4107.jpg', 2), ('/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_25_4113.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_45_4144.jpg', '/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_41_3239.jpg', '/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_38_4273.jpg', '/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_33_4209.jpg', '/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_29_4107.jpg', '/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_25_4113.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_45_4144.jpg
/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_41_3239.jpg
/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_38_4273.jpg
/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_33_4209.jpg
/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_29_4107.jpg
/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_25_4113.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345178518","1345178577","1345178607","1345178492","1345178633","1345178546"],"photo_ids_order":["1345178492","1345178518","1345178546","1345178577","1345178607","1345178633"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/08119fe4a490abbe7a7fe922798206b6.jpg","text":"TemporaryFile(/tmp/multipartBody5605030888014160431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317323520,"filename":"image_18032025_00_29_41_3239.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dccc4ac3092e261ee543638fabbaab95.jpg","text":"TemporaryFile(/tmp/multipartBody1233664395012317372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317323520,"filename":"image_18032025_00_29_33_4209.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b8d1468e5efeebcfa0443ea943658a60.jpg","text":"TemporaryFile(/tmp/multipartBody7232474311139069482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317323520,"filename":"image_18032025_00_29_29_4107.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c92d61b04828e51180a3e90221d478b0.jpg","text":"TemporaryFile(/tmp/multipartBody1128925143951973534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317323520,"filename":"image_18032025_00_29_45_4144.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e9283ac9ed241a8b026f8451c5565fb7.jpg","text":"TemporaryFile(/tmp/multipartBody4795621216592202790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317323520,"filename":"image_18032025_00_29_25_4113.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2053225dea75a1a77d3774ad855d89ad.jpg","text":"TemporaryFile(/tmp/multipartBody7006193554180482894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317323520,"filename":"image_18032025_00_29_38_4273.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345178546","file1":"1345178518","file0":"1345178492","file4":"1345178607","file5":"1345178633","file3":"1345178577"},"map_files_photo_id_array":[{"photo_id":"1345178633","filename":"file5"},{"photo_id":"1345178546","filename":"file2"},{"photo_id":"1345178607","filename":"file4"},{"photo_id":"1345178518","filename":"file1"},{"photo_id":"1345178492","filename":"file0"},{"photo_id":"1345178577","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345178518":["hashtag1","hashtag2"]},{"1345178577":["hashtag1","hashtag2"]},{"1345178607":["hashtag1","hashtag2"]},{"1345178492":["hashtag1","hashtag2"]},{"1345178633":["hashtag1","hashtag2"]},{"1345178546":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345178518, 1345178577, 1345178607, 1345178492, 1345178633, 1345178546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.256746530532837 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:02:03.260585
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_21_4136.jpg', 2), ('/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_17_4058.jpg', 2), ('/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_13_3162.jpg', 2), ('/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_10_4093.jpg', 2), ('/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_05_4543.jpg', 2), ('/home/nano/Desktop/images/18032025/00/28/image_18032025_00_29_01_4085.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_21_4136.jpg', '/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_17_4058.jpg', '/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_13_3162.jpg', '/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_10_4093.jpg', '/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_05_4543.jpg', '/home/nano/Desktop/images/18032025/00/28/image_18032025_00_29_01_4085.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_21_4136.jpg
/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_17_4058.jpg
/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_13_3162.jpg
/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_10_4093.jpg
/home/nano/Desktop/images/18032025/00/29/image_18032025_00_29_05_4543.jpg
/home/nano/Desktop/images/18032025/00/28/image_18032025_00_29_01_4085.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345178906","1345178911","1345178916","1345178913","1345178909","1345178903"],"photo_ids_order":["1345178903","1345178906","1345178909","1345178911","1345178913","1345178916"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/aed48fb72b8eeb9a4a5bc9ce59b17737.jpg","text":"TemporaryFile(/tmp/multipartBody7976771748744565263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317383773,"filename":"image_18032025_00_29_17_4058.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/be6a5d706d06d455ff3661ac1967b61a.jpg","text":"TemporaryFile(/tmp/multipartBody4450760781949285872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317383773,"filename":"image_18032025_00_29_10_4093.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7ffe02551c9d09af90cbc60031ac9fc2.jpg","text":"TemporaryFile(/tmp/multipartBody6736014825251129728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317383773,"filename":"image_18032025_00_29_01_4085.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a88de1d299e345ff1ea6392bf9d176e9.jpg","text":"TemporaryFile(/tmp/multipartBody4150472575574486860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317383773,"filename":"image_18032025_00_29_05_4543.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bc8d47525e151b79a76bff10903d267d.jpg","text":"TemporaryFile(/tmp/multipartBody2543811591176993609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317383773,"filename":"image_18032025_00_29_13_3162.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3f3d61d41dab0e3988625ba2d67a0d64.jpg","text":"TemporaryFile(/tmp/multipartBody2955780905012480703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317383773,"filename":"image_18032025_00_29_21_4136.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345178909","file1":"1345178906","file0":"1345178903","file4":"1345178913","file5":"1345178916","file3":"1345178911"},"map_files_photo_id_array":[{"photo_id":"1345178916","filename":"file5"},{"photo_id":"1345178909","filename":"file2"},{"photo_id":"1345178913","filename":"file4"},{"photo_id":"1345178906","filename":"file1"},{"photo_id":"1345178903","filename":"file0"},{"photo_id":"1345178911","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345178906":["hashtag1","hashtag2"]},{"1345178911":["hashtag1","hashtag2"]},{"1345178916":["hashtag1","hashtag2"]},{"1345178913":["hashtag1","hashtag2"]},{"1345178909":["hashtag1","hashtag2"]},{"1345178903":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345178906, 1345178911, 1345178916, 1345178913, 1345178909, 1345178903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.82916235923767 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:03:02.390114
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_57_3172.jpg', 2), ('/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_54_4237.jpg', 2), ('/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_49_4174.jpg', 2), ('/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_45_4023.jpg', 2), ('/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_41_3813.jpg', 2), ('/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_37_4070.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_57_3172.jpg', '/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_54_4237.jpg', '/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_49_4174.jpg', '/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_45_4023.jpg', '/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_41_3813.jpg', '/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_37_4070.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_57_3172.jpg
/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_54_4237.jpg
/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_49_4174.jpg
/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_45_4023.jpg
/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_41_3813.jpg
/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_37_4070.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345178950","1345178947","1345178952","1345178949","1345178951","1345178945"],"photo_ids_order":["1345178945","1345178947","1345178949","1345178950","1345178951","1345178952"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dbb66399229ed4d67a314808be93ad5d.jpg","text":"TemporaryFile(/tmp/multipartBody3526490017627635651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317442885,"filename":"image_18032025_00_28_45_4023.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/09f4d0df5c773067679f9715b6e919c3.jpg","text":"TemporaryFile(/tmp/multipartBody9021826273036403544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317442885,"filename":"image_18032025_00_28_54_4237.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/07700dd0e1fc7d483d6f6c45499df8cc.jpg","text":"TemporaryFile(/tmp/multipartBody3405472327627222231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317442885,"filename":"image_18032025_00_28_37_4070.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fe3ef9a9fe66cdbdf719b1f93baa996e.jpg","text":"TemporaryFile(/tmp/multipartBody3578188739781346109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317442885,"filename":"image_18032025_00_28_49_4174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/aef08d8832710d3767d375bfa72fb24e.jpg","text":"TemporaryFile(/tmp/multipartBody3685091206126331904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317442885,"filename":"image_18032025_00_28_41_3813.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/640dea463b84e08da0b8a08b2f352156.jpg","text":"TemporaryFile(/tmp/multipartBody1605038524679019324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317442885,"filename":"image_18032025_00_28_57_3172.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345178949","file1":"1345178947","file0":"1345178945","file4":"1345178951","file5":"1345178952","file3":"1345178950"},"map_files_photo_id_array":[{"photo_id":"1345178952","filename":"file5"},{"photo_id":"1345178949","filename":"file2"},{"photo_id":"1345178951","filename":"file4"},{"photo_id":"1345178947","filename":"file1"},{"photo_id":"1345178945","filename":"file0"},{"photo_id":"1345178950","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345178950":["hashtag1","hashtag2"]},{"1345178947":["hashtag1","hashtag2"]},{"1345178952":["hashtag1","hashtag2"]},{"1345178949":["hashtag1","hashtag2"]},{"1345178951":["hashtag1","hashtag2"]},{"1345178945":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345178950, 1345178947, 1345178952, 1345178949, 1345178951, 1345178945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.815051317214966 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:04:02.824000
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_33_4210.jpg', 2), ('/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_29_4085.jpg', 2), ('/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_25_4210.jpg', 2), ('/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_21_4061.jpg', 2), ('/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_17_3197.jpg', 2), ('/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_14_4314.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_33_4210.jpg', '/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_29_4085.jpg', '/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_25_4210.jpg', '/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_21_4061.jpg', '/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_17_3197.jpg', '/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_14_4314.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_33_4210.jpg
/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_29_4085.jpg
/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_25_4210.jpg
/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_21_4061.jpg
/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_17_3197.jpg
/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_14_4314.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345179130","1345179010","1345179057","1345179176","1345179083","1345179035"],"photo_ids_order":["1345179010","1345179035","1345179057","1345179083","1345179130","1345179176"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/68ac6b58a9ac9c438210e7a1dda28efb.jpg","text":"TemporaryFile(/tmp/multipartBody4602553993052712715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317503329,"filename":"image_18032025_00_28_17_3197.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1d8d5d69af589b6d29e7cac87d62c529.jpg","text":"TemporaryFile(/tmp/multipartBody6291211005395070456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317503329,"filename":"image_18032025_00_28_33_4210.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4c688b38fa1759b216829064a55e420c.jpg","text":"TemporaryFile(/tmp/multipartBody6002556546718076948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317503329,"filename":"image_18032025_00_28_25_4210.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/47c36f4bf4b9163e170f884c77534d08.jpg","text":"TemporaryFile(/tmp/multipartBody8306278037663795329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317503329,"filename":"image_18032025_00_28_14_4314.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/87fac6f014487115156798f0fa2f484d.jpg","text":"TemporaryFile(/tmp/multipartBody2457085224446212583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317503329,"filename":"image_18032025_00_28_21_4061.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/40c296ad59ddc360d414257cf2b1a6d3.jpg","text":"TemporaryFile(/tmp/multipartBody3728873461883487326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317503329,"filename":"image_18032025_00_28_29_4085.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345179057","file1":"1345179035","file0":"1345179010","file4":"1345179130","file5":"1345179176","file3":"1345179083"},"map_files_photo_id_array":[{"photo_id":"1345179176","filename":"file5"},{"photo_id":"1345179057","filename":"file2"},{"photo_id":"1345179130","filename":"file4"},{"photo_id":"1345179035","filename":"file1"},{"photo_id":"1345179010","filename":"file0"},{"photo_id":"1345179083","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345179130":["hashtag1","hashtag2"]},{"1345179010":["hashtag1","hashtag2"]},{"1345179057":["hashtag1","hashtag2"]},{"1345179176":["hashtag1","hashtag2"]},{"1345179083":["hashtag1","hashtag2"]},{"1345179035":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345179130, 1345179010, 1345179057, 1345179176, 1345179083, 1345179035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.671738624572754 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:05:02.692497
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_09_4271.jpg', 2), ('/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_05_3436.jpg', 2), ('/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_02_4240.jpg', 2), ('/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_57_4096.jpg', 2), ('/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_53_4076.jpg', 2), ('/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_49_4046.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_09_4271.jpg', '/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_05_3436.jpg', '/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_02_4240.jpg', '/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_57_4096.jpg', '/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_53_4076.jpg', '/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_49_4046.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_09_4271.jpg
/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_05_3436.jpg
/home/nano/Desktop/images/18032025/00/28/image_18032025_00_28_02_4240.jpg
/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_57_4096.jpg
/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_53_4076.jpg
/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_49_4046.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345179448","1345179424","1345179447","1345179411","1345179451","1345179430"],"photo_ids_order":["1345179411","1345179424","1345179430","1345179447","1345179448","1345179451"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d7ed783164f29a0478a2de5a13804ec9.jpg","text":"TemporaryFile(/tmp/multipartBody2460040339003348695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317563190,"filename":"image_18032025_00_27_53_4076.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f8bcdd4ea42ed9a4f4d34a3879bc5d92.jpg","text":"TemporaryFile(/tmp/multipartBody7657157440058901571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317563190,"filename":"image_18032025_00_28_05_3436.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/309d81b13486a658b2049b2d4f6afb8e.jpg","text":"TemporaryFile(/tmp/multipartBody4225515607505514449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317563190,"filename":"image_18032025_00_27_57_4096.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/50860164c40a7f085f97cf3e40e63f0d.jpg","text":"TemporaryFile(/tmp/multipartBody6004491571565061661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317563190,"filename":"image_18032025_00_28_09_4271.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ce374fc25347ea61384fa52bdae7368c.jpg","text":"TemporaryFile(/tmp/multipartBody8320819876515098417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317563190,"filename":"image_18032025_00_27_49_4046.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/22998066f24a6206d7d999479f69cf12.jpg","text":"TemporaryFile(/tmp/multipartBody807211185988203363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317563190,"filename":"image_18032025_00_28_02_4240.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345179430","file1":"1345179424","file0":"1345179411","file4":"1345179448","file5":"1345179451","file3":"1345179447"},"map_files_photo_id_array":[{"photo_id":"1345179451","filename":"file5"},{"photo_id":"1345179430","filename":"file2"},{"photo_id":"1345179448","filename":"file4"},{"photo_id":"1345179424","filename":"file1"},{"photo_id":"1345179411","filename":"file0"},{"photo_id":"1345179447","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345179448":["hashtag1","hashtag2"]},{"1345179424":["hashtag1","hashtag2"]},{"1345179447":["hashtag1","hashtag2"]},{"1345179411":["hashtag1","hashtag2"]},{"1345179451":["hashtag1","hashtag2"]},{"1345179430":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345179448, 1345179424, 1345179447, 1345179411, 1345179451, 1345179430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.12356352806091 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:06:02.936672
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_45_3977.jpg', 2), ('/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_41_4180.jpg', 2), ('/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_37_4114.jpg', 2), ('/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_33_3205.jpg', 2), ('/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_30_4161.jpg', 2), ('/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_25_4161.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_45_3977.jpg', '/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_41_4180.jpg', '/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_37_4114.jpg', '/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_33_3205.jpg', '/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_30_4161.jpg', '/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_25_4161.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_45_3977.jpg
/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_41_4180.jpg
/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_37_4114.jpg
/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_33_3205.jpg
/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_30_4161.jpg
/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_25_4161.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345179639","1345179794","1345179773","1345179705","1345179734","1345179673"],"photo_ids_order":["1345179639","1345179673","1345179705","1345179734","1345179773","1345179794"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2e591e655c90150a061b209257306918.jpg","text":"TemporaryFile(/tmp/multipartBody1636117449254998875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317623452,"filename":"image_18032025_00_27_45_3977.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8246a4f1f71260742b59bfef548b2915.jpg","text":"TemporaryFile(/tmp/multipartBody4149104196764643289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317623452,"filename":"image_18032025_00_27_25_4161.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/45742cfed26406909b8e8532010060e4.jpg","text":"TemporaryFile(/tmp/multipartBody7336694270368243669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317623452,"filename":"image_18032025_00_27_30_4161.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e5b9d7ed58337bb35d05e61ea2cf377b.jpg","text":"TemporaryFile(/tmp/multipartBody7620724818546949567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317623452,"filename":"image_18032025_00_27_37_4114.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/66b406fb8a9e54010a5d5361bb1c6772.jpg","text":"TemporaryFile(/tmp/multipartBody8918411318996029124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317623452,"filename":"image_18032025_00_27_33_3205.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9564f82a62c9df2e70891525108b579f.jpg","text":"TemporaryFile(/tmp/multipartBody4579078423813584063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317623452,"filename":"image_18032025_00_27_41_4180.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345179705","file1":"1345179673","file0":"1345179639","file4":"1345179773","file5":"1345179794","file3":"1345179734"},"map_files_photo_id_array":[{"photo_id":"1345179794","filename":"file5"},{"photo_id":"1345179705","filename":"file2"},{"photo_id":"1345179773","filename":"file4"},{"photo_id":"1345179673","filename":"file1"},{"photo_id":"1345179639","filename":"file0"},{"photo_id":"1345179734","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345179639":["hashtag1","hashtag2"]},{"1345179794":["hashtag1","hashtag2"]},{"1345179773":["hashtag1","hashtag2"]},{"1345179705":["hashtag1","hashtag2"]},{"1345179734":["hashtag1","hashtag2"]},{"1345179673":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345179639, 1345179794, 1345179773, 1345179705, 1345179734, 1345179673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.260318517684937 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:07:03.151750
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_21_4166.jpg', 2), ('/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_17_4150.jpg', 2), ('/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_13_4174.jpg', 2), ('/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_09_3143.jpg', 2), ('/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_06_4420.jpg', 2), ('/home/nano/Desktop/images/18032025/00/26/image_18032025_00_27_01_4241.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_21_4166.jpg', '/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_17_4150.jpg', '/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_13_4174.jpg', '/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_09_3143.jpg', '/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_06_4420.jpg', '/home/nano/Desktop/images/18032025/00/26/image_18032025_00_27_01_4241.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_21_4166.jpg
/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_17_4150.jpg
/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_13_4174.jpg
/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_09_3143.jpg
/home/nano/Desktop/images/18032025/00/27/image_18032025_00_27_06_4420.jpg
/home/nano/Desktop/images/18032025/00/26/image_18032025_00_27_01_4241.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345180267","1345180300","1345180332","1345180215","1345180247","1345180175"],"photo_ids_order":["1345180175","1345180215","1345180247","1345180267","1345180300","1345180332"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/714725a33696d1c4ce6302839d0b8394.jpg","text":"TemporaryFile(/tmp/multipartBody7399602418780852416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317683667,"filename":"image_18032025_00_27_09_3143.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/19449ca524a499aab445e44ba7c7bb5f.jpg","text":"TemporaryFile(/tmp/multipartBody4376970935870819795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317683667,"filename":"image_18032025_00_27_06_4420.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/924137906642d172e2f5ca67af9eb5d1.jpg","text":"TemporaryFile(/tmp/multipartBody7217554643384088852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317683667,"filename":"image_18032025_00_27_01_4241.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a0414521c3f98e1c5ab9a88a37021cb8.jpg","text":"TemporaryFile(/tmp/multipartBody3571908334045951401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317683667,"filename":"image_18032025_00_27_17_4150.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c7652ab3464e6f52ae4dbccb716dc74a.jpg","text":"TemporaryFile(/tmp/multipartBody3926583590077779186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317683667,"filename":"image_18032025_00_27_13_4174.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b4ff4fbc04a30aa856ad0a60ef2512c6.jpg","text":"TemporaryFile(/tmp/multipartBody7184830274300194488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317683667,"filename":"image_18032025_00_27_21_4166.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345180247","file1":"1345180215","file0":"1345180175","file4":"1345180300","file5":"1345180332","file3":"1345180267"},"map_files_photo_id_array":[{"photo_id":"1345180332","filename":"file5"},{"photo_id":"1345180247","filename":"file2"},{"photo_id":"1345180300","filename":"file4"},{"photo_id":"1345180215","filename":"file1"},{"photo_id":"1345180175","filename":"file0"},{"photo_id":"1345180267","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345180267":["hashtag1","hashtag2"]},{"1345180300":["hashtag1","hashtag2"]},{"1345180332":["hashtag1","hashtag2"]},{"1345180215":["hashtag1","hashtag2"]},{"1345180247":["hashtag1","hashtag2"]},{"1345180175":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345180267, 1345180300, 1345180332, 1345180215, 1345180247, 1345180175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.549195051193237 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:08:03.227297
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_57_4133.jpg', 2), ('/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_53_4154.jpg', 2), ('/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_49_3200.jpg', 2), ('/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_46_4156.jpg', 2), ('/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_41_4195.jpg', 2), ('/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_37_4134.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_57_4133.jpg', '/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_53_4154.jpg', '/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_49_3200.jpg', '/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_46_4156.jpg', '/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_41_4195.jpg', '/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_37_4134.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_57_4133.jpg
/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_53_4154.jpg
/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_49_3200.jpg
/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_46_4156.jpg
/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_41_4195.jpg
/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_37_4134.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345180681","1345180647","1345180617","1345180661","1345180568","1345180511"],"photo_ids_order":["1345180511","1345180568","1345180617","1345180647","1345180661","1345180681"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b479fc9f50710f2c68a9956f42a832ae.jpg","text":"TemporaryFile(/tmp/multipartBody5324978629989361531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317743747,"filename":"image_18032025_00_26_37_4134.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/95eb2e27e177a9579b00fd1a25a2288b.jpg","text":"TemporaryFile(/tmp/multipartBody6440430483968607798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317743747,"filename":"image_18032025_00_26_46_4156.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1593820fd757feb8205e83450062fa22.jpg","text":"TemporaryFile(/tmp/multipartBody2008026526765323816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317743747,"filename":"image_18032025_00_26_49_3200.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/406915a9f570153fcd997ba5fe5208f3.jpg","text":"TemporaryFile(/tmp/multipartBody1935932514125330270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317743747,"filename":"image_18032025_00_26_41_4195.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/00c07e4071bcbc70ebe1057fed5934c9.jpg","text":"TemporaryFile(/tmp/multipartBody1068240351333603706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317743747,"filename":"image_18032025_00_26_53_4154.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/80d0457137e16cb7b48174ad6783dedd.jpg","text":"TemporaryFile(/tmp/multipartBody8148063912979710851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317743747,"filename":"image_18032025_00_26_57_4133.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345180617","file1":"1345180568","file0":"1345180511","file4":"1345180661","file5":"1345180681","file3":"1345180647"},"map_files_photo_id_array":[{"photo_id":"1345180681","filename":"file5"},{"photo_id":"1345180617","filename":"file2"},{"photo_id":"1345180661","filename":"file4"},{"photo_id":"1345180568","filename":"file1"},{"photo_id":"1345180511","filename":"file0"},{"photo_id":"1345180647","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345180681":["hashtag1","hashtag2"]},{"1345180647":["hashtag1","hashtag2"]},{"1345180617":["hashtag1","hashtag2"]},{"1345180661":["hashtag1","hashtag2"]},{"1345180568":["hashtag1","hashtag2"]},{"1345180511":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345180681, 1345180647, 1345180617, 1345180661, 1345180568, 1345180511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39196729660034 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:09:02.734111
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_33_4182.jpg', 2), ('/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_29_3200.jpg', 2), ('/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_26_4171.jpg', 2), ('/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_22_4130.jpg', 2), ('/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_17_4178.jpg', 2), ('/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_13_4187.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_33_4182.jpg', '/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_29_3200.jpg', '/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_26_4171.jpg', '/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_22_4130.jpg', '/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_17_4178.jpg', '/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_13_4187.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_33_4182.jpg
/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_29_3200.jpg
/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_26_4171.jpg
/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_22_4130.jpg
/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_17_4178.jpg
/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_13_4187.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345180802","1345180792","1345180804","1345180799","1345180818","1345180796"],"photo_ids_order":["1345180792","1345180796","1345180799","1345180802","1345180804","1345180818"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b7794b0de37ef0449ac363895eebe897.jpg","text":"TemporaryFile(/tmp/multipartBody6217306242633282841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317803261,"filename":"image_18032025_00_26_22_4130.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/00fdcde7a4608cf79c145f353dc4d6e0.jpg","text":"TemporaryFile(/tmp/multipartBody1014409639703115512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317803261,"filename":"image_18032025_00_26_33_4182.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7659dd96d7207296057778acb02249da.jpg","text":"TemporaryFile(/tmp/multipartBody9212845432230245233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317803261,"filename":"image_18032025_00_26_17_4178.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8996e6d75aa436a1a3a737a355d09bef.jpg","text":"TemporaryFile(/tmp/multipartBody5675320699091569475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317803261,"filename":"image_18032025_00_26_26_4171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dfc83b55e1dc14f0f657fffb6bbe06c8.jpg","text":"TemporaryFile(/tmp/multipartBody3760803867111985675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317803261,"filename":"image_18032025_00_26_13_4187.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/69ff1c00980154deab71790ee2dcdaba.jpg","text":"TemporaryFile(/tmp/multipartBody86340480864615387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317803261,"filename":"image_18032025_00_26_29_3200.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345180799","file1":"1345180796","file0":"1345180792","file4":"1345180804","file5":"1345180818","file3":"1345180802"},"map_files_photo_id_array":[{"photo_id":"1345180818","filename":"file5"},{"photo_id":"1345180799","filename":"file2"},{"photo_id":"1345180804","filename":"file4"},{"photo_id":"1345180796","filename":"file1"},{"photo_id":"1345180792","filename":"file0"},{"photo_id":"1345180802","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345180802":["hashtag1","hashtag2"]},{"1345180792":["hashtag1","hashtag2"]},{"1345180804":["hashtag1","hashtag2"]},{"1345180799":["hashtag1","hashtag2"]},{"1345180818":["hashtag1","hashtag2"]},{"1345180796":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345180802, 1345180792, 1345180804, 1345180799, 1345180818, 1345180796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.45386004447937 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:10:02.674555
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_09_4163.jpg', 2), ('/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_05_3637.jpg', 2), ('/home/nano/Desktop/images/18032025/00/25/image_18032025_00_26_01_4302.jpg', 2), ('/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_57_3258.jpg', 2), ('/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_54_4321.jpg', 2), ('/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_49_4330.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_09_4163.jpg', '/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_05_3637.jpg', '/home/nano/Desktop/images/18032025/00/25/image_18032025_00_26_01_4302.jpg', '/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_57_3258.jpg', '/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_54_4321.jpg', '/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_49_4330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_09_4163.jpg
/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_05_3637.jpg
/home/nano/Desktop/images/18032025/00/25/image_18032025_00_26_01_4302.jpg
/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_57_3258.jpg
/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_54_4321.jpg
/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_49_4330.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.43575453758239746 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:10:32.083355
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_09_4163.jpg', 2), ('/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_05_3637.jpg', 2), ('/home/nano/Desktop/images/18032025/00/25/image_18032025_00_26_01_4302.jpg', 2), ('/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_57_3258.jpg', 2), ('/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_54_4321.jpg', 2), ('/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_49_4330.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_09_4163.jpg', '/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_05_3637.jpg', '/home/nano/Desktop/images/18032025/00/25/image_18032025_00_26_01_4302.jpg', '/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_57_3258.jpg', '/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_54_4321.jpg', '/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_49_4330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_09_4163.jpg
/home/nano/Desktop/images/18032025/00/26/image_18032025_00_26_05_3637.jpg
/home/nano/Desktop/images/18032025/00/25/image_18032025_00_26_01_4302.jpg
/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_57_3258.jpg
/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_54_4321.jpg
/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_49_4330.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345181868","1345181769","1345181963","1345181711","1345181671","1345181551"],"photo_ids_order":["1345181551","1345181671","1345181711","1345181769","1345181868","1345181963"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/25ea4497ad95d539845d34f94ecebdf1.jpg","text":"TemporaryFile(/tmp/multipartBody700039814945551097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317892646,"filename":"image_18032025_00_25_54_4321.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/566552de8607a62883534424856dc9a7.jpg","text":"TemporaryFile(/tmp/multipartBody7507282023946754631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317892646,"filename":"image_18032025_00_25_57_3258.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6c66b19118a4c7b4b55a2fca972807fa.jpg","text":"TemporaryFile(/tmp/multipartBody5083633258751559205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317892646,"filename":"image_18032025_00_25_49_4330.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a540745f6742e2a96501b1bac7f2a8c9.jpg","text":"TemporaryFile(/tmp/multipartBody8238101315151393759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317892646,"filename":"image_18032025_00_26_01_4302.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3242410808979448320e472eda473af3.jpg","text":"TemporaryFile(/tmp/multipartBody4393096873064395486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317892646,"filename":"image_18032025_00_26_05_3637.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9fad8c621336ed5165dfaec378f5210d.jpg","text":"TemporaryFile(/tmp/multipartBody1506647620499039951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317892646,"filename":"image_18032025_00_26_09_4163.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345181711","file1":"1345181671","file0":"1345181551","file4":"1345181868","file5":"1345181963","file3":"1345181769"},"map_files_photo_id_array":[{"photo_id":"1345181963","filename":"file5"},{"photo_id":"1345181711","filename":"file2"},{"photo_id":"1345181868","filename":"file4"},{"photo_id":"1345181671","filename":"file1"},{"photo_id":"1345181551","filename":"file0"},{"photo_id":"1345181769","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345181868":["hashtag1","hashtag2"]},{"1345181769":["hashtag1","hashtag2"]},{"1345181963":["hashtag1","hashtag2"]},{"1345181711":["hashtag1","hashtag2"]},{"1345181671":["hashtag1","hashtag2"]},{"1345181551":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345181868, 1345181769, 1345181963, 1345181711, 1345181671, 1345181551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.15133857727051 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:11:32.254833
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_45_4262.jpg', 2), ('/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_41_3392.jpg', 2), ('/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_37_4457.jpg', 2), ('/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_33_3485.jpg', 2), ('/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_29_4304.jpg', 2), ('/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_25_4142.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_45_4262.jpg', '/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_41_3392.jpg', '/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_37_4457.jpg', '/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_33_3485.jpg', '/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_29_4304.jpg', '/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_25_4142.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_45_4262.jpg
/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_41_3392.jpg
/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_37_4457.jpg
/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_33_3485.jpg
/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_29_4304.jpg
/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_25_4142.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345182846","1345182717","1345182971","1345182671","1345182799","1345182913"],"photo_ids_order":["1345182671","1345182717","1345182799","1345182846","1345182913","1345182971"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/24ad57630fea51d4e28be321d8273738.jpg","text":"TemporaryFile(/tmp/multipartBody4985506591274010093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317953019,"filename":"image_18032025_00_25_33_3485.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b927a610ffc325b9e77fc88880e12d45.jpg","text":"TemporaryFile(/tmp/multipartBody8881824950250370550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317953019,"filename":"image_18032025_00_25_41_3392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/544671b60825a88475cd97a0732fbee8.jpg","text":"TemporaryFile(/tmp/multipartBody5563434567906674820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317953019,"filename":"image_18032025_00_25_25_4142.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/45acd465d0ac7a255e50a22cf50b271f.jpg","text":"TemporaryFile(/tmp/multipartBody2185063468172923181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317953019,"filename":"image_18032025_00_25_45_4262.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5f49368b8cb122a5d49824d9fc07b19e.jpg","text":"TemporaryFile(/tmp/multipartBody2708038915549273843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317953019,"filename":"image_18032025_00_25_37_4457.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0971b9f47a5aa70960d0edd0c01c8c62.jpg","text":"TemporaryFile(/tmp/multipartBody3651334499108787740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742317953019,"filename":"image_18032025_00_25_29_4304.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345182799","file1":"1345182717","file0":"1345182671","file4":"1345182913","file5":"1345182971","file3":"1345182846"},"map_files_photo_id_array":[{"photo_id":"1345182971","filename":"file5"},{"photo_id":"1345182799","filename":"file2"},{"photo_id":"1345182913","filename":"file4"},{"photo_id":"1345182717","filename":"file1"},{"photo_id":"1345182671","filename":"file0"},{"photo_id":"1345182846","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345182846":["hashtag1","hashtag2"]},{"1345182717":["hashtag1","hashtag2"]},{"1345182971":["hashtag1","hashtag2"]},{"1345182671":["hashtag1","hashtag2"]},{"1345182799":["hashtag1","hashtag2"]},{"1345182913":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345182846, 1345182717, 1345182971, 1345182671, 1345182799, 1345182913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.599628925323486 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:12:32.426559
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_21_3285.jpg', 2), ('/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_18_4226.jpg', 2), ('/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_13_4249.jpg', 2), ('/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_09_4262.jpg', 2), ('/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_05_3985.jpg', 2), ('/home/nano/Desktop/images/18032025/00/24/image_18032025_00_25_01_4242.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_21_3285.jpg', '/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_18_4226.jpg', '/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_13_4249.jpg', '/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_09_4262.jpg', '/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_05_3985.jpg', '/home/nano/Desktop/images/18032025/00/24/image_18032025_00_25_01_4242.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_21_3285.jpg
/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_18_4226.jpg
/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_13_4249.jpg
/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_09_4262.jpg
/home/nano/Desktop/images/18032025/00/25/image_18032025_00_25_05_3985.jpg
/home/nano/Desktop/images/18032025/00/24/image_18032025_00_25_01_4242.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345183367","1345183340","1345183318","1345183429","1345183290","1345183395"],"photo_ids_order":["1345183290","1345183318","1345183340","1345183367","1345183395","1345183429"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ce06992692cf76cbdaf0039bb7699cb0.jpg","text":"TemporaryFile(/tmp/multipartBody4186526273291084599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318013227,"filename":"image_18032025_00_25_09_4262.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ef0531961e0749c67dc2cee4a21c9f8b.jpg","text":"TemporaryFile(/tmp/multipartBody19937047012559958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318013227,"filename":"image_18032025_00_25_13_4249.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ecbffc408cfa4538a575733355e4be87.jpg","text":"TemporaryFile(/tmp/multipartBody8955580170699446785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318013227,"filename":"image_18032025_00_25_18_4226.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/64fb351e5e8a32babf8b34fc06c4ff40.jpg","text":"TemporaryFile(/tmp/multipartBody1786826397135306974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318013227,"filename":"image_18032025_00_25_01_4242.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7b89375e208d34b6595d719a1db210d2.jpg","text":"TemporaryFile(/tmp/multipartBody7011392551611391835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318013227,"filename":"image_18032025_00_25_21_3285.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/645d7e20e8d2178f703e3a06e40219fd.jpg","text":"TemporaryFile(/tmp/multipartBody8559018564455819067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318013227,"filename":"image_18032025_00_25_05_3985.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345183340","file1":"1345183318","file0":"1345183290","file4":"1345183395","file5":"1345183429","file3":"1345183367"},"map_files_photo_id_array":[{"photo_id":"1345183429","filename":"file5"},{"photo_id":"1345183340","filename":"file2"},{"photo_id":"1345183395","filename":"file4"},{"photo_id":"1345183318","filename":"file1"},{"photo_id":"1345183290","filename":"file0"},{"photo_id":"1345183367","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345183367":["hashtag1","hashtag2"]},{"1345183340":["hashtag1","hashtag2"]},{"1345183318":["hashtag1","hashtag2"]},{"1345183429":["hashtag1","hashtag2"]},{"1345183290":["hashtag1","hashtag2"]},{"1345183395":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345183367, 1345183340, 1345183318, 1345183429, 1345183290, 1345183395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.683531999588013 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:13:32.612745
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_57_3215.jpg', 2), ('/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_53_3942.jpg', 2), ('/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_50_4210.jpg', 2), ('/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_45_4228.jpg', 2), ('/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_41_4239.jpg', 2), ('/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_37_3233.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_57_3215.jpg', '/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_53_3942.jpg', '/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_50_4210.jpg', '/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_45_4228.jpg', '/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_41_4239.jpg', '/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_37_3233.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_57_3215.jpg
/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_53_3942.jpg
/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_50_4210.jpg
/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_45_4228.jpg
/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_41_4239.jpg
/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_37_3233.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345184126","1345184197","1345184026","1345184091","1345184085","1345184052"],"photo_ids_order":["1345184026","1345184052","1345184085","1345184091","1345184126","1345184197"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b6ed54fd18ca42863dd34f5550a40e20.jpg","text":"TemporaryFile(/tmp/multipartBody3620273009758534216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318073371,"filename":"image_18032025_00_24_41_4239.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bfa70eaed589ec67e6a3dc798bb5cbcf.jpg","text":"TemporaryFile(/tmp/multipartBody5595303335204296996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318073371,"filename":"image_18032025_00_24_37_3233.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3fdaa785ab2156952598b1e29931c40e.jpg","text":"TemporaryFile(/tmp/multipartBody8737214752367668568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318073371,"filename":"image_18032025_00_24_57_3215.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5c9063e0ba408fa0f5baac1dfaaff5ed.jpg","text":"TemporaryFile(/tmp/multipartBody2547965644006650758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318073371,"filename":"image_18032025_00_24_45_4228.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8443eeb6dd219a6587c36d2024e4ba17.jpg","text":"TemporaryFile(/tmp/multipartBody3523663117441305439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318073371,"filename":"image_18032025_00_24_50_4210.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/29149d466d082928f404c2e35bfc2231.jpg","text":"TemporaryFile(/tmp/multipartBody5074736647679161086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318073371,"filename":"image_18032025_00_24_53_3942.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345184085","file1":"1345184052","file0":"1345184026","file4":"1345184126","file5":"1345184197","file3":"1345184091"},"map_files_photo_id_array":[{"photo_id":"1345184197","filename":"file5"},{"photo_id":"1345184085","filename":"file2"},{"photo_id":"1345184126","filename":"file4"},{"photo_id":"1345184052","filename":"file1"},{"photo_id":"1345184026","filename":"file0"},{"photo_id":"1345184091","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345184126":["hashtag1","hashtag2"]},{"1345184197":["hashtag1","hashtag2"]},{"1345184026":["hashtag1","hashtag2"]},{"1345184091":["hashtag1","hashtag2"]},{"1345184085":["hashtag1","hashtag2"]},{"1345184052":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345184126, 1345184197, 1345184026, 1345184091, 1345184085, 1345184052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.96247410774231 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:14:32.765391
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_34_4285.jpg', 2), ('/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_29_4182.jpg', 2), ('/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_25_4212.jpg', 2), ('/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_21_4071.jpg', 2), ('/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_17_4077.jpg', 2), ('/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_13_3095.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_34_4285.jpg', '/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_29_4182.jpg', '/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_25_4212.jpg', '/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_21_4071.jpg', '/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_17_4077.jpg', '/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_13_3095.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_34_4285.jpg
/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_29_4182.jpg
/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_25_4212.jpg
/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_21_4071.jpg
/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_17_4077.jpg
/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_13_3095.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345184768","1345184840","1345184735","1345184702","1345184761","1345184798"],"photo_ids_order":["1345184702","1345184735","1345184761","1345184768","1345184798","1345184840"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ef3fb627aa61ce7ae27b528df004ad1f.jpg","text":"TemporaryFile(/tmp/multipartBody1529814101290060501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318133473,"filename":"image_18032025_00_24_21_4071.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/243e235da1dd763a7c1d84920d6c05c1.jpg","text":"TemporaryFile(/tmp/multipartBody2960850270398388216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318133473,"filename":"image_18032025_00_24_13_3095.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/87d0dbbb39d2078998d00b26b6b97500.jpg","text":"TemporaryFile(/tmp/multipartBody5566778243373436885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318133473,"filename":"image_18032025_00_24_29_4182.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b0884334f7c948d7578bd05b968e5152.jpg","text":"TemporaryFile(/tmp/multipartBody6005868724598605759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318133473,"filename":"image_18032025_00_24_34_4285.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/71dd119f8251f1e36204d10c05f66c53.jpg","text":"TemporaryFile(/tmp/multipartBody8427109585119112408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318133473,"filename":"image_18032025_00_24_25_4212.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0767fe2730625cf13deaf133920e2d64.jpg","text":"TemporaryFile(/tmp/multipartBody6295387944532202513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318133473,"filename":"image_18032025_00_24_17_4077.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345184761","file1":"1345184735","file0":"1345184702","file4":"1345184798","file5":"1345184840","file3":"1345184768"},"map_files_photo_id_array":[{"photo_id":"1345184840","filename":"file5"},{"photo_id":"1345184761","filename":"file2"},{"photo_id":"1345184798","filename":"file4"},{"photo_id":"1345184735","filename":"file1"},{"photo_id":"1345184702","filename":"file0"},{"photo_id":"1345184768","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345184768":["hashtag1","hashtag2"]},{"1345184840":["hashtag1","hashtag2"]},{"1345184735":["hashtag1","hashtag2"]},{"1345184702":["hashtag1","hashtag2"]},{"1345184761":["hashtag1","hashtag2"]},{"1345184798":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345184768, 1345184840, 1345184735, 1345184702, 1345184761, 1345184798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46467638015747 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:15:31.925002
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_10_4167.jpg', 2), ('/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_06_4686.jpg', 2), ('/home/nano/Desktop/images/18032025/00/23/image_18032025_00_24_01_4077.jpg', 2), ('/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_57_3184.jpg', 2), ('/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_54_4139.jpg', 2), ('/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_49_4000.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_10_4167.jpg', '/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_06_4686.jpg', '/home/nano/Desktop/images/18032025/00/23/image_18032025_00_24_01_4077.jpg', '/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_57_3184.jpg', '/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_54_4139.jpg', '/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_49_4000.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_10_4167.jpg
/home/nano/Desktop/images/18032025/00/24/image_18032025_00_24_06_4686.jpg
/home/nano/Desktop/images/18032025/00/23/image_18032025_00_24_01_4077.jpg
/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_57_3184.jpg
/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_54_4139.jpg
/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_49_4000.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345185113","1345184939","1345185028","1345185060","1345184958","1345184988"],"photo_ids_order":["1345184939","1345184958","1345184988","1345185028","1345185060","1345185113"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9b9e161933963d078a9c47f1629007fd.jpg","text":"TemporaryFile(/tmp/multipartBody5475840781485165267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318192616,"filename":"image_18032025_00_23_49_4000.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5e24b479cf16e2f0c0ffd10f113d00c0.jpg","text":"TemporaryFile(/tmp/multipartBody8302284625683317320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318192616,"filename":"image_18032025_00_24_10_4167.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4fe13a96b7ceff6e9fabade6c2469677.jpg","text":"TemporaryFile(/tmp/multipartBody7577667034213694539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318192616,"filename":"image_18032025_00_23_57_3184.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ac34a14ef3c15b5f2caf00798f81a19b.jpg","text":"TemporaryFile(/tmp/multipartBody7036465374814598039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318192616,"filename":"image_18032025_00_23_54_4139.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/df0b30e2b1545b4bb2b30c774bbc14c6.jpg","text":"TemporaryFile(/tmp/multipartBody4632195757101591226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318192616,"filename":"image_18032025_00_24_06_4686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5e508b5746c1d3f24fc51179d1e629b5.jpg","text":"TemporaryFile(/tmp/multipartBody2744710043163346269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318192616,"filename":"image_18032025_00_24_01_4077.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345184988","file1":"1345184958","file0":"1345184939","file4":"1345185060","file5":"1345185113","file3":"1345185028"},"map_files_photo_id_array":[{"photo_id":"1345185113","filename":"file5"},{"photo_id":"1345184988","filename":"file2"},{"photo_id":"1345185060","filename":"file4"},{"photo_id":"1345184958","filename":"file1"},{"photo_id":"1345184939","filename":"file0"},{"photo_id":"1345185028","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345185113":["hashtag1","hashtag2"]},{"1345184939":["hashtag1","hashtag2"]},{"1345185028":["hashtag1","hashtag2"]},{"1345185060":["hashtag1","hashtag2"]},{"1345184958":["hashtag1","hashtag2"]},{"1345184988":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345185113, 1345184939, 1345185028, 1345185060, 1345184958, 1345184988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.94933867454529 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:16:32.112313
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_45_4221.jpg', 2), ('/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_41_4315.jpg', 2), ('/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_37_3331.jpg', 2), ('/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_34_4397.jpg', 2), ('/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_29_4249.jpg', 2), ('/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_25_3240.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_45_4221.jpg', '/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_41_4315.jpg', '/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_37_3331.jpg', '/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_34_4397.jpg', '/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_29_4249.jpg', '/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_25_3240.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_45_4221.jpg
/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_41_4315.jpg
/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_37_3331.jpg
/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_34_4397.jpg
/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_29_4249.jpg
/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_25_3240.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345185542","1345185498","1345185549","1345185537","1345185516","1345185527"],"photo_ids_order":["1345185498","1345185516","1345185527","1345185537","1345185542","1345185549"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/621ca902653428e2638fee682e623987.jpg","text":"TemporaryFile(/tmp/multipartBody3594655687311652346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318252731,"filename":"image_18032025_00_23_29_4249.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3382544a2d95fe0fae2239f433b7fc58.jpg","text":"TemporaryFile(/tmp/multipartBody294637486187540071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318252731,"filename":"image_18032025_00_23_45_4221.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6c64fe3b3a4f98853d620fc13a4b66a1.jpg","text":"TemporaryFile(/tmp/multipartBody3171903359046244760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318252731,"filename":"image_18032025_00_23_25_3240.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/34f15fe631b1981deae9d5f659f15980.jpg","text":"TemporaryFile(/tmp/multipartBody7379041230522951212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318252731,"filename":"image_18032025_00_23_34_4397.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1551472f3569484e9a878c0d79f46033.jpg","text":"TemporaryFile(/tmp/multipartBody1393108993159685944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318252731,"filename":"image_18032025_00_23_41_4315.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/112e4703cb3bf4e5a91870180a815dfe.jpg","text":"TemporaryFile(/tmp/multipartBody5196426520042422613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318252731,"filename":"image_18032025_00_23_37_3331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345185527","file1":"1345185516","file0":"1345185498","file4":"1345185542","file5":"1345185549","file3":"1345185537"},"map_files_photo_id_array":[{"photo_id":"1345185549","filename":"file5"},{"photo_id":"1345185527","filename":"file2"},{"photo_id":"1345185542","filename":"file4"},{"photo_id":"1345185516","filename":"file1"},{"photo_id":"1345185498","filename":"file0"},{"photo_id":"1345185537","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345185542":["hashtag1","hashtag2"]},{"1345185498":["hashtag1","hashtag2"]},{"1345185549":["hashtag1","hashtag2"]},{"1345185537":["hashtag1","hashtag2"]},{"1345185516":["hashtag1","hashtag2"]},{"1345185527":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345185542, 1345185498, 1345185549, 1345185537, 1345185516, 1345185527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.809088945388794 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:17:32.276869
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_22_4023.jpg', 2), ('/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_18_4099.jpg', 2), ('/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_14_4010.jpg', 2), ('/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_10_4673.jpg', 2), ('/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_05_3455.jpg', 2), ('/home/nano/Desktop/images/18032025/00/22/image_18032025_00_23_01_4034.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_22_4023.jpg', '/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_18_4099.jpg', '/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_14_4010.jpg', '/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_10_4673.jpg', '/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_05_3455.jpg', '/home/nano/Desktop/images/18032025/00/22/image_18032025_00_23_01_4034.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_22_4023.jpg
/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_18_4099.jpg
/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_14_4010.jpg
/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_10_4673.jpg
/home/nano/Desktop/images/18032025/00/23/image_18032025_00_23_05_3455.jpg
/home/nano/Desktop/images/18032025/00/22/image_18032025_00_23_01_4034.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345185835","1345185879","1345186172","1345186052","1345186148","1345185866"],"photo_ids_order":["1345185835","1345185866","1345185879","1345186052","1345186148","1345186172"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d21ecd36e87f57771001251d8b1ee9c5.jpg","text":"TemporaryFile(/tmp/multipartBody7764411577213875313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318312901,"filename":"image_18032025_00_23_22_4023.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c04b85e0ee429af42b350f9b2152806e.jpg","text":"TemporaryFile(/tmp/multipartBody5054293678194246343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318312901,"filename":"image_18032025_00_23_14_4010.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f33169150c632052eda32a62710ea8e4.jpg","text":"TemporaryFile(/tmp/multipartBody4750491366250784310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318312901,"filename":"image_18032025_00_23_01_4034.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a653f8771db638576a2edc6ba0b31dc5.jpg","text":"TemporaryFile(/tmp/multipartBody8298066503371953248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318312901,"filename":"image_18032025_00_23_10_4673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ad3ad22717fcde53ac0e514abf5555ff.jpg","text":"TemporaryFile(/tmp/multipartBody8771568943788276046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318312901,"filename":"image_18032025_00_23_05_3455.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/580a5e5209e0c6fdf4b525f2af6cb3cd.jpg","text":"TemporaryFile(/tmp/multipartBody4899677701516514381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318312901,"filename":"image_18032025_00_23_18_4099.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345185879","file1":"1345185866","file0":"1345185835","file4":"1345186148","file5":"1345186172","file3":"1345186052"},"map_files_photo_id_array":[{"photo_id":"1345186172","filename":"file5"},{"photo_id":"1345185879","filename":"file2"},{"photo_id":"1345186148","filename":"file4"},{"photo_id":"1345185866","filename":"file1"},{"photo_id":"1345185835","filename":"file0"},{"photo_id":"1345186052","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345185835":["hashtag1","hashtag2"]},{"1345185879":["hashtag1","hashtag2"]},{"1345186172":["hashtag1","hashtag2"]},{"1345186052":["hashtag1","hashtag2"]},{"1345186148":["hashtag1","hashtag2"]},{"1345185866":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345185835, 1345185879, 1345186172, 1345186052, 1345186148, 1345185866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.406256437301636 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:18:32.452088
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_57_4116.jpg', 2), ('/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_53_4264.jpg', 2), ('/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_49_4264.jpg', 2), ('/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_45_3955.jpg', 2), ('/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_41_3113.jpg', 2), ('/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_38_4155.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_57_4116.jpg', '/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_53_4264.jpg', '/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_49_4264.jpg', '/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_45_3955.jpg', '/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_41_3113.jpg', '/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_38_4155.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_57_4116.jpg
/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_53_4264.jpg
/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_49_4264.jpg
/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_45_3955.jpg
/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_41_3113.jpg
/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_38_4155.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345186792","1345186846","1345186965","1345186698","1345186743","1345186901"],"photo_ids_order":["1345186698","1345186743","1345186792","1345186846","1345186901","1345186965"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/822fac03d301717b0bbcb1cbd479b922.jpg","text":"TemporaryFile(/tmp/multipartBody672765081598147476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318373100,"filename":"image_18032025_00_22_49_4264.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dff6e0d80ae39a910a512a309a3903d1.jpg","text":"TemporaryFile(/tmp/multipartBody6268317810432807486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318373100,"filename":"image_18032025_00_22_45_3955.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f0e483ff3f19fc390d36df21036d1c6e.jpg","text":"TemporaryFile(/tmp/multipartBody4382912813070837935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318373100,"filename":"image_18032025_00_22_38_4155.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2e57b62ebe74c62538238d26d34a5305.jpg","text":"TemporaryFile(/tmp/multipartBody5450319646462555990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318373100,"filename":"image_18032025_00_22_57_4116.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/61baabffe432e6df5bb816bebd545563.jpg","text":"TemporaryFile(/tmp/multipartBody4901746792792933957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318373100,"filename":"image_18032025_00_22_53_4264.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dacb6506e09e641b9821ee400b79f261.jpg","text":"TemporaryFile(/tmp/multipartBody6674848391015495338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318373100,"filename":"image_18032025_00_22_41_3113.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345186792","file1":"1345186743","file0":"1345186698","file4":"1345186901","file5":"1345186965","file3":"1345186846"},"map_files_photo_id_array":[{"photo_id":"1345186965","filename":"file5"},{"photo_id":"1345186792","filename":"file2"},{"photo_id":"1345186901","filename":"file4"},{"photo_id":"1345186743","filename":"file1"},{"photo_id":"1345186698","filename":"file0"},{"photo_id":"1345186846","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345186792":["hashtag1","hashtag2"]},{"1345186846":["hashtag1","hashtag2"]},{"1345186965":["hashtag1","hashtag2"]},{"1345186698":["hashtag1","hashtag2"]},{"1345186743":["hashtag1","hashtag2"]},{"1345186901":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345186792, 1345186846, 1345186965, 1345186698, 1345186743, 1345186901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.05017304420471 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:19:32.618993
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_34_4180.jpg', 2), ('/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_29_4153.jpg', 2), ('/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_25_4115.jpg', 2), ('/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_21_4073.jpg', 2), ('/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_17_4096.jpg', 2), ('/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_13_4023.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_34_4180.jpg', '/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_29_4153.jpg', '/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_25_4115.jpg', '/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_21_4073.jpg', '/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_17_4096.jpg', '/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_13_4023.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_34_4180.jpg
/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_29_4153.jpg
/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_25_4115.jpg
/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_21_4073.jpg
/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_17_4096.jpg
/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_13_4023.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345187487","1345187425","1345187568","1345187464","1345187365","1345187533"],"photo_ids_order":["1345187365","1345187425","1345187464","1345187487","1345187533","1345187568"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1ac1cd7407fddcc5e31e3af06bbeae37.jpg","text":"TemporaryFile(/tmp/multipartBody8050510333043218391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318433344,"filename":"image_18032025_00_22_21_4073.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/284dacb3c2c6229f7138460e7ee93649.jpg","text":"TemporaryFile(/tmp/multipartBody2222186980499449507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318433344,"filename":"image_18032025_00_22_29_4153.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c3203151fac233aeabda49f01a14790d.jpg","text":"TemporaryFile(/tmp/multipartBody3339971585505455234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318433344,"filename":"image_18032025_00_22_13_4023.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1cd4272ec05a63fba4a96d7c32efa4f7.jpg","text":"TemporaryFile(/tmp/multipartBody4974445431053181266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318433344,"filename":"image_18032025_00_22_25_4115.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cfa881fa340fc514e21d172406846fe9.jpg","text":"TemporaryFile(/tmp/multipartBody1455362813687860258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318433344,"filename":"image_18032025_00_22_34_4180.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/874806fe028fd4f7d01721734e73db9f.jpg","text":"TemporaryFile(/tmp/multipartBody1842123749397483237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318433344,"filename":"image_18032025_00_22_17_4096.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345187464","file1":"1345187425","file0":"1345187365","file4":"1345187533","file5":"1345187568","file3":"1345187487"},"map_files_photo_id_array":[{"photo_id":"1345187568","filename":"file5"},{"photo_id":"1345187464","filename":"file2"},{"photo_id":"1345187533","filename":"file4"},{"photo_id":"1345187425","filename":"file1"},{"photo_id":"1345187365","filename":"file0"},{"photo_id":"1345187487","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345187487":["hashtag1","hashtag2"]},{"1345187425":["hashtag1","hashtag2"]},{"1345187568":["hashtag1","hashtag2"]},{"1345187464":["hashtag1","hashtag2"]},{"1345187365":["hashtag1","hashtag2"]},{"1345187533":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345187487, 1345187425, 1345187568, 1345187464, 1345187365, 1345187533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.21314525604248 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:20:32.773018
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_09_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_05_3683.jpg', 2), ('/home/nano/Desktop/images/18032025/00/21/image_18032025_00_22_01_3995.jpg', 2), ('/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_57_3990.jpg', 2), ('/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_53_4069.jpg', 2), ('/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_49_4248.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_09_4045.jpg', '/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_05_3683.jpg', '/home/nano/Desktop/images/18032025/00/21/image_18032025_00_22_01_3995.jpg', '/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_57_3990.jpg', '/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_53_4069.jpg', '/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_49_4248.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_09_4045.jpg
/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_05_3683.jpg
/home/nano/Desktop/images/18032025/00/21/image_18032025_00_22_01_3995.jpg
/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_57_3990.jpg
/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_53_4069.jpg
/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_49_4248.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.5645501613616943 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:21:02.525176
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_09_4045.jpg', 2), ('/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_05_3683.jpg', 2), ('/home/nano/Desktop/images/18032025/00/21/image_18032025_00_22_01_3995.jpg', 2), ('/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_57_3990.jpg', 2), ('/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_53_4069.jpg', 2), ('/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_49_4248.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_09_4045.jpg', '/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_05_3683.jpg', '/home/nano/Desktop/images/18032025/00/21/image_18032025_00_22_01_3995.jpg', '/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_57_3990.jpg', '/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_53_4069.jpg', '/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_49_4248.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_09_4045.jpg
/home/nano/Desktop/images/18032025/00/22/image_18032025_00_22_05_3683.jpg
/home/nano/Desktop/images/18032025/00/21/image_18032025_00_22_01_3995.jpg
/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_57_3990.jpg
/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_53_4069.jpg
/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_49_4248.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345188630","1345188758","1345188790","1345188701","1345188655","1345188610"],"photo_ids_order":["1345188610","1345188630","1345188655","1345188701","1345188758","1345188790"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d9bac5b4f6b072777f10b5c80fbc581e.jpg","text":"TemporaryFile(/tmp/multipartBody8328655965209047458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318523016,"filename":"image_18032025_00_22_05_3683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/01c51c6ab3043f442f193f9ca2799a46.jpg","text":"TemporaryFile(/tmp/multipartBody397732210325862115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318523016,"filename":"image_18032025_00_21_53_4069.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2e65792ac2f246f9f0b35a7e8305fd87.jpg","text":"TemporaryFile(/tmp/multipartBody833082327274553770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318523016,"filename":"image_18032025_00_21_49_4248.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5a56e4c942c42f8a3c9dc9c3ff609f0a.jpg","text":"TemporaryFile(/tmp/multipartBody6368477666869337402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318523016,"filename":"image_18032025_00_21_57_3990.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/46c7f05519d6a2978cc513d90b2fd93f.jpg","text":"TemporaryFile(/tmp/multipartBody8673621787617788175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318523016,"filename":"image_18032025_00_22_01_3995.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d799c70c09c1b4ee73ddd34c7ee03424.jpg","text":"TemporaryFile(/tmp/multipartBody6599800338570955004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318523016,"filename":"image_18032025_00_22_09_4045.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345188655","file1":"1345188630","file0":"1345188610","file4":"1345188758","file5":"1345188790","file3":"1345188701"},"map_files_photo_id_array":[{"photo_id":"1345188790","filename":"file5"},{"photo_id":"1345188655","filename":"file2"},{"photo_id":"1345188758","filename":"file4"},{"photo_id":"1345188630","filename":"file1"},{"photo_id":"1345188610","filename":"file0"},{"photo_id":"1345188701","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345188630":["hashtag1","hashtag2"]},{"1345188758":["hashtag1","hashtag2"]},{"1345188790":["hashtag1","hashtag2"]},{"1345188701":["hashtag1","hashtag2"]},{"1345188655":["hashtag1","hashtag2"]},{"1345188610":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345188630, 1345188758, 1345188790, 1345188701, 1345188655, 1345188610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.75353527069092 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:22:02.593117
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_45_4005.jpg', 2), ('/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_41_3740.jpg', 2), ('/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_37_4332.jpg', 2), ('/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_33_3312.jpg', 2), ('/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_29_4196.jpg', 2), ('/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_25_4198.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_45_4005.jpg', '/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_41_3740.jpg', '/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_37_4332.jpg', '/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_33_3312.jpg', '/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_29_4196.jpg', '/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_25_4198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_45_4005.jpg
/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_41_3740.jpg
/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_37_4332.jpg
/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_33_3312.jpg
/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_29_4196.jpg
/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_25_4198.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.4886157512664795 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:22:32.115778
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_45_4005.jpg', 2), ('/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_41_3740.jpg', 2), ('/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_37_4332.jpg', 2), ('/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_33_3312.jpg', 2), ('/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_29_4196.jpg', 2), ('/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_25_4198.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_45_4005.jpg', '/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_41_3740.jpg', '/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_37_4332.jpg', '/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_33_3312.jpg', '/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_29_4196.jpg', '/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_25_4198.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_45_4005.jpg
/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_41_3740.jpg
/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_37_4332.jpg
/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_33_3312.jpg
/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_29_4196.jpg
/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_25_4198.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345189436","1345189465","1345189441","1345189507","1345189371","1345189413"],"photo_ids_order":["1345189371","1345189413","1345189436","1345189441","1345189465","1345189507"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/50decb378757f3d14d69670f41f1ba8b.jpg","text":"TemporaryFile(/tmp/multipartBody4638415934541363152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318612570,"filename":"image_18032025_00_21_37_4332.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c4a4e69c7640e846d1ead33454d5594c.jpg","text":"TemporaryFile(/tmp/multipartBody1989904840461178408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318612570,"filename":"image_18032025_00_21_29_4196.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f8bd67dd2ff88271ed6f806207a1141e.jpg","text":"TemporaryFile(/tmp/multipartBody7056577903987081942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318612570,"filename":"image_18032025_00_21_33_3312.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a38510ef203ca6c362b8189c395c5599.jpg","text":"TemporaryFile(/tmp/multipartBody3701337960044288756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318612570,"filename":"image_18032025_00_21_25_4198.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3ec3263caef2a431c4ec0e42007d53d6.jpg","text":"TemporaryFile(/tmp/multipartBody1604788745736206500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318612570,"filename":"image_18032025_00_21_45_4005.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1ad3d75466a572221929f78390062ec1.jpg","text":"TemporaryFile(/tmp/multipartBody4033344590295499113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318612570,"filename":"image_18032025_00_21_41_3740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345189436","file1":"1345189413","file0":"1345189371","file4":"1345189465","file5":"1345189507","file3":"1345189441"},"map_files_photo_id_array":[{"photo_id":"1345189507","filename":"file5"},{"photo_id":"1345189436","filename":"file2"},{"photo_id":"1345189465","filename":"file4"},{"photo_id":"1345189413","filename":"file1"},{"photo_id":"1345189371","filename":"file0"},{"photo_id":"1345189441","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345189436":["hashtag1","hashtag2"]},{"1345189465":["hashtag1","hashtag2"]},{"1345189441":["hashtag1","hashtag2"]},{"1345189507":["hashtag1","hashtag2"]},{"1345189371":["hashtag1","hashtag2"]},{"1345189413":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345189436, 1345189465, 1345189441, 1345189507, 1345189371, 1345189413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.161075592041016 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:23:32.282909
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_21_4119.jpg', 2), ('/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_17_4123.jpg', 2), ('/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_13_4055.jpg', 2), ('/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_09_3172.jpg', 2), ('/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_06_4813.jpg', 2), ('/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_01_3157.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_21_4119.jpg', '/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_17_4123.jpg', '/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_13_4055.jpg', '/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_09_3172.jpg', '/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_06_4813.jpg', '/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_01_3157.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_21_4119.jpg
/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_17_4123.jpg
/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_13_4055.jpg
/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_09_3172.jpg
/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_06_4813.jpg
/home/nano/Desktop/images/18032025/00/21/image_18032025_00_21_01_3157.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345189763","1345189663","1345189807","1345189735","1345189692","1345189782"],"photo_ids_order":["1345189663","1345189692","1345189735","1345189763","1345189782","1345189807"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/35b74d92283ea70ca0a17da8ff196837.jpg","text":"TemporaryFile(/tmp/multipartBody3615116385175960052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318672987,"filename":"image_18032025_00_21_09_3172.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/da6281d20e4c1308aa5ddb2133dfdf6f.jpg","text":"TemporaryFile(/tmp/multipartBody6767980922989556363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318672987,"filename":"image_18032025_00_21_21_4119.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/399bd7623ea99cfe4454d48784e0a2bb.jpg","text":"TemporaryFile(/tmp/multipartBody1385401694672789079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318672987,"filename":"image_18032025_00_21_01_3157.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c9184b637d95986380eb4e46ce60a981.jpg","text":"TemporaryFile(/tmp/multipartBody8194467155497482236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318672987,"filename":"image_18032025_00_21_13_4055.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d10aca3696c30d346afee68036494e02.jpg","text":"TemporaryFile(/tmp/multipartBody5297461082091423309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318672987,"filename":"image_18032025_00_21_17_4123.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6a2d328ef098aee209e95f4c291110d7.jpg","text":"TemporaryFile(/tmp/multipartBody5590937587240791996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318672987,"filename":"image_18032025_00_21_06_4813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345189735","file1":"1345189692","file0":"1345189663","file4":"1345189782","file5":"1345189807","file3":"1345189763"},"map_files_photo_id_array":[{"photo_id":"1345189807","filename":"file5"},{"photo_id":"1345189735","filename":"file2"},{"photo_id":"1345189782","filename":"file4"},{"photo_id":"1345189692","filename":"file1"},{"photo_id":"1345189663","filename":"file0"},{"photo_id":"1345189763","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345189763":["hashtag1","hashtag2"]},{"1345189663":["hashtag1","hashtag2"]},{"1345189807":["hashtag1","hashtag2"]},{"1345189735":["hashtag1","hashtag2"]},{"1345189692":["hashtag1","hashtag2"]},{"1345189782":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345189763, 1345189663, 1345189807, 1345189735, 1345189692, 1345189782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.30031704902649 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:24:32.459460
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_58_4108.jpg', 2), ('/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_54_4201.jpg', 2), ('/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_49_4211.jpg', 2), ('/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_45_3778.jpg', 2), ('/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_41_4173.jpg', 2), ('/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_37_4153.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_58_4108.jpg', '/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_54_4201.jpg', '/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_49_4211.jpg', '/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_45_3778.jpg', '/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_41_4173.jpg', '/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_37_4153.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_58_4108.jpg
/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_54_4201.jpg
/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_49_4211.jpg
/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_45_3778.jpg
/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_41_4173.jpg
/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_37_4153.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345190094","1345189955","1345189942","1345189918","1345189986","1345190047"],"photo_ids_order":["1345189918","1345189942","1345189955","1345189986","1345190047","1345190094"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fd63784b68f446304bd6756ad8317877.jpg","text":"TemporaryFile(/tmp/multipartBody4492266829811827035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318733134,"filename":"image_18032025_00_20_37_4153.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a6ae7e6104095f8f52cfb87f949d2333.jpg","text":"TemporaryFile(/tmp/multipartBody1149566365269018908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318733134,"filename":"image_18032025_00_20_49_4211.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/aebdbf8e668db612a023e34e1e3f41fa.jpg","text":"TemporaryFile(/tmp/multipartBody2073084461259392502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318733134,"filename":"image_18032025_00_20_54_4201.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8f99b0d831b40ad0a6d6c77e6b56cbf3.jpg","text":"TemporaryFile(/tmp/multipartBody9152308592234039536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318733134,"filename":"image_18032025_00_20_58_4108.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d332d9b91f90aa0015fa9d4350720c9f.jpg","text":"TemporaryFile(/tmp/multipartBody1793574400579018660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318733134,"filename":"image_18032025_00_20_45_3778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dc00481fd1be1adf0c8a9589f318a2db.jpg","text":"TemporaryFile(/tmp/multipartBody4318111485929594046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318733134,"filename":"image_18032025_00_20_41_4173.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345189955","file1":"1345189942","file0":"1345189918","file4":"1345190047","file5":"1345190094","file3":"1345189986"},"map_files_photo_id_array":[{"photo_id":"1345190094","filename":"file5"},{"photo_id":"1345189955","filename":"file2"},{"photo_id":"1345190047","filename":"file4"},{"photo_id":"1345189942","filename":"file1"},{"photo_id":"1345189918","filename":"file0"},{"photo_id":"1345189986","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345190094":["hashtag1","hashtag2"]},{"1345189955":["hashtag1","hashtag2"]},{"1345189942":["hashtag1","hashtag2"]},{"1345189918":["hashtag1","hashtag2"]},{"1345189986":["hashtag1","hashtag2"]},{"1345190047":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345190094, 1345189955, 1345189942, 1345189918, 1345189986, 1345190047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.30241560935974 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:25:32.627633
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_33_4176.jpg', 2), ('/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_29_3135.jpg', 2), ('/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_26_4164.jpg', 2), ('/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_22_4147.jpg', 2), ('/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_17_4200.jpg', 2), ('/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_13_4185.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_33_4176.jpg', '/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_29_3135.jpg', '/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_26_4164.jpg', '/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_22_4147.jpg', '/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_17_4200.jpg', '/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_13_4185.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_33_4176.jpg
/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_29_3135.jpg
/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_26_4164.jpg
/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_22_4147.jpg
/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_17_4200.jpg
/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_13_4185.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345190457","1345190412","1345190502","1345190537","1345190525","1345190548"],"photo_ids_order":["1345190412","1345190457","1345190502","1345190525","1345190537","1345190548"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/98d6458994b766f527a318bef05eaeba.jpg","text":"TemporaryFile(/tmp/multipartBody1549622784053716427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318793348,"filename":"image_18032025_00_20_29_3135.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/801de98487572b1d2244d6b8180148f1.jpg","text":"TemporaryFile(/tmp/multipartBody8781640310809745547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318793348,"filename":"image_18032025_00_20_33_4176.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9697267738e64aa5969cd0b49145dc8b.jpg","text":"TemporaryFile(/tmp/multipartBody5200406430397989978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318793348,"filename":"image_18032025_00_20_26_4164.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8df8936d73807ad5eb8c121fef01ed3c.jpg","text":"TemporaryFile(/tmp/multipartBody6802696271946054740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318793348,"filename":"image_18032025_00_20_17_4200.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/76e51d9d739476622d5cf64061f98f22.jpg","text":"TemporaryFile(/tmp/multipartBody7264797465212241140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318793348,"filename":"image_18032025_00_20_22_4147.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b28a155bdbcfe0d6d7eacdeaee8d7f9f.jpg","text":"TemporaryFile(/tmp/multipartBody4345781934260554512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318793348,"filename":"image_18032025_00_20_13_4185.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345190502","file1":"1345190457","file0":"1345190412","file4":"1345190537","file5":"1345190548","file3":"1345190525"},"map_files_photo_id_array":[{"photo_id":"1345190548","filename":"file5"},{"photo_id":"1345190502","filename":"file2"},{"photo_id":"1345190537","filename":"file4"},{"photo_id":"1345190457","filename":"file1"},{"photo_id":"1345190412","filename":"file0"},{"photo_id":"1345190525","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345190457":["hashtag1","hashtag2"]},{"1345190412":["hashtag1","hashtag2"]},{"1345190502":["hashtag1","hashtag2"]},{"1345190537":["hashtag1","hashtag2"]},{"1345190525":["hashtag1","hashtag2"]},{"1345190548":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345190457, 1345190412, 1345190502, 1345190537, 1345190525, 1345190548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.387539863586426 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:26:32.777985
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_09_4227.jpg', 2), ('/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_05_3982.jpg', 2), ('/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_01_3120.jpg', 2), ('/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_58_4195.jpg', 2), ('/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_53_4281.jpg', 2), ('/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_49_4344.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_09_4227.jpg', '/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_05_3982.jpg', '/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_01_3120.jpg', '/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_58_4195.jpg', '/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_53_4281.jpg', '/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_49_4344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_09_4227.jpg
/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_05_3982.jpg
/home/nano/Desktop/images/18032025/00/20/image_18032025_00_20_01_3120.jpg
/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_58_4195.jpg
/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_53_4281.jpg
/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_49_4344.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345190891","1345190870","1345190887","1345190788","1345190836","1345190806"],"photo_ids_order":["1345190788","1345190806","1345190836","1345190870","1345190887","1345190891"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0db1e1865f816c7063cd1fb9b5f3bf8e.jpg","text":"TemporaryFile(/tmp/multipartBody4222088099578508365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318853446,"filename":"image_18032025_00_19_49_4344.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7ecc37e628eebf84d1da9875c8be7075.jpg","text":"TemporaryFile(/tmp/multipartBody4164460223045192808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318853446,"filename":"image_18032025_00_19_58_4195.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/06633e7d4a1ee92d1b58aac23a758ecf.jpg","text":"TemporaryFile(/tmp/multipartBody368749256910967232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318853446,"filename":"image_18032025_00_19_53_4281.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1cafc2f90dbcb6bed2c2c8e3d0825570.jpg","text":"TemporaryFile(/tmp/multipartBody6220101153149294494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318853446,"filename":"image_18032025_00_20_09_4227.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c1b10740616cce9ddacce1f4c9a78fcf.jpg","text":"TemporaryFile(/tmp/multipartBody4749609556356323390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318853446,"filename":"image_18032025_00_20_01_3120.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f066cec8b1ed736ffa5dd37b6d237a48.jpg","text":"TemporaryFile(/tmp/multipartBody6089203353296774242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318853446,"filename":"image_18032025_00_20_05_3982.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345190836","file1":"1345190806","file0":"1345190788","file4":"1345190887","file5":"1345190891","file3":"1345190870"},"map_files_photo_id_array":[{"photo_id":"1345190891","filename":"file5"},{"photo_id":"1345190836","filename":"file2"},{"photo_id":"1345190887","filename":"file4"},{"photo_id":"1345190806","filename":"file1"},{"photo_id":"1345190788","filename":"file0"},{"photo_id":"1345190870","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345190891":["hashtag1","hashtag2"]},{"1345190870":["hashtag1","hashtag2"]},{"1345190887":["hashtag1","hashtag2"]},{"1345190788":["hashtag1","hashtag2"]},{"1345190836":["hashtag1","hashtag2"]},{"1345190806":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345190891, 1345190870, 1345190887, 1345190788, 1345190836, 1345190806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.999626874923706 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:27:32.028603
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_45_3333.jpg', 2), ('/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_41_4319.jpg', 2), ('/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_37_4410.jpg', 2), ('/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_33_3324.jpg', 2), ('/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_29_4427.jpg', 2), ('/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_25_4243.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_45_3333.jpg', '/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_41_4319.jpg', '/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_37_4410.jpg', '/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_33_3324.jpg', '/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_29_4427.jpg', '/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_25_4243.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_45_3333.jpg
/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_41_4319.jpg
/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_37_4410.jpg
/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_33_3324.jpg
/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_29_4427.jpg
/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_25_4243.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345190916","1345190907","1345190933","1345190921","1345190911","1345190958"],"photo_ids_order":["1345190907","1345190911","1345190916","1345190921","1345190933","1345190958"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/170df7e9a0edabeaa7a409ac1ae85947.jpg","text":"TemporaryFile(/tmp/multipartBody6309858141511842589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318912930,"filename":"image_18032025_00_19_37_4410.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d547526eceaaa411ef21e553f6324d6e.jpg","text":"TemporaryFile(/tmp/multipartBody8340902770903069916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318912930,"filename":"image_18032025_00_19_45_3333.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bce8e034caf4901cb6e335aee2bebdfc.jpg","text":"TemporaryFile(/tmp/multipartBody8086910419835842327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318912930,"filename":"image_18032025_00_19_29_4427.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7da84c34d3287c318a07999ae03e1cc5.jpg","text":"TemporaryFile(/tmp/multipartBody8281003369627913827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318912930,"filename":"image_18032025_00_19_33_3324.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a696eb6a7307a0b90a1f6ad096791e99.jpg","text":"TemporaryFile(/tmp/multipartBody7017574268084754518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318912930,"filename":"image_18032025_00_19_41_4319.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8f5fbe6c3ba132b879320ccdbd928348.jpg","text":"TemporaryFile(/tmp/multipartBody3988852539044153654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318912930,"filename":"image_18032025_00_19_25_4243.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345190916","file1":"1345190911","file0":"1345190907","file4":"1345190933","file5":"1345190958","file3":"1345190921"},"map_files_photo_id_array":[{"photo_id":"1345190958","filename":"file5"},{"photo_id":"1345190916","filename":"file2"},{"photo_id":"1345190933","filename":"file4"},{"photo_id":"1345190911","filename":"file1"},{"photo_id":"1345190907","filename":"file0"},{"photo_id":"1345190921","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345190916":["hashtag1","hashtag2"]},{"1345190907":["hashtag1","hashtag2"]},{"1345190933":["hashtag1","hashtag2"]},{"1345190921":["hashtag1","hashtag2"]},{"1345190911":["hashtag1","hashtag2"]},{"1345190958":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345190916, 1345190907, 1345190933, 1345190921, 1345190911, 1345190958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.214128255844116 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:28:32.222485
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_21_3298.jpg', 2), ('/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_18_4186.jpg', 2), ('/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_13_4168.jpg', 2), ('/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_09_4181.jpg', 2), ('/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_05_3528.jpg', 2), ('/home/nano/Desktop/images/18032025/00/18/image_18032025_00_19_01_4158.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_21_3298.jpg', '/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_18_4186.jpg', '/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_13_4168.jpg', '/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_09_4181.jpg', '/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_05_3528.jpg', '/home/nano/Desktop/images/18032025/00/18/image_18032025_00_19_01_4158.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_21_3298.jpg
/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_18_4186.jpg
/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_13_4168.jpg
/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_09_4181.jpg
/home/nano/Desktop/images/18032025/00/19/image_18032025_00_19_05_3528.jpg
/home/nano/Desktop/images/18032025/00/18/image_18032025_00_19_01_4158.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345191327","1345191257","1345191317","1345191286","1345191322","1345191330"],"photo_ids_order":["1345191257","1345191286","1345191317","1345191322","1345191327","1345191330"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0300470a8a61a9c45959445a0cfeea5b.jpg","text":"TemporaryFile(/tmp/multipartBody1960763025502309689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318973020,"filename":"image_18032025_00_19_05_3528.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0770c3c39ad0e1079626d5c1ef9ac325.jpg","text":"TemporaryFile(/tmp/multipartBody3609353419910451060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318973020,"filename":"image_18032025_00_19_21_3298.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/61c1f2bdc24d7491787910f96a1ff56f.jpg","text":"TemporaryFile(/tmp/multipartBody3648294987350361495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318973020,"filename":"image_18032025_00_19_13_4168.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/731adb7fd4a92554f5ca5439f0fe6399.jpg","text":"TemporaryFile(/tmp/multipartBody3080146764587014471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318973020,"filename":"image_18032025_00_19_18_4186.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/75b679df35afb60070386e1ba14afe73.jpg","text":"TemporaryFile(/tmp/multipartBody2218543265713917809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318973020,"filename":"image_18032025_00_19_09_4181.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9c985cad9c5595025bc25a25000593fe.jpg","text":"TemporaryFile(/tmp/multipartBody3160723195846036234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742318973020,"filename":"image_18032025_00_19_01_4158.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345191317","file1":"1345191286","file0":"1345191257","file4":"1345191327","file5":"1345191330","file3":"1345191322"},"map_files_photo_id_array":[{"photo_id":"1345191330","filename":"file5"},{"photo_id":"1345191317","filename":"file2"},{"photo_id":"1345191327","filename":"file4"},{"photo_id":"1345191286","filename":"file1"},{"photo_id":"1345191257","filename":"file0"},{"photo_id":"1345191322","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345191327":["hashtag1","hashtag2"]},{"1345191257":["hashtag1","hashtag2"]},{"1345191317":["hashtag1","hashtag2"]},{"1345191286":["hashtag1","hashtag2"]},{"1345191322":["hashtag1","hashtag2"]},{"1345191330":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345191327, 1345191257, 1345191317, 1345191286, 1345191322, 1345191330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.8712797164917 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:29:32.405094
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_57_4021.jpg', 2), ('/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_53_4147.jpg', 2), ('/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_49_4242.jpg', 2), ('/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_45_3263.jpg', 2), ('/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_42_4197.jpg', 2), ('/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_37_4023.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_57_4021.jpg', '/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_53_4147.jpg', '/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_49_4242.jpg', '/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_45_3263.jpg', '/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_42_4197.jpg', '/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_37_4023.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_57_4021.jpg
/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_53_4147.jpg
/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_49_4242.jpg
/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_45_3263.jpg
/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_42_4197.jpg
/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_37_4023.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345191382","1345191349","1345191400","1345191375","1345191369","1345191360"],"photo_ids_order":["1345191349","1345191360","1345191369","1345191375","1345191382","1345191400"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b72f9676139a746a842cf46bae7d82b8.jpg","text":"TemporaryFile(/tmp/multipartBody1782647974699690452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319033212,"filename":"image_18032025_00_18_42_4197.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/74d1045708b691647efe6e4f2eab8fb8.jpg","text":"TemporaryFile(/tmp/multipartBody3362253167320770627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319033212,"filename":"image_18032025_00_18_57_4021.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0579ac9905c6c0bd2bfd14c156c4eca3.jpg","text":"TemporaryFile(/tmp/multipartBody6978876408258762102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319033212,"filename":"image_18032025_00_18_37_4023.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a92b7d02ca06361fe2e929209de00f30.jpg","text":"TemporaryFile(/tmp/multipartBody94054004387022481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319033212,"filename":"image_18032025_00_18_45_3263.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/458e414d1a4fafc70adb76b74cca227e.jpg","text":"TemporaryFile(/tmp/multipartBody6974425792840893843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319033212,"filename":"image_18032025_00_18_49_4242.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ce15b1e7723b78345fb092e0518634e5.jpg","text":"TemporaryFile(/tmp/multipartBody3499673388370692042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319033212,"filename":"image_18032025_00_18_53_4147.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345191369","file1":"1345191360","file0":"1345191349","file4":"1345191382","file5":"1345191400","file3":"1345191375"},"map_files_photo_id_array":[{"photo_id":"1345191400","filename":"file5"},{"photo_id":"1345191369","filename":"file2"},{"photo_id":"1345191382","filename":"file4"},{"photo_id":"1345191360","filename":"file1"},{"photo_id":"1345191349","filename":"file0"},{"photo_id":"1345191375","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345191382":["hashtag1","hashtag2"]},{"1345191349":["hashtag1","hashtag2"]},{"1345191400":["hashtag1","hashtag2"]},{"1345191375":["hashtag1","hashtag2"]},{"1345191369":["hashtag1","hashtag2"]},{"1345191360":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345191382, 1345191349, 1345191400, 1345191375, 1345191369, 1345191360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.571447134017944 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:30:32.563356
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_33_4056.jpg', 2), ('/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_29_3979.jpg', 2), ('/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_25_4225.jpg', 2), ('/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_21_4019.jpg', 2), ('/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_17_4145.jpg', 2), ('/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_13_4134.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_33_4056.jpg', '/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_29_3979.jpg', '/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_25_4225.jpg', '/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_21_4019.jpg', '/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_17_4145.jpg', '/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_13_4134.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_33_4056.jpg
/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_29_3979.jpg
/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_25_4225.jpg
/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_21_4019.jpg
/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_17_4145.jpg
/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_13_4134.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345191915","1345191632","1345191685","1345191973","1345191820","1345191739"],"photo_ids_order":["1345191632","1345191685","1345191739","1345191820","1345191915","1345191973"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/92d25ae34e166fd6c3126a55ee307354.jpg","text":"TemporaryFile(/tmp/multipartBody958554641398418809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319093401,"filename":"image_18032025_00_18_17_4145.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a457bc5638157cef9ebba9d0d58a77cc.jpg","text":"TemporaryFile(/tmp/multipartBody6980556800470036319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319093401,"filename":"image_18032025_00_18_33_4056.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/37b42c0cbd3e8981c2632f424768ad85.jpg","text":"TemporaryFile(/tmp/multipartBody1177455403254789840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319093401,"filename":"image_18032025_00_18_29_3979.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e0085197334fbb5968ea7cd094f7671c.jpg","text":"TemporaryFile(/tmp/multipartBody130516455373927955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319093401,"filename":"image_18032025_00_18_13_4134.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ca6501a8c13ebbcc2cf7d5e769b92204.jpg","text":"TemporaryFile(/tmp/multipartBody307109490116401497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319093401,"filename":"image_18032025_00_18_21_4019.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e3ef967cf14c972deab8d4f188430b4c.jpg","text":"TemporaryFile(/tmp/multipartBody2988438067002024837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319093401,"filename":"image_18032025_00_18_25_4225.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345191739","file1":"1345191685","file0":"1345191632","file4":"1345191915","file5":"1345191973","file3":"1345191820"},"map_files_photo_id_array":[{"photo_id":"1345191973","filename":"file5"},{"photo_id":"1345191739","filename":"file2"},{"photo_id":"1345191915","filename":"file4"},{"photo_id":"1345191685","filename":"file1"},{"photo_id":"1345191632","filename":"file0"},{"photo_id":"1345191820","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345191915":["hashtag1","hashtag2"]},{"1345191632":["hashtag1","hashtag2"]},{"1345191685":["hashtag1","hashtag2"]},{"1345191973":["hashtag1","hashtag2"]},{"1345191820":["hashtag1","hashtag2"]},{"1345191739":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345191915, 1345191632, 1345191685, 1345191973, 1345191820, 1345191739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.307844161987305 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:31:32.712284
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_09_3152.jpg', 2), ('/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_06_4752.jpg', 2), ('/home/nano/Desktop/images/18032025/00/17/image_18032025_00_18_01_4091.jpg', 2), ('/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_57_3133.jpg', 2), ('/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_54_4056.jpg', 2), ('/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_50_4102.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_09_3152.jpg', '/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_06_4752.jpg', '/home/nano/Desktop/images/18032025/00/17/image_18032025_00_18_01_4091.jpg', '/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_57_3133.jpg', '/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_54_4056.jpg', '/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_50_4102.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_09_3152.jpg
/home/nano/Desktop/images/18032025/00/18/image_18032025_00_18_06_4752.jpg
/home/nano/Desktop/images/18032025/00/17/image_18032025_00_18_01_4091.jpg
/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_57_3133.jpg
/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_54_4056.jpg
/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_50_4102.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345192583","1345192556","1345192622","1345192526","1345192680","1345192485"],"photo_ids_order":["1345192485","1345192526","1345192556","1345192583","1345192622","1345192680"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8b983ce29f14eafe5106af7626f0c790.jpg","text":"TemporaryFile(/tmp/multipartBody8418820062449854097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319153514,"filename":"image_18032025_00_17_57_3133.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ee235f2071da1ba308c37aa8c15a9bb6.jpg","text":"TemporaryFile(/tmp/multipartBody5818948161070204837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319153514,"filename":"image_18032025_00_18_01_4091.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/111ee92e07377d63f664e1f0ed6b19e2.jpg","text":"TemporaryFile(/tmp/multipartBody7167284618877102872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319153514,"filename":"image_18032025_00_17_54_4056.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e6fe08bb88c11b3e82a0927f3dd73e42.jpg","text":"TemporaryFile(/tmp/multipartBody644922708811054535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319153514,"filename":"image_18032025_00_18_06_4752.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/257303ca0a92c5fdf708711c5ea5ac29.jpg","text":"TemporaryFile(/tmp/multipartBody7824235343917016968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319153514,"filename":"image_18032025_00_17_50_4102.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5d51b8648ec9ca8a88dec4d876f9a18b.jpg","text":"TemporaryFile(/tmp/multipartBody7886312979093519436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319153514,"filename":"image_18032025_00_18_09_3152.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345192556","file1":"1345192526","file0":"1345192485","file4":"1345192622","file5":"1345192680","file3":"1345192583"},"map_files_photo_id_array":[{"photo_id":"1345192680","filename":"file5"},{"photo_id":"1345192556","filename":"file2"},{"photo_id":"1345192622","filename":"file4"},{"photo_id":"1345192526","filename":"file1"},{"photo_id":"1345192485","filename":"file0"},{"photo_id":"1345192583","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345192583":["hashtag1","hashtag2"]},{"1345192556":["hashtag1","hashtag2"]},{"1345192622":["hashtag1","hashtag2"]},{"1345192526":["hashtag1","hashtag2"]},{"1345192680":["hashtag1","hashtag2"]},{"1345192485":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345192583, 1345192556, 1345192622, 1345192526, 1345192680, 1345192485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.757683277130127 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:32:31.857942
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_46_4244.jpg', 2), ('/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_41_4274.jpg', 2), ('/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_37_4096.jpg', 2), ('/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_33_3327.jpg', 2), ('/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_30_4206.jpg', 2), ('/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_25_4342.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_46_4244.jpg', '/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_41_4274.jpg', '/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_37_4096.jpg', '/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_33_3327.jpg', '/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_30_4206.jpg', '/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_25_4342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_46_4244.jpg
/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_41_4274.jpg
/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_37_4096.jpg
/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_33_3327.jpg
/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_30_4206.jpg
/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_25_4342.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345193215","1345193017","1345193104","1345193295","1345193160","1345192943"],"photo_ids_order":["1345192943","1345193017","1345193104","1345193160","1345193215","1345193295"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c77adbcc8159cb498c14346200f8b6a3.jpg","text":"TemporaryFile(/tmp/multipartBody6143618187729393621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319212646,"filename":"image_18032025_00_17_30_4206.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cc617ef77cc0bcea45ebd35ed1fe79fe.jpg","text":"TemporaryFile(/tmp/multipartBody8707460396584057755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319212646,"filename":"image_18032025_00_17_41_4274.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5c64435e4b3dc4f31dbaeef280d8529f.jpg","text":"TemporaryFile(/tmp/multipartBody913512079544972369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319212646,"filename":"image_18032025_00_17_37_4096.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/57b696203b40e800e8fdd2ba563896fc.jpg","text":"TemporaryFile(/tmp/multipartBody2588060988521146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319212646,"filename":"image_18032025_00_17_25_4342.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0a08021dfef78d476b06d181b7dac2ab.jpg","text":"TemporaryFile(/tmp/multipartBody1875255230914359787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319212646,"filename":"image_18032025_00_17_33_3327.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6e98b87af7f4a9b807c5d6db15b213da.jpg","text":"TemporaryFile(/tmp/multipartBody5028596648257545786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319212646,"filename":"image_18032025_00_17_46_4244.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345193104","file1":"1345193017","file0":"1345192943","file4":"1345193215","file5":"1345193295","file3":"1345193160"},"map_files_photo_id_array":[{"photo_id":"1345193295","filename":"file5"},{"photo_id":"1345193104","filename":"file2"},{"photo_id":"1345193215","filename":"file4"},{"photo_id":"1345193017","filename":"file1"},{"photo_id":"1345192943","filename":"file0"},{"photo_id":"1345193160","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345193215":["hashtag1","hashtag2"]},{"1345193017":["hashtag1","hashtag2"]},{"1345193104":["hashtag1","hashtag2"]},{"1345193295":["hashtag1","hashtag2"]},{"1345193160":["hashtag1","hashtag2"]},{"1345192943":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345193215, 1345193017, 1345193104, 1345193295, 1345193160, 1345192943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.571105003356934 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:33:32.034536
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_21_3499.jpg', 2), ('/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_18_4288.jpg', 2), ('/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_13_4293.jpg', 2), ('/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_09_4057.jpg', 2), ('/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_05_3351.jpg', 2), ('/home/nano/Desktop/images/18032025/00/16/image_18032025_00_17_02_4010.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_21_3499.jpg', '/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_18_4288.jpg', '/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_13_4293.jpg', '/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_09_4057.jpg', '/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_05_3351.jpg', '/home/nano/Desktop/images/18032025/00/16/image_18032025_00_17_02_4010.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_21_3499.jpg
/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_18_4288.jpg
/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_13_4293.jpg
/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_09_4057.jpg
/home/nano/Desktop/images/18032025/00/17/image_18032025_00_17_05_3351.jpg
/home/nano/Desktop/images/18032025/00/16/image_18032025_00_17_02_4010.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345193785","1345193620","1345193706","1345193738","1345193654","1345193600"],"photo_ids_order":["1345193600","1345193620","1345193654","1345193706","1345193738","1345193785"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/74e760d9ecfe54e0205eff2a35918e15.jpg","text":"TemporaryFile(/tmp/multipartBody2706052070578399615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319272722,"filename":"image_18032025_00_17_02_4010.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ab9e9fc2e1b5c0f20c044a3daf4f0496.jpg","text":"TemporaryFile(/tmp/multipartBody7997949126368988412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319272722,"filename":"image_18032025_00_17_18_4288.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4ba8de9c89c030453b9d892cffc59f69.jpg","text":"TemporaryFile(/tmp/multipartBody2958223171735908619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319272722,"filename":"image_18032025_00_17_09_4057.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f6a14448eaed370d3249fd336ed69b92.jpg","text":"TemporaryFile(/tmp/multipartBody5864064964520167019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319272722,"filename":"image_18032025_00_17_05_3351.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/79b85dd7afb110e0ff1eea5228816903.jpg","text":"TemporaryFile(/tmp/multipartBody2788982839473888462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319272722,"filename":"image_18032025_00_17_13_4293.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f8d6bec53e42f9d854f5301c634dae62.jpg","text":"TemporaryFile(/tmp/multipartBody915167684440180108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319272722,"filename":"image_18032025_00_17_21_3499.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345193654","file1":"1345193620","file0":"1345193600","file4":"1345193738","file5":"1345193785","file3":"1345193706"},"map_files_photo_id_array":[{"photo_id":"1345193785","filename":"file5"},{"photo_id":"1345193654","filename":"file2"},{"photo_id":"1345193738","filename":"file4"},{"photo_id":"1345193620","filename":"file1"},{"photo_id":"1345193600","filename":"file0"},{"photo_id":"1345193706","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345193785":["hashtag1","hashtag2"]},{"1345193620":["hashtag1","hashtag2"]},{"1345193706":["hashtag1","hashtag2"]},{"1345193738":["hashtag1","hashtag2"]},{"1345193654":["hashtag1","hashtag2"]},{"1345193600":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345193785, 1345193620, 1345193706, 1345193738, 1345193654, 1345193600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.355380296707153 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:34:32.214524
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_58_4033.jpg', 2), ('/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_53_4058.jpg', 2), ('/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_49_3983.jpg', 2), ('/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_45_4088.jpg', 2), ('/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_41_4039.jpg', 2), ('/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_37_3980.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_58_4033.jpg', '/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_53_4058.jpg', '/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_49_3983.jpg', '/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_45_4088.jpg', '/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_41_4039.jpg', '/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_37_3980.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_58_4033.jpg
/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_53_4058.jpg
/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_49_3983.jpg
/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_45_4088.jpg
/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_41_4039.jpg
/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_37_3980.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345194712","1345194708","1345194704","1345194697","1345194701","1345194694"],"photo_ids_order":["1345194694","1345194697","1345194701","1345194704","1345194708","1345194712"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3463dd04e77b234f865c1f0e184ac2d7.jpg","text":"TemporaryFile(/tmp/multipartBody1601691440715886416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319332905,"filename":"image_18032025_00_16_37_3980.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cbaf5ffd789b8b36558056f48499574f.jpg","text":"TemporaryFile(/tmp/multipartBody2577298561268756873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319332905,"filename":"image_18032025_00_16_41_4039.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0add06726f8041e6943d099e4e814d50.jpg","text":"TemporaryFile(/tmp/multipartBody6366805105117512088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319332905,"filename":"image_18032025_00_16_45_4088.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e72789d4b5b0747bec908bd36d123d95.jpg","text":"TemporaryFile(/tmp/multipartBody626268401120647957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319332905,"filename":"image_18032025_00_16_53_4058.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c630e4673fa7dd4150771ce398b6e748.jpg","text":"TemporaryFile(/tmp/multipartBody2489430604889416087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319332905,"filename":"image_18032025_00_16_49_3983.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8d4f5d41298bf0586e0c2d4d9507cc0c.jpg","text":"TemporaryFile(/tmp/multipartBody1197868306480344887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319332905,"filename":"image_18032025_00_16_58_4033.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345194701","file1":"1345194697","file0":"1345194694","file4":"1345194708","file5":"1345194712","file3":"1345194704"},"map_files_photo_id_array":[{"photo_id":"1345194712","filename":"file5"},{"photo_id":"1345194701","filename":"file2"},{"photo_id":"1345194708","filename":"file4"},{"photo_id":"1345194697","filename":"file1"},{"photo_id":"1345194694","filename":"file0"},{"photo_id":"1345194704","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345194712":["hashtag1","hashtag2"]},{"1345194708":["hashtag1","hashtag2"]},{"1345194704":["hashtag1","hashtag2"]},{"1345194697":["hashtag1","hashtag2"]},{"1345194701":["hashtag1","hashtag2"]},{"1345194694":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345194712, 1345194708, 1345194704, 1345194697, 1345194701, 1345194694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.97888517379761 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:35:32.395149
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_33_4089.jpg', 2), ('/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_29_4112.jpg', 2), ('/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_25_4122.jpg', 2), ('/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_21_4023.jpg', 2), ('/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_17_4034.jpg', 2), ('/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_13_4167.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_33_4089.jpg', '/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_29_4112.jpg', '/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_25_4122.jpg', '/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_21_4023.jpg', '/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_17_4034.jpg', '/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_13_4167.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_33_4089.jpg
/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_29_4112.jpg
/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_25_4122.jpg
/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_21_4023.jpg
/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_17_4034.jpg
/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_13_4167.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345195695","1345195386","1345195463","1345195334","1345195777","1345195304"],"photo_ids_order":["1345195304","1345195334","1345195386","1345195463","1345195695","1345195777"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/94757c862aefa7897ba3096b6624dc1d.jpg","text":"TemporaryFile(/tmp/multipartBody5899721080855047504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319393006,"filename":"image_18032025_00_16_17_4034.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/63a609cf82b1ca8fdfef512d23e19951.jpg","text":"TemporaryFile(/tmp/multipartBody3000720701361277706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319393006,"filename":"image_18032025_00_16_25_4122.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4511bd6330f9b31e8a6c90c28c419141.jpg","text":"TemporaryFile(/tmp/multipartBody8887774354044311347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319393006,"filename":"image_18032025_00_16_21_4023.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/47a96021af2da01af0bf8a2fbe0e79b5.jpg","text":"TemporaryFile(/tmp/multipartBody5236004358181634549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319393006,"filename":"image_18032025_00_16_29_4112.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c055d45720812c3bc76995627f746bee.jpg","text":"TemporaryFile(/tmp/multipartBody6713887449453068015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319393006,"filename":"image_18032025_00_16_13_4167.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0ea01546588dbce4738783e3eb07c042.jpg","text":"TemporaryFile(/tmp/multipartBody5659762564352573118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319393006,"filename":"image_18032025_00_16_33_4089.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345195386","file1":"1345195334","file0":"1345195304","file4":"1345195695","file5":"1345195777","file3":"1345195463"},"map_files_photo_id_array":[{"photo_id":"1345195777","filename":"file5"},{"photo_id":"1345195386","filename":"file2"},{"photo_id":"1345195695","filename":"file4"},{"photo_id":"1345195334","filename":"file1"},{"photo_id":"1345195304","filename":"file0"},{"photo_id":"1345195463","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345195695":["hashtag1","hashtag2"]},{"1345195386":["hashtag1","hashtag2"]},{"1345195463":["hashtag1","hashtag2"]},{"1345195334":["hashtag1","hashtag2"]},{"1345195777":["hashtag1","hashtag2"]},{"1345195304":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345195695, 1345195386, 1345195463, 1345195334, 1345195777, 1345195304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.49037480354309 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:36:32.573742
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_09_3143.jpg', 2), ('/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_06_4272.jpg', 2), ('/home/nano/Desktop/images/18032025/00/15/image_18032025_00_16_01_4088.jpg', 2), ('/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_57_4009.jpg', 2), ('/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_53_4050.jpg', 2), ('/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_49_4195.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_09_3143.jpg', '/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_06_4272.jpg', '/home/nano/Desktop/images/18032025/00/15/image_18032025_00_16_01_4088.jpg', '/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_57_4009.jpg', '/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_53_4050.jpg', '/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_49_4195.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_09_3143.jpg
/home/nano/Desktop/images/18032025/00/16/image_18032025_00_16_06_4272.jpg
/home/nano/Desktop/images/18032025/00/15/image_18032025_00_16_01_4088.jpg
/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_57_4009.jpg
/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_53_4050.jpg
/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_49_4195.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345196328","1345196480","1345196369","1345196600","1345196749","1345196503"],"photo_ids_order":["1345196328","1345196369","1345196480","1345196503","1345196600","1345196749"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2dfb1b3a41d756ba4aa4d7c417d54b65.jpg","text":"TemporaryFile(/tmp/multipartBody4309039582742980169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319453211,"filename":"image_18032025_00_16_09_3143.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7e425976b8441c4060bb41d8cd2297f9.jpg","text":"TemporaryFile(/tmp/multipartBody6027775480481646471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319453211,"filename":"image_18032025_00_16_01_4088.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9c1b63493489d6bc330561efe9a0d518.jpg","text":"TemporaryFile(/tmp/multipartBody7585770215321946337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319453211,"filename":"image_18032025_00_16_06_4272.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4e29c0f36fae43449308256a90610712.jpg","text":"TemporaryFile(/tmp/multipartBody4039657321692937838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319453211,"filename":"image_18032025_00_15_53_4050.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6b509c77aeb6c62682db3e31238d34fa.jpg","text":"TemporaryFile(/tmp/multipartBody1119411302435257974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319453211,"filename":"image_18032025_00_15_49_4195.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1fb0b9ba7786fca10eee3791e336fd4f.jpg","text":"TemporaryFile(/tmp/multipartBody6903071653404034901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319453211,"filename":"image_18032025_00_15_57_4009.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345196480","file1":"1345196369","file0":"1345196328","file4":"1345196600","file5":"1345196749","file3":"1345196503"},"map_files_photo_id_array":[{"photo_id":"1345196749","filename":"file5"},{"photo_id":"1345196480","filename":"file2"},{"photo_id":"1345196600","filename":"file4"},{"photo_id":"1345196369","filename":"file1"},{"photo_id":"1345196328","filename":"file0"},{"photo_id":"1345196503","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345196328":["hashtag1","hashtag2"]},{"1345196480":["hashtag1","hashtag2"]},{"1345196369":["hashtag1","hashtag2"]},{"1345196600":["hashtag1","hashtag2"]},{"1345196749":["hashtag1","hashtag2"]},{"1345196503":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345196328, 1345196480, 1345196369, 1345196600, 1345196749, 1345196503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.83925104141235 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:37:32.736230
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_45_4173.jpg', 2), ('/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_41_4026.jpg', 2), ('/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_37_3183.jpg', 2), ('/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_34_4099.jpg', 2), ('/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_30_4144.jpg', 2), ('/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_25_4342.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_45_4173.jpg', '/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_41_4026.jpg', '/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_37_3183.jpg', '/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_34_4099.jpg', '/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_30_4144.jpg', '/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_25_4342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_45_4173.jpg
/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_41_4026.jpg
/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_37_3183.jpg
/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_34_4099.jpg
/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_30_4144.jpg
/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_25_4342.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345197146","1345197124","1345197127","1345197061","1345197084","1345197111"],"photo_ids_order":["1345197061","1345197084","1345197111","1345197124","1345197127","1345197146"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8580822f8b23df45756419267bff6341.jpg","text":"TemporaryFile(/tmp/multipartBody372119545449118166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319513395,"filename":"image_18032025_00_15_25_4342.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f3520d4067ebbb0a0574d6ea7071242f.jpg","text":"TemporaryFile(/tmp/multipartBody4727969316547513500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319513395,"filename":"image_18032025_00_15_34_4099.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c11533d14a1a67050bbe4d4965835576.jpg","text":"TemporaryFile(/tmp/multipartBody386678377701945358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319513395,"filename":"image_18032025_00_15_30_4144.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cc2675d687824c8ea2c973d265c5ee6c.jpg","text":"TemporaryFile(/tmp/multipartBody3808495527400390738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319513395,"filename":"image_18032025_00_15_45_4173.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a0b0720b8747a03c0b9acec63e8b7ea0.jpg","text":"TemporaryFile(/tmp/multipartBody7277339211556420274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319513395,"filename":"image_18032025_00_15_41_4026.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7de227bb01e8b99d7d7bc8cc6e6d292e.jpg","text":"TemporaryFile(/tmp/multipartBody952821004289901903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319513395,"filename":"image_18032025_00_15_37_3183.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345197111","file1":"1345197084","file0":"1345197061","file4":"1345197127","file5":"1345197146","file3":"1345197124"},"map_files_photo_id_array":[{"photo_id":"1345197146","filename":"file5"},{"photo_id":"1345197111","filename":"file2"},{"photo_id":"1345197127","filename":"file4"},{"photo_id":"1345197084","filename":"file1"},{"photo_id":"1345197061","filename":"file0"},{"photo_id":"1345197124","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345197146":["hashtag1","hashtag2"]},{"1345197124":["hashtag1","hashtag2"]},{"1345197127":["hashtag1","hashtag2"]},{"1345197061":["hashtag1","hashtag2"]},{"1345197084":["hashtag1","hashtag2"]},{"1345197111":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345197146, 1345197124, 1345197127, 1345197061, 1345197084, 1345197111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.1559202671051 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:38:31.925096
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_21_4211.jpg', 2), ('/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_17_3298.jpg', 2), ('/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_14_4326.jpg', 2), ('/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_09_4126.jpg', 2), ('/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_05_4243.jpg', 2), ('/home/nano/Desktop/images/18032025/00/14/image_18032025_00_15_01_4066.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_21_4211.jpg', '/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_17_3298.jpg', '/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_14_4326.jpg', '/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_09_4126.jpg', '/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_05_4243.jpg', '/home/nano/Desktop/images/18032025/00/14/image_18032025_00_15_01_4066.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_21_4211.jpg
/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_17_3298.jpg
/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_14_4326.jpg
/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_09_4126.jpg
/home/nano/Desktop/images/18032025/00/15/image_18032025_00_15_05_4243.jpg
/home/nano/Desktop/images/18032025/00/14/image_18032025_00_15_01_4066.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345197476","1345197446","1345197556","1345197532","1345197599","1345197501"],"photo_ids_order":["1345197446","1345197476","1345197501","1345197532","1345197556","1345197599"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ee86a78957f59a4cf74cee56477cb232.jpg","text":"TemporaryFile(/tmp/multipartBody8387904143031003272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319572725,"filename":"image_18032025_00_15_17_3298.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c236e5cd8ba95cda2fb88cf6c485b453.jpg","text":"TemporaryFile(/tmp/multipartBody4037997536281462647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319572725,"filename":"image_18032025_00_15_21_4211.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2c668656d8bf7e59448fb87771f02b11.jpg","text":"TemporaryFile(/tmp/multipartBody7670279622968922313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319572725,"filename":"image_18032025_00_15_05_4243.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/eece6fee3cb855efc543d76e44a0235f.jpg","text":"TemporaryFile(/tmp/multipartBody8272221927816943425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319572725,"filename":"image_18032025_00_15_09_4126.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ed33fe764bd69b8d13913008aecf3d35.jpg","text":"TemporaryFile(/tmp/multipartBody414179833214407130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319572725,"filename":"image_18032025_00_15_01_4066.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/11c54d203053acb23907a6aef9fe2886.jpg","text":"TemporaryFile(/tmp/multipartBody7781542666214112711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319572725,"filename":"image_18032025_00_15_14_4326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345197501","file1":"1345197476","file0":"1345197446","file4":"1345197556","file5":"1345197599","file3":"1345197532"},"map_files_photo_id_array":[{"photo_id":"1345197599","filename":"file5"},{"photo_id":"1345197501","filename":"file2"},{"photo_id":"1345197556","filename":"file4"},{"photo_id":"1345197476","filename":"file1"},{"photo_id":"1345197446","filename":"file0"},{"photo_id":"1345197532","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345197476":["hashtag1","hashtag2"]},{"1345197446":["hashtag1","hashtag2"]},{"1345197556":["hashtag1","hashtag2"]},{"1345197532":["hashtag1","hashtag2"]},{"1345197599":["hashtag1","hashtag2"]},{"1345197501":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345197476, 1345197446, 1345197556, 1345197532, 1345197599, 1345197501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.990850925445557 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:39:32.098341
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_57_3171.jpg', 2), ('/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_54_4129.jpg', 2), ('/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_49_4222.jpg', 2), ('/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_45_4152.jpg', 2), ('/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_41_4129.jpg', 2), ('/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_37_4164.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_57_3171.jpg', '/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_54_4129.jpg', '/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_49_4222.jpg', '/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_45_4152.jpg', '/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_41_4129.jpg', '/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_37_4164.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_57_3171.jpg
/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_54_4129.jpg
/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_49_4222.jpg
/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_45_4152.jpg
/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_41_4129.jpg
/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_37_4164.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345198096","1345198081","1345198162","1345198047","1345198236","1345198131"],"photo_ids_order":["1345198047","1345198081","1345198096","1345198131","1345198162","1345198236"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7b5ebc71a03ef56954a73fb5c62d3eaf.jpg","text":"TemporaryFile(/tmp/multipartBody7146895626184755960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319632738,"filename":"image_18032025_00_14_49_4222.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/515f5d2265eaa4656725d4df96b3c0d2.jpg","text":"TemporaryFile(/tmp/multipartBody5047934177062465769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319632738,"filename":"image_18032025_00_14_54_4129.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dcb2644875aca052bda4a38f719e3ef5.jpg","text":"TemporaryFile(/tmp/multipartBody3665242709637978246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319632738,"filename":"image_18032025_00_14_41_4129.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8a2ce963c4d175c9001f1ccadc78c53e.jpg","text":"TemporaryFile(/tmp/multipartBody3572912493269067318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319632738,"filename":"image_18032025_00_14_57_3171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6f05e041c94918bf1443ef00cd7f07dc.jpg","text":"TemporaryFile(/tmp/multipartBody6123002868686568488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319632738,"filename":"image_18032025_00_14_37_4164.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0958f9116860a1a49f0b5c31dbcea575.jpg","text":"TemporaryFile(/tmp/multipartBody1557653580343417778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319632738,"filename":"image_18032025_00_14_45_4152.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345198096","file1":"1345198081","file0":"1345198047","file4":"1345198162","file5":"1345198236","file3":"1345198131"},"map_files_photo_id_array":[{"photo_id":"1345198236","filename":"file5"},{"photo_id":"1345198096","filename":"file2"},{"photo_id":"1345198162","filename":"file4"},{"photo_id":"1345198081","filename":"file1"},{"photo_id":"1345198047","filename":"file0"},{"photo_id":"1345198131","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345198096":["hashtag1","hashtag2"]},{"1345198081":["hashtag1","hashtag2"]},{"1345198162":["hashtag1","hashtag2"]},{"1345198047":["hashtag1","hashtag2"]},{"1345198236":["hashtag1","hashtag2"]},{"1345198131":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345198096, 1345198081, 1345198162, 1345198047, 1345198236, 1345198131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.524596452713013 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:40:32.257247
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_33_3130.jpg', 2), ('/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_30_4183.jpg', 2), ('/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_25_4107.jpg', 2), ('/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_21_4116.jpg', 2), ('/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_17_4148.jpg', 2), ('/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_13_4124.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_33_3130.jpg', '/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_30_4183.jpg', '/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_25_4107.jpg', '/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_21_4116.jpg', '/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_17_4148.jpg', '/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_13_4124.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_33_3130.jpg
/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_30_4183.jpg
/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_25_4107.jpg
/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_21_4116.jpg
/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_17_4148.jpg
/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_13_4124.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345199201","1345199152","1345198846","1345199079","1345198923","1345199194"],"photo_ids_order":["1345198846","1345198923","1345199079","1345199152","1345199194","1345199201"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1f9a6fe62602217d42045c4f9eb411c4.jpg","text":"TemporaryFile(/tmp/multipartBody8998042927153754412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319692925,"filename":"image_18032025_00_14_13_4124.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4209be411437a30884cd79e19d5ce0f3.jpg","text":"TemporaryFile(/tmp/multipartBody5564948936728708203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319692925,"filename":"image_18032025_00_14_21_4116.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5aa9e647e69a3b2cf49607e6bc964854.jpg","text":"TemporaryFile(/tmp/multipartBody7615916461762977901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319692925,"filename":"image_18032025_00_14_33_3130.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/519098b70cddde27276713c902baac52.jpg","text":"TemporaryFile(/tmp/multipartBody5645102713252632688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319692925,"filename":"image_18032025_00_14_25_4107.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/998b5e52c06070e8386bfed20278873a.jpg","text":"TemporaryFile(/tmp/multipartBody4979395650351321836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319692925,"filename":"image_18032025_00_14_30_4183.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b3b66924eead3fb247a4eaa69413add3.jpg","text":"TemporaryFile(/tmp/multipartBody8921412707405703557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319692925,"filename":"image_18032025_00_14_17_4148.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345199079","file1":"1345198923","file0":"1345198846","file4":"1345199194","file5":"1345199201","file3":"1345199152"},"map_files_photo_id_array":[{"photo_id":"1345199201","filename":"file5"},{"photo_id":"1345199079","filename":"file2"},{"photo_id":"1345199194","filename":"file4"},{"photo_id":"1345198923","filename":"file1"},{"photo_id":"1345198846","filename":"file0"},{"photo_id":"1345199152","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345199201":["hashtag1","hashtag2"]},{"1345199152":["hashtag1","hashtag2"]},{"1345198846":["hashtag1","hashtag2"]},{"1345199079":["hashtag1","hashtag2"]},{"1345198923":["hashtag1","hashtag2"]},{"1345199194":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345199201, 1345199152, 1345198846, 1345199079, 1345198923, 1345199194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.46120738983154 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:41:32.433808
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_09_4239.jpg', 2), ('/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_05_3551.jpg', 2), ('/home/nano/Desktop/images/18032025/00/13/image_18032025_00_14_01_4131.jpg', 2), ('/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_57_4139.jpg', 2), ('/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_53_4222.jpg', 2), ('/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_49_3165.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_09_4239.jpg', '/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_05_3551.jpg', '/home/nano/Desktop/images/18032025/00/13/image_18032025_00_14_01_4131.jpg', '/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_57_4139.jpg', '/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_53_4222.jpg', '/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_49_3165.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_09_4239.jpg
/home/nano/Desktop/images/18032025/00/14/image_18032025_00_14_05_3551.jpg
/home/nano/Desktop/images/18032025/00/13/image_18032025_00_14_01_4131.jpg
/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_57_4139.jpg
/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_53_4222.jpg
/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_49_3165.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345199449","1345199413","1345199474","1345199420","1345199408","1345199417"],"photo_ids_order":["1345199408","1345199413","1345199417","1345199420","1345199449","1345199474"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8c55dadb80843c3611199beedc46776a.jpg","text":"TemporaryFile(/tmp/multipartBody1988542982535528887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319753128,"filename":"image_18032025_00_13_53_4222.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5d7271f17c2af8e5602678866111396d.jpg","text":"TemporaryFile(/tmp/multipartBody1764024823284283057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319753128,"filename":"image_18032025_00_14_05_3551.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6c9d55477ffb5fce5387fcc9acbf78a9.jpg","text":"TemporaryFile(/tmp/multipartBody3920432695486751479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319753128,"filename":"image_18032025_00_13_49_3165.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6a4505dac709a344cca3384dd3a3d527.jpg","text":"TemporaryFile(/tmp/multipartBody1769351178102534371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319753128,"filename":"image_18032025_00_13_57_4139.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/252505c6a3c5cf023c76bae9ca89d4a6.jpg","text":"TemporaryFile(/tmp/multipartBody5681786749436350930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319753128,"filename":"image_18032025_00_14_09_4239.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/eb2529a68fc57979f7743f6c1a775fa5.jpg","text":"TemporaryFile(/tmp/multipartBody2916832609364823154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319753128,"filename":"image_18032025_00_14_01_4131.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345199417","file1":"1345199413","file0":"1345199408","file4":"1345199449","file5":"1345199474","file3":"1345199420"},"map_files_photo_id_array":[{"photo_id":"1345199474","filename":"file5"},{"photo_id":"1345199417","filename":"file2"},{"photo_id":"1345199449","filename":"file4"},{"photo_id":"1345199413","filename":"file1"},{"photo_id":"1345199408","filename":"file0"},{"photo_id":"1345199420","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345199449":["hashtag1","hashtag2"]},{"1345199413":["hashtag1","hashtag2"]},{"1345199474":["hashtag1","hashtag2"]},{"1345199420":["hashtag1","hashtag2"]},{"1345199408":["hashtag1","hashtag2"]},{"1345199417":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345199449, 1345199413, 1345199474, 1345199420, 1345199408, 1345199417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.7857346534729 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:42:32.664943
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_46_4240.jpg', 2), ('/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_41_4175.jpg', 2), ('/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_37_4168.jpg', 2), ('/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_33_3268.jpg', 2), ('/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_30_4217.jpg', 2), ('/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_25_4165.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_46_4240.jpg', '/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_41_4175.jpg', '/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_37_4168.jpg', '/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_33_3268.jpg', '/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_30_4217.jpg', '/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_25_4165.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_46_4240.jpg
/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_41_4175.jpg
/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_37_4168.jpg
/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_33_3268.jpg
/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_30_4217.jpg
/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_25_4165.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345199587","1345199581","1345199605","1345199595","1345199601","1345199591"],"photo_ids_order":["1345199581","1345199587","1345199591","1345199595","1345199601","1345199605"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7f1fdb980296d5fd6d815022fac4ac11.jpg","text":"TemporaryFile(/tmp/multipartBody2323092281387366609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319813293,"filename":"image_18032025_00_13_41_4175.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d2a2d0762990570ddc83451a2e31d6ac.jpg","text":"TemporaryFile(/tmp/multipartBody7777239555958574155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319813293,"filename":"image_18032025_00_13_46_4240.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/698f9acb63dda96ae657bf90d1d0c004.jpg","text":"TemporaryFile(/tmp/multipartBody5172308637297023290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319813293,"filename":"image_18032025_00_13_25_4165.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4780ce65ccd7dab59c843adb2d0d3487.jpg","text":"TemporaryFile(/tmp/multipartBody6427906291001518275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319813293,"filename":"image_18032025_00_13_33_3268.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b182fce63c7d4ba35e516d73d2064f1f.jpg","text":"TemporaryFile(/tmp/multipartBody5602895885042823121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319813293,"filename":"image_18032025_00_13_30_4217.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/798c72f41aee5da267b06911371f3966.jpg","text":"TemporaryFile(/tmp/multipartBody6142363723287015858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319813293,"filename":"image_18032025_00_13_37_4168.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345199591","file1":"1345199587","file0":"1345199581","file4":"1345199601","file5":"1345199605","file3":"1345199595"},"map_files_photo_id_array":[{"photo_id":"1345199605","filename":"file5"},{"photo_id":"1345199591","filename":"file2"},{"photo_id":"1345199601","filename":"file4"},{"photo_id":"1345199587","filename":"file1"},{"photo_id":"1345199581","filename":"file0"},{"photo_id":"1345199595","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345199587":["hashtag1","hashtag2"]},{"1345199581":["hashtag1","hashtag2"]},{"1345199605":["hashtag1","hashtag2"]},{"1345199595":["hashtag1","hashtag2"]},{"1345199601":["hashtag1","hashtag2"]},{"1345199591":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345199587, 1345199581, 1345199605, 1345199595, 1345199601, 1345199591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2866907119751 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:43:31.895760
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_21_4115.jpg', 2), ('/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_17_4080.jpg', 2), ('/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_13_4006.jpg', 2), ('/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_09_4067.jpg', 2), ('/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_05_3515.jpg', 2), ('/home/nano/Desktop/images/18032025/00/12/image_18032025_00_13_02_4014.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_21_4115.jpg', '/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_17_4080.jpg', '/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_13_4006.jpg', '/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_09_4067.jpg', '/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_05_3515.jpg', '/home/nano/Desktop/images/18032025/00/12/image_18032025_00_13_02_4014.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_21_4115.jpg
/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_17_4080.jpg
/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_13_4006.jpg
/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_09_4067.jpg
/home/nano/Desktop/images/18032025/00/13/image_18032025_00_13_05_3515.jpg
/home/nano/Desktop/images/18032025/00/12/image_18032025_00_13_02_4014.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345199751","1345199879","1345199817","1345199786","1345199849","1345199723"],"photo_ids_order":["1345199723","1345199751","1345199786","1345199817","1345199849","1345199879"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f02f5788647f8559e642ccf7bfad4de9.jpg","text":"TemporaryFile(/tmp/multipartBody2650001295775411780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319872538,"filename":"image_18032025_00_13_17_4080.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/355bb613b4b628ad6b0f58dcc1262d7d.jpg","text":"TemporaryFile(/tmp/multipartBody7688581483513140620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319872538,"filename":"image_18032025_00_13_02_4014.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9aad92f8ba9c8e604111a264854c47a7.jpg","text":"TemporaryFile(/tmp/multipartBody8962903533859656762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319872538,"filename":"image_18032025_00_13_09_4067.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0be44aa00b7ab802e4d16a43ba46e50c.jpg","text":"TemporaryFile(/tmp/multipartBody5485232432913546555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319872538,"filename":"image_18032025_00_13_13_4006.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fbb5f4f1b629cd9f5f4bb6b4466cad4d.jpg","text":"TemporaryFile(/tmp/multipartBody1800756137041301858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319872538,"filename":"image_18032025_00_13_05_3515.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7e9fecb05fb71494adfd80304608f67e.jpg","text":"TemporaryFile(/tmp/multipartBody8413294984687676108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319872538,"filename":"image_18032025_00_13_21_4115.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345199786","file1":"1345199751","file0":"1345199723","file4":"1345199849","file5":"1345199879","file3":"1345199817"},"map_files_photo_id_array":[{"photo_id":"1345199879","filename":"file5"},{"photo_id":"1345199786","filename":"file2"},{"photo_id":"1345199849","filename":"file4"},{"photo_id":"1345199751","filename":"file1"},{"photo_id":"1345199723","filename":"file0"},{"photo_id":"1345199817","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345199751":["hashtag1","hashtag2"]},{"1345199879":["hashtag1","hashtag2"]},{"1345199817":["hashtag1","hashtag2"]},{"1345199786":["hashtag1","hashtag2"]},{"1345199849":["hashtag1","hashtag2"]},{"1345199723":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345199751, 1345199879, 1345199817, 1345199786, 1345199849, 1345199723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.486557483673096 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:44:32.060851
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_58_4004.jpg', 2), ('/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_54_4102.jpg', 2), ('/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_49_4050.jpg', 2), ('/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_45_4166.jpg', 2), ('/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_41_4078.jpg', 2), ('/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_37_4147.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_58_4004.jpg', '/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_54_4102.jpg', '/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_49_4050.jpg', '/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_45_4166.jpg', '/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_41_4078.jpg', '/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_37_4147.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_58_4004.jpg
/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_54_4102.jpg
/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_49_4050.jpg
/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_45_4166.jpg
/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_41_4078.jpg
/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_37_4147.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345200189","1345200276","1345200269","1345200254","1345200158","1345200223"],"photo_ids_order":["1345200158","1345200189","1345200223","1345200254","1345200269","1345200276"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b5855c95071c2fc98e3c19de672eb484.jpg","text":"TemporaryFile(/tmp/multipartBody7351336635596207254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319932673,"filename":"image_18032025_00_12_54_4102.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/72049f0e0ccc84bd138c5727602d746d.jpg","text":"TemporaryFile(/tmp/multipartBody4124037578229748055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319932673,"filename":"image_18032025_00_12_37_4147.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/44e40ba6f275b1f9971f2c6a2b2e32b8.jpg","text":"TemporaryFile(/tmp/multipartBody7913418654562756554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319932673,"filename":"image_18032025_00_12_41_4078.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a2ae8ce1f3801078bdb9c0f4e683c06e.jpg","text":"TemporaryFile(/tmp/multipartBody8272127912594156625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319932673,"filename":"image_18032025_00_12_45_4166.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/23cfcaaefefd0f0971b3213b0621214a.jpg","text":"TemporaryFile(/tmp/multipartBody6751426342480191475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319932673,"filename":"image_18032025_00_12_58_4004.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f3b8abc6c22d147b932476802dc9b737.jpg","text":"TemporaryFile(/tmp/multipartBody7954775034190590638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319932673,"filename":"image_18032025_00_12_49_4050.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345200223","file1":"1345200189","file0":"1345200158","file4":"1345200269","file5":"1345200276","file3":"1345200254"},"map_files_photo_id_array":[{"photo_id":"1345200276","filename":"file5"},{"photo_id":"1345200223","filename":"file2"},{"photo_id":"1345200269","filename":"file4"},{"photo_id":"1345200189","filename":"file1"},{"photo_id":"1345200158","filename":"file0"},{"photo_id":"1345200254","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345200189":["hashtag1","hashtag2"]},{"1345200276":["hashtag1","hashtag2"]},{"1345200269":["hashtag1","hashtag2"]},{"1345200254":["hashtag1","hashtag2"]},{"1345200158":["hashtag1","hashtag2"]},{"1345200223":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345200189, 1345200276, 1345200269, 1345200254, 1345200158, 1345200223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.63463759422302 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:45:32.226829
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_33_4003.jpg', 2), ('/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_29_4090.jpg', 2), ('/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_25_4053.jpg', 2), ('/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_21_3998.jpg', 2), ('/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_17_3990.jpg', 2), ('/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_13_3159.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_33_4003.jpg', '/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_29_4090.jpg', '/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_25_4053.jpg', '/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_21_3998.jpg', '/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_17_3990.jpg', '/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_13_3159.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_33_4003.jpg
/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_29_4090.jpg
/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_25_4053.jpg
/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_21_3998.jpg
/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_17_3990.jpg
/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_13_3159.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345200381","1345200342","1345200330","1345200338","1345200352","1345200334"],"photo_ids_order":["1345200330","1345200334","1345200338","1345200342","1345200352","1345200381"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1c0f87458c4dc2d79812e038f8e5f3d1.jpg","text":"TemporaryFile(/tmp/multipartBody7081490646253022517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319992892,"filename":"image_18032025_00_12_13_3159.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b69f666b88be8ed63048b845fd612e74.jpg","text":"TemporaryFile(/tmp/multipartBody8482877083808581001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319992892,"filename":"image_18032025_00_12_21_3998.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b3194dd5669148d8714517e13a824fbb.jpg","text":"TemporaryFile(/tmp/multipartBody3195381445898616720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319992892,"filename":"image_18032025_00_12_33_4003.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/675e5b517407f2e456e24ff6220b880c.jpg","text":"TemporaryFile(/tmp/multipartBody1873442100065936357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319992892,"filename":"image_18032025_00_12_25_4053.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/99c338ead0fca6d1d4982550daf7b746.jpg","text":"TemporaryFile(/tmp/multipartBody6846957687118816995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319992892,"filename":"image_18032025_00_12_17_3990.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e585ca1457d6d125c5647b7ab4aa7c69.jpg","text":"TemporaryFile(/tmp/multipartBody3097385790186078481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742319992892,"filename":"image_18032025_00_12_29_4090.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345200338","file1":"1345200334","file0":"1345200330","file4":"1345200352","file5":"1345200381","file3":"1345200342"},"map_files_photo_id_array":[{"photo_id":"1345200381","filename":"file5"},{"photo_id":"1345200338","filename":"file2"},{"photo_id":"1345200352","filename":"file4"},{"photo_id":"1345200334","filename":"file1"},{"photo_id":"1345200330","filename":"file0"},{"photo_id":"1345200342","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345200381":["hashtag1","hashtag2"]},{"1345200342":["hashtag1","hashtag2"]},{"1345200330":["hashtag1","hashtag2"]},{"1345200338":["hashtag1","hashtag2"]},{"1345200352":["hashtag1","hashtag2"]},{"1345200334":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345200381, 1345200342, 1345200330, 1345200338, 1345200352, 1345200334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.881748914718628 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:46:32.408180
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_10_4145.jpg', 2), ('/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_06_4428.jpg', 2), ('/home/nano/Desktop/images/18032025/00/11/image_18032025_00_12_01_4124.jpg', 2), ('/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_57_4256.jpg', 2), ('/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_53_3301.jpg', 2), ('/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_49_4262.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_10_4145.jpg', '/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_06_4428.jpg', '/home/nano/Desktop/images/18032025/00/11/image_18032025_00_12_01_4124.jpg', '/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_57_4256.jpg', '/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_53_3301.jpg', '/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_49_4262.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_10_4145.jpg
/home/nano/Desktop/images/18032025/00/12/image_18032025_00_12_06_4428.jpg
/home/nano/Desktop/images/18032025/00/11/image_18032025_00_12_01_4124.jpg
/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_57_4256.jpg
/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_53_3301.jpg
/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_49_4262.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345200474","1345200491","1345200494","1345200499","1345200484","1345200478"],"photo_ids_order":["1345200474","1345200478","1345200484","1345200491","1345200494","1345200499"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0a387db5198195a51a1f70aae5b4e486.jpg","text":"TemporaryFile(/tmp/multipartBody6789968442540754327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320053092,"filename":"image_18032025_00_12_10_4145.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9dff759010e5ec5f44dead2dedacb8bc.jpg","text":"TemporaryFile(/tmp/multipartBody3397121981460058646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320053092,"filename":"image_18032025_00_11_57_4256.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/308bcee1c56309398764f0d20bc472c2.jpg","text":"TemporaryFile(/tmp/multipartBody27067090503591123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320053092,"filename":"image_18032025_00_11_53_3301.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fcd42b19d8e890213986a51b0f828d02.jpg","text":"TemporaryFile(/tmp/multipartBody4351492793889553926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320053092,"filename":"image_18032025_00_11_49_4262.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8ee8ff8e356e25567d60628318b36011.jpg","text":"TemporaryFile(/tmp/multipartBody8203437844836761238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320053092,"filename":"image_18032025_00_12_01_4124.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/24b7e520211c90bd3e866853dde06d0e.jpg","text":"TemporaryFile(/tmp/multipartBody6700744299521378476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320053092,"filename":"image_18032025_00_12_06_4428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345200484","file1":"1345200478","file0":"1345200474","file4":"1345200494","file5":"1345200499","file3":"1345200491"},"map_files_photo_id_array":[{"photo_id":"1345200499","filename":"file5"},{"photo_id":"1345200484","filename":"file2"},{"photo_id":"1345200494","filename":"file4"},{"photo_id":"1345200478","filename":"file1"},{"photo_id":"1345200474","filename":"file0"},{"photo_id":"1345200491","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345200474":["hashtag1","hashtag2"]},{"1345200491":["hashtag1","hashtag2"]},{"1345200494":["hashtag1","hashtag2"]},{"1345200499":["hashtag1","hashtag2"]},{"1345200484":["hashtag1","hashtag2"]},{"1345200478":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345200474, 1345200491, 1345200494, 1345200499, 1345200484, 1345200478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.553337812423706 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:47:32.572527
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_45_4176.jpg', 2), ('/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_41_4272.jpg', 2), ('/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_37_3359.jpg', 2), ('/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_33_4359.jpg', 2), ('/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_29_3392.jpg', 2), ('/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_26_4284.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_45_4176.jpg', '/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_41_4272.jpg', '/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_37_3359.jpg', '/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_33_4359.jpg', '/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_29_3392.jpg', '/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_26_4284.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_45_4176.jpg
/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_41_4272.jpg
/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_37_3359.jpg
/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_33_4359.jpg
/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_29_3392.jpg
/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_26_4284.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345200517","1345200540","1345200522","1345200531","1345200536","1345200527"],"photo_ids_order":["1345200517","1345200522","1345200527","1345200531","1345200536","1345200540"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7646ffd01c760748212367200ea37828.jpg","text":"TemporaryFile(/tmp/multipartBody2361347685570465182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320114528,"filename":"image_18032025_00_11_45_4176.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/25387e45b88e873dae54ab3f51a4c1a8.jpg","text":"TemporaryFile(/tmp/multipartBody7147792928901675053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320114528,"filename":"image_18032025_00_11_26_4284.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bc30e9191967d1121b0ce5b8d8e85901.jpg","text":"TemporaryFile(/tmp/multipartBody3069911321450294820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320114528,"filename":"image_18032025_00_11_41_4272.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ee6d82fed4ae565ba5b49f0f22c98894.jpg","text":"TemporaryFile(/tmp/multipartBody6810306525470663035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320114528,"filename":"image_18032025_00_11_33_4359.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/554b76738393338d27b1c2525cb8d54d.jpg","text":"TemporaryFile(/tmp/multipartBody6307046601080995604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320114528,"filename":"image_18032025_00_11_29_3392.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/85da97843eae3c866651d9f496f2e68b.jpg","text":"TemporaryFile(/tmp/multipartBody7347114186521991199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320114528,"filename":"image_18032025_00_11_37_3359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345200527","file1":"1345200522","file0":"1345200517","file4":"1345200536","file5":"1345200540","file3":"1345200531"},"map_files_photo_id_array":[{"photo_id":"1345200540","filename":"file5"},{"photo_id":"1345200527","filename":"file2"},{"photo_id":"1345200536","filename":"file4"},{"photo_id":"1345200522","filename":"file1"},{"photo_id":"1345200517","filename":"file0"},{"photo_id":"1345200531","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345200517":["hashtag1","hashtag2"]},{"1345200540":["hashtag1","hashtag2"]},{"1345200522":["hashtag1","hashtag2"]},{"1345200531":["hashtag1","hashtag2"]},{"1345200536":["hashtag1","hashtag2"]},{"1345200527":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345200517, 1345200540, 1345200522, 1345200531, 1345200536, 1345200527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.93521690368652 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:48:32.748403
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_21_4263.jpg', 2), ('/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_17_4284.jpg', 2), ('/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_13_3150.jpg', 2), ('/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_10_4081.jpg', 2), ('/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_06_4481.jpg', 2), ('/home/nano/Desktop/images/18032025/00/10/image_18032025_00_11_01_3874.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_21_4263.jpg', '/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_17_4284.jpg', '/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_13_3150.jpg', '/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_10_4081.jpg', '/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_06_4481.jpg', '/home/nano/Desktop/images/18032025/00/10/image_18032025_00_11_01_3874.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_21_4263.jpg
/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_17_4284.jpg
/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_13_3150.jpg
/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_10_4081.jpg
/home/nano/Desktop/images/18032025/00/11/image_18032025_00_11_06_4481.jpg
/home/nano/Desktop/images/18032025/00/10/image_18032025_00_11_01_3874.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345200567","1345200578","1345200563","1345200574","1345200583","1345200556"],"photo_ids_order":["1345200556","1345200563","1345200567","1345200574","1345200578","1345200583"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c5548f82559ad735ebe4ff7d66692cb4.jpg","text":"TemporaryFile(/tmp/multipartBody4041042097072898873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320173416,"filename":"image_18032025_00_11_13_3150.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ccba67b770e49d55a83de28df99c4a3f.jpg","text":"TemporaryFile(/tmp/multipartBody1011015015150113170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320173416,"filename":"image_18032025_00_11_06_4481.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/43191837aa77ae6097bf9be8063b89da.jpg","text":"TemporaryFile(/tmp/multipartBody8933990518576074279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320173416,"filename":"image_18032025_00_11_17_4284.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3ae35a8b09c3b595c77bbbd3a9da5a52.jpg","text":"TemporaryFile(/tmp/multipartBody4757606635434031614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320173416,"filename":"image_18032025_00_11_10_4081.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3b540253ada027a6012c16d60e89a7e0.jpg","text":"TemporaryFile(/tmp/multipartBody7125599481890357390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320173416,"filename":"image_18032025_00_11_01_3874.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/64cb3ef44fad795ae5b9b3c98c877508.jpg","text":"TemporaryFile(/tmp/multipartBody7324442452489646518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320173416,"filename":"image_18032025_00_11_21_4263.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345200567","file1":"1345200563","file0":"1345200556","file4":"1345200578","file5":"1345200583","file3":"1345200574"},"map_files_photo_id_array":[{"photo_id":"1345200583","filename":"file5"},{"photo_id":"1345200567","filename":"file2"},{"photo_id":"1345200578","filename":"file4"},{"photo_id":"1345200563","filename":"file1"},{"photo_id":"1345200556","filename":"file0"},{"photo_id":"1345200574","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345200567":["hashtag1","hashtag2"]},{"1345200578":["hashtag1","hashtag2"]},{"1345200563":["hashtag1","hashtag2"]},{"1345200574":["hashtag1","hashtag2"]},{"1345200583":["hashtag1","hashtag2"]},{"1345200556":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345200567, 1345200578, 1345200563, 1345200574, 1345200583, 1345200556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.143195629119873 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:49:31.898469
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_57_4048.jpg', 2), ('/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_53_3978.jpg', 2), ('/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_49_3973.jpg', 2), ('/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_45_3970.jpg', 2), ('/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_41_4162.jpg', 2), ('/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_37_3951.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_57_4048.jpg', '/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_53_3978.jpg', '/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_49_3973.jpg', '/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_45_3970.jpg', '/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_41_4162.jpg', '/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_37_3951.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_57_4048.jpg
/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_53_3978.jpg
/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_49_3973.jpg
/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_45_3970.jpg
/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_41_4162.jpg
/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_37_3951.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345200820","1345200901","1345200813","1345200807","1345200935","1345200865"],"photo_ids_order":["1345200807","1345200813","1345200820","1345200865","1345200901","1345200935"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d7355f617f39c3c24540f0bda4e4892c.jpg","text":"TemporaryFile(/tmp/multipartBody4210564921906268309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320232536,"filename":"image_18032025_00_10_49_3973.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b8856df51088a3738a9af460fd0c0c86.jpg","text":"TemporaryFile(/tmp/multipartBody5912843115590470564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320232536,"filename":"image_18032025_00_10_41_4162.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1889da2364d5216b2b3e8d8fc948c63b.jpg","text":"TemporaryFile(/tmp/multipartBody5352929488827594408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320232536,"filename":"image_18032025_00_10_53_3978.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/58718c40b81ea0e6f010e45f1c26b7f8.jpg","text":"TemporaryFile(/tmp/multipartBody2982536229689570524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320232536,"filename":"image_18032025_00_10_57_4048.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e37af3a98660f757468f07ef526f9622.jpg","text":"TemporaryFile(/tmp/multipartBody3955831055059264554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320232536,"filename":"image_18032025_00_10_37_3951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7c5e8aa3a8bad4ae5da622508ef2eae9.jpg","text":"TemporaryFile(/tmp/multipartBody2764395862704792559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320232536,"filename":"image_18032025_00_10_45_3970.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345200820","file1":"1345200813","file0":"1345200807","file4":"1345200901","file5":"1345200935","file3":"1345200865"},"map_files_photo_id_array":[{"photo_id":"1345200935","filename":"file5"},{"photo_id":"1345200820","filename":"file2"},{"photo_id":"1345200901","filename":"file4"},{"photo_id":"1345200813","filename":"file1"},{"photo_id":"1345200807","filename":"file0"},{"photo_id":"1345200865","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345200820":["hashtag1","hashtag2"]},{"1345200901":["hashtag1","hashtag2"]},{"1345200813":["hashtag1","hashtag2"]},{"1345200807":["hashtag1","hashtag2"]},{"1345200935":["hashtag1","hashtag2"]},{"1345200865":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345200820, 1345200901, 1345200813, 1345200807, 1345200935, 1345200865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.729239463806152 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:50:32.099793
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_33_4160.jpg', 2), ('/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_29_4168.jpg', 2), ('/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_25_3956.jpg', 2), ('/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_21_3962.jpg', 2), ('/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_17_3181.jpg', 2), ('/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_14_4216.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_33_4160.jpg', '/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_29_4168.jpg', '/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_25_3956.jpg', '/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_21_3962.jpg', '/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_17_3181.jpg', '/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_14_4216.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_33_4160.jpg
/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_29_4168.jpg
/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_25_3956.jpg
/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_21_3962.jpg
/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_17_3181.jpg
/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_14_4216.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345201125","1345201116","1345201121","1345201060","1345201129","1345201098"],"photo_ids_order":["1345201060","1345201098","1345201116","1345201121","1345201125","1345201129"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8635b12386946466b459ee67ed9fcba8.jpg","text":"TemporaryFile(/tmp/multipartBody6480764661204848764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320292733,"filename":"image_18032025_00_10_17_3181.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dc81babaee356674cb7b0f1b5b1cc6e7.jpg","text":"TemporaryFile(/tmp/multipartBody1397203829878800099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320292733,"filename":"image_18032025_00_10_25_3956.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e3a4f7d7c1a89720156713881d1a6936.jpg","text":"TemporaryFile(/tmp/multipartBody5059343767215912929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320292733,"filename":"image_18032025_00_10_21_3962.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/84685b61695f8d64eea73928ee5c0453.jpg","text":"TemporaryFile(/tmp/multipartBody7808814785907273997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320292733,"filename":"image_18032025_00_10_33_4160.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a1a6abd0c373ebb1837c29a4bb82973a.jpg","text":"TemporaryFile(/tmp/multipartBody6058423415392770650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320292733,"filename":"image_18032025_00_10_14_4216.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e336706bc078660e3e94af804854eed1.jpg","text":"TemporaryFile(/tmp/multipartBody1698866571961089637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320292733,"filename":"image_18032025_00_10_29_4168.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345201116","file1":"1345201098","file0":"1345201060","file4":"1345201125","file5":"1345201129","file3":"1345201121"},"map_files_photo_id_array":[{"photo_id":"1345201129","filename":"file5"},{"photo_id":"1345201116","filename":"file2"},{"photo_id":"1345201125","filename":"file4"},{"photo_id":"1345201098","filename":"file1"},{"photo_id":"1345201060","filename":"file0"},{"photo_id":"1345201121","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345201125":["hashtag1","hashtag2"]},{"1345201116":["hashtag1","hashtag2"]},{"1345201121":["hashtag1","hashtag2"]},{"1345201060":["hashtag1","hashtag2"]},{"1345201129":["hashtag1","hashtag2"]},{"1345201098":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345201125, 1345201116, 1345201121, 1345201060, 1345201129, 1345201098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.97084140777588 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:51:32.241901
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_09_4189.jpg', 2), ('/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_05_3785.jpg', 2), ('/home/nano/Desktop/images/18032025/00/09/image_18032025_00_10_02_4114.jpg', 2), ('/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_57_4153.jpg', 2), ('/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_53_4163.jpg', 2), ('/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_49_4123.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_09_4189.jpg', '/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_05_3785.jpg', '/home/nano/Desktop/images/18032025/00/09/image_18032025_00_10_02_4114.jpg', '/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_57_4153.jpg', '/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_53_4163.jpg', '/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_49_4123.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_09_4189.jpg
/home/nano/Desktop/images/18032025/00/10/image_18032025_00_10_05_3785.jpg
/home/nano/Desktop/images/18032025/00/09/image_18032025_00_10_02_4114.jpg
/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_57_4153.jpg
/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_53_4163.jpg
/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_49_4123.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345201167","1345201148","1345201163","1345201159","1345201153","1345201155"],"photo_ids_order":["1345201148","1345201153","1345201155","1345201159","1345201163","1345201167"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9fad7ff7435cbc508fd81b42244b6688.jpg","text":"TemporaryFile(/tmp/multipartBody1808088731323537052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320352891,"filename":"image_18032025_00_09_49_4123.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8b4edf149f6af1c912a2641afd95de6c.jpg","text":"TemporaryFile(/tmp/multipartBody6606540281999021399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320352891,"filename":"image_18032025_00_10_09_4189.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/40bfaea6df0ed84f02d385f79571dad0.jpg","text":"TemporaryFile(/tmp/multipartBody2941712313758027371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320352891,"filename":"image_18032025_00_09_53_4163.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d4dd1c0da6fdc0f63ddcd4e21321434c.jpg","text":"TemporaryFile(/tmp/multipartBody1859195495026827623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320352891,"filename":"image_18032025_00_09_57_4153.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f26f81406dc3a6e668597e90d11c94d9.jpg","text":"TemporaryFile(/tmp/multipartBody634328617471412342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320352891,"filename":"image_18032025_00_10_05_3785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/380d9b517724f0939427e0271a0a2f02.jpg","text":"TemporaryFile(/tmp/multipartBody2037558025745383203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320352891,"filename":"image_18032025_00_10_02_4114.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345201155","file1":"1345201153","file0":"1345201148","file4":"1345201163","file5":"1345201167","file3":"1345201159"},"map_files_photo_id_array":[{"photo_id":"1345201167","filename":"file5"},{"photo_id":"1345201155","filename":"file2"},{"photo_id":"1345201163","filename":"file4"},{"photo_id":"1345201153","filename":"file1"},{"photo_id":"1345201148","filename":"file0"},{"photo_id":"1345201159","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345201167":["hashtag1","hashtag2"]},{"1345201148":["hashtag1","hashtag2"]},{"1345201163":["hashtag1","hashtag2"]},{"1345201159":["hashtag1","hashtag2"]},{"1345201153":["hashtag1","hashtag2"]},{"1345201155":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345201167, 1345201148, 1345201163, 1345201159, 1345201153, 1345201155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.22243332862854 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:52:32.387961
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_45_3235.jpg', 2), ('/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_42_4237.jpg', 2), ('/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_37_4516.jpg', 2), ('/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_33_3316.jpg', 2), ('/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_30_4411.jpg', 2), ('/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_25_4336.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_45_3235.jpg', '/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_42_4237.jpg', '/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_37_4516.jpg', '/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_33_3316.jpg', '/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_30_4411.jpg', '/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_25_4336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_45_3235.jpg
/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_42_4237.jpg
/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_37_4516.jpg
/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_33_3316.jpg
/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_30_4411.jpg
/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_25_4336.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345201185","1345201199","1345201189","1345201208","1345201204","1345201194"],"photo_ids_order":["1345201185","1345201189","1345201194","1345201199","1345201204","1345201208"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3fd5a6a593acafb53426cc5e6e842e39.jpg","text":"TemporaryFile(/tmp/multipartBody8406189634548564933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320413051,"filename":"image_18032025_00_09_45_3235.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cae70441e04577082052f08f39aa93b7.jpg","text":"TemporaryFile(/tmp/multipartBody2195388790421934076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320413051,"filename":"image_18032025_00_09_33_3316.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dde9eb346823253131858cd0d1f73539.jpg","text":"TemporaryFile(/tmp/multipartBody5273851453954325101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320413051,"filename":"image_18032025_00_09_42_4237.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e3cef8c843011b3a700b8e6218389471.jpg","text":"TemporaryFile(/tmp/multipartBody7372928076235167233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320413051,"filename":"image_18032025_00_09_25_4336.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4a2360df8c58dc75251177a9eb12967f.jpg","text":"TemporaryFile(/tmp/multipartBody2692422669501860526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320413051,"filename":"image_18032025_00_09_30_4411.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5732426a68197bfde24f0c1546cff9f5.jpg","text":"TemporaryFile(/tmp/multipartBody888724393134605807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320413051,"filename":"image_18032025_00_09_37_4516.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345201194","file1":"1345201189","file0":"1345201185","file4":"1345201204","file5":"1345201208","file3":"1345201199"},"map_files_photo_id_array":[{"photo_id":"1345201208","filename":"file5"},{"photo_id":"1345201194","filename":"file2"},{"photo_id":"1345201204","filename":"file4"},{"photo_id":"1345201189","filename":"file1"},{"photo_id":"1345201185","filename":"file0"},{"photo_id":"1345201199","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345201185":["hashtag1","hashtag2"]},{"1345201199":["hashtag1","hashtag2"]},{"1345201189":["hashtag1","hashtag2"]},{"1345201208":["hashtag1","hashtag2"]},{"1345201204":["hashtag1","hashtag2"]},{"1345201194":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345201185, 1345201199, 1345201189, 1345201208, 1345201204, 1345201194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.21591401100159 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:53:32.547489
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_21_3284.jpg', 2), ('/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_18_4326.jpg', 2), ('/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_13_4153.jpg', 2), ('/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_09_4086.jpg', 2), ('/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_05_3425.jpg', 2), ('/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_02_4062.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_21_3284.jpg', '/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_18_4326.jpg', '/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_13_4153.jpg', '/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_09_4086.jpg', '/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_05_3425.jpg', '/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_02_4062.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_21_3284.jpg
/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_18_4326.jpg
/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_13_4153.jpg
/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_09_4086.jpg
/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_05_3425.jpg
/home/nano/Desktop/images/18032025/00/09/image_18032025_00_09_02_4062.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345201242","1345201248","1345201229","1345201252","1345201234","1345201237"],"photo_ids_order":["1345201229","1345201234","1345201237","1345201242","1345201248","1345201252"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/09052fe9f54632cedd3f5b51986c3dd2.jpg","text":"TemporaryFile(/tmp/multipartBody948385909147646358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320473199,"filename":"image_18032025_00_09_09_4086.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4d1c638cfea5284229bed78d5ed718d8.jpg","text":"TemporaryFile(/tmp/multipartBody4363013472902082602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320473199,"filename":"image_18032025_00_09_05_3425.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7d79fd5f08f2ef451391b4083dd13e6e.jpg","text":"TemporaryFile(/tmp/multipartBody7255573461656329357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320473199,"filename":"image_18032025_00_09_21_3284.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8b8a2725b8e9e042fd36291e42403ca8.jpg","text":"TemporaryFile(/tmp/multipartBody179238319165970519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320473199,"filename":"image_18032025_00_09_02_4062.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/77730903a771bf6da64de81867fc57ee.jpg","text":"TemporaryFile(/tmp/multipartBody5352512928686624993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320473199,"filename":"image_18032025_00_09_18_4326.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/094cb7e017d5d9d1a3761b36d2baca5b.jpg","text":"TemporaryFile(/tmp/multipartBody6239370462609913532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320473199,"filename":"image_18032025_00_09_13_4153.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345201237","file1":"1345201234","file0":"1345201229","file4":"1345201248","file5":"1345201252","file3":"1345201242"},"map_files_photo_id_array":[{"photo_id":"1345201252","filename":"file5"},{"photo_id":"1345201237","filename":"file2"},{"photo_id":"1345201248","filename":"file4"},{"photo_id":"1345201234","filename":"file1"},{"photo_id":"1345201229","filename":"file0"},{"photo_id":"1345201242","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345201242":["hashtag1","hashtag2"]},{"1345201248":["hashtag1","hashtag2"]},{"1345201229":["hashtag1","hashtag2"]},{"1345201252":["hashtag1","hashtag2"]},{"1345201234":["hashtag1","hashtag2"]},{"1345201237":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345201242, 1345201248, 1345201229, 1345201252, 1345201234, 1345201237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.63086676597595 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:54:32.727109
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_58_4114.jpg', 2), ('/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_53_4087.jpg', 2), ('/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_49_4143.jpg', 2), ('/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_45_4105.jpg', 2), ('/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_41_4136.jpg', 2), ('/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_37_4152.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_58_4114.jpg', '/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_53_4087.jpg', '/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_49_4143.jpg', '/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_45_4105.jpg', '/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_41_4136.jpg', '/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_37_4152.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_58_4114.jpg
/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_53_4087.jpg
/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_49_4143.jpg
/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_45_4105.jpg
/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_41_4136.jpg
/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_37_4152.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345201284","1345201280","1345201288","1345201270","1345201293","1345201275"],"photo_ids_order":["1345201270","1345201275","1345201280","1345201284","1345201288","1345201293"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f7d91d0967f2f7b4d05a9f96ec3ed1e9.jpg","text":"TemporaryFile(/tmp/multipartBody7705646769571729763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320533361,"filename":"image_18032025_00_08_45_4105.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d3cf3af888b211b3b7bf19cb6c7fcd22.jpg","text":"TemporaryFile(/tmp/multipartBody8778452939767788686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320533361,"filename":"image_18032025_00_08_49_4143.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e0f21e7fcc1638e65df145c89327aa99.jpg","text":"TemporaryFile(/tmp/multipartBody3822450850639435460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320533361,"filename":"image_18032025_00_08_41_4136.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/13b7ba4f3b7d6d76871bd4771cb4df0e.jpg","text":"TemporaryFile(/tmp/multipartBody2890086292529600997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320533361,"filename":"image_18032025_00_08_58_4114.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cca7969199edfac3a9430f647ebe2dd9.jpg","text":"TemporaryFile(/tmp/multipartBody2366951499884320733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320533361,"filename":"image_18032025_00_08_37_4152.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/eff5718a30dcbaf3dc3a377f8071bf85.jpg","text":"TemporaryFile(/tmp/multipartBody2829187177141006748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320533361,"filename":"image_18032025_00_08_53_4087.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345201280","file1":"1345201275","file0":"1345201270","file4":"1345201288","file5":"1345201293","file3":"1345201284"},"map_files_photo_id_array":[{"photo_id":"1345201293","filename":"file5"},{"photo_id":"1345201280","filename":"file2"},{"photo_id":"1345201288","filename":"file4"},{"photo_id":"1345201275","filename":"file1"},{"photo_id":"1345201270","filename":"file0"},{"photo_id":"1345201284","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345201284":["hashtag1","hashtag2"]},{"1345201280":["hashtag1","hashtag2"]},{"1345201288":["hashtag1","hashtag2"]},{"1345201270":["hashtag1","hashtag2"]},{"1345201293":["hashtag1","hashtag2"]},{"1345201275":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345201284, 1345201280, 1345201288, 1345201270, 1345201293, 1345201275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.25422787666321 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:55:31.998321
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_33_3187.jpg', 2), ('/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_30_4246.jpg', 2), ('/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_25_4023.jpg', 2), ('/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_21_4095.jpg', 2), ('/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_17_3848.jpg', 2), ('/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_13_4265.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_33_3187.jpg', '/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_30_4246.jpg', '/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_25_4023.jpg', '/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_21_4095.jpg', '/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_17_3848.jpg', '/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_13_4265.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_33_3187.jpg
/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_30_4246.jpg
/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_25_4023.jpg
/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_21_4095.jpg
/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_17_3848.jpg
/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_13_4265.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345201518","1345201430","1345201469","1345201529","1345201462","1345201488"],"photo_ids_order":["1345201430","1345201462","1345201469","1345201488","1345201518","1345201529"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ec75145fe1908ccb2552709c8fbee6bc.jpg","text":"TemporaryFile(/tmp/multipartBody3516090600780073981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320592638,"filename":"image_18032025_00_08_17_3848.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e085aec97b0a58f35e9dd5e994a0a2eb.jpg","text":"TemporaryFile(/tmp/multipartBody3535486045213818040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320592638,"filename":"image_18032025_00_08_33_3187.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c9b437e5a18b09ab02343a3c633a1f29.jpg","text":"TemporaryFile(/tmp/multipartBody8665960010215105734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320592638,"filename":"image_18032025_00_08_25_4023.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b627e4866ba6c372edcc98d5d448365f.jpg","text":"TemporaryFile(/tmp/multipartBody1862153170636999266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320592638,"filename":"image_18032025_00_08_13_4265.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d3e3e69cd32b4aea1ff4e81a1d22bd86.jpg","text":"TemporaryFile(/tmp/multipartBody6558337582481496716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320592638,"filename":"image_18032025_00_08_30_4246.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/574c9c5bfb29cf349e89669b7753f733.jpg","text":"TemporaryFile(/tmp/multipartBody2720535890888978256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320592638,"filename":"image_18032025_00_08_21_4095.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345201469","file1":"1345201462","file0":"1345201430","file4":"1345201518","file5":"1345201529","file3":"1345201488"},"map_files_photo_id_array":[{"photo_id":"1345201529","filename":"file5"},{"photo_id":"1345201469","filename":"file2"},{"photo_id":"1345201518","filename":"file4"},{"photo_id":"1345201462","filename":"file1"},{"photo_id":"1345201430","filename":"file0"},{"photo_id":"1345201488","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345201518":["hashtag1","hashtag2"]},{"1345201430":["hashtag1","hashtag2"]},{"1345201469":["hashtag1","hashtag2"]},{"1345201529":["hashtag1","hashtag2"]},{"1345201462":["hashtag1","hashtag2"]},{"1345201488":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345201518, 1345201430, 1345201469, 1345201529, 1345201462, 1345201488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66652750968933 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:56:32.195828
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_09_4288.jpg', 2), ('/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_05_3656.jpg', 2), ('/home/nano/Desktop/images/18032025/00/07/image_18032025_00_08_01_4082.jpg', 2), ('/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_57_4172.jpg', 2), ('/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_53_4207.jpg', 2), ('/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_49_3258.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_09_4288.jpg', '/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_05_3656.jpg', '/home/nano/Desktop/images/18032025/00/07/image_18032025_00_08_01_4082.jpg', '/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_57_4172.jpg', '/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_53_4207.jpg', '/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_49_3258.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_09_4288.jpg
/home/nano/Desktop/images/18032025/00/08/image_18032025_00_08_05_3656.jpg
/home/nano/Desktop/images/18032025/00/07/image_18032025_00_08_01_4082.jpg
/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_57_4172.jpg
/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_53_4207.jpg
/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_49_3258.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345201575","1345201568","1345201561","1345201555","1345201564","1345201572"],"photo_ids_order":["1345201555","1345201561","1345201564","1345201568","1345201572","1345201575"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cfb7be071d033b855e6c50045a9d354d.jpg","text":"TemporaryFile(/tmp/multipartBody4093186176084552104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320652891,"filename":"image_18032025_00_07_49_3258.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cb8bc900b4734ab748e47b789a91b1dd.jpg","text":"TemporaryFile(/tmp/multipartBody687196087277864891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320652891,"filename":"image_18032025_00_07_57_4172.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4f5c4df73fdc0d5b5f711d792de65f0b.jpg","text":"TemporaryFile(/tmp/multipartBody4332418138166319001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320652891,"filename":"image_18032025_00_08_05_3656.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f091e0f1de4bf494ff2c7e033e91f724.jpg","text":"TemporaryFile(/tmp/multipartBody3096801737077485932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320652891,"filename":"image_18032025_00_08_09_4288.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a6b3d88d69cbe4a8780fb316002e0391.jpg","text":"TemporaryFile(/tmp/multipartBody3402229791525727742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320652891,"filename":"image_18032025_00_08_01_4082.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/275db1d1717c439cbb65413114dc18c1.jpg","text":"TemporaryFile(/tmp/multipartBody7738840156167294233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320652891,"filename":"image_18032025_00_07_53_4207.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345201564","file1":"1345201561","file0":"1345201555","file4":"1345201572","file5":"1345201575","file3":"1345201568"},"map_files_photo_id_array":[{"photo_id":"1345201575","filename":"file5"},{"photo_id":"1345201564","filename":"file2"},{"photo_id":"1345201572","filename":"file4"},{"photo_id":"1345201561","filename":"file1"},{"photo_id":"1345201555","filename":"file0"},{"photo_id":"1345201568","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345201575":["hashtag1","hashtag2"]},{"1345201568":["hashtag1","hashtag2"]},{"1345201561":["hashtag1","hashtag2"]},{"1345201555":["hashtag1","hashtag2"]},{"1345201564":["hashtag1","hashtag2"]},{"1345201572":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345201575, 1345201568, 1345201561, 1345201555, 1345201564, 1345201572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.42901086807251 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:57:32.365937
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_45_4258.jpg', 2), ('/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_41_4249.jpg', 2), ('/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_37_4188.jpg', 2), ('/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_33_3858.jpg', 2), ('/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_29_3851.jpg', 2), ('/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_25_3412.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_45_4258.jpg', '/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_41_4249.jpg', '/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_37_4188.jpg', '/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_33_3858.jpg', '/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_29_3851.jpg', '/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_25_3412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_45_4258.jpg
/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_41_4249.jpg
/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_37_4188.jpg
/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_33_3858.jpg
/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_29_3851.jpg
/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_25_3412.jpg
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:58:03.105543
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_45_4258.jpg', 2), ('/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_41_4249.jpg', 2), ('/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_37_4188.jpg', 2), ('/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_33_3858.jpg', 2), ('/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_29_3851.jpg', 2), ('/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_25_3412.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_45_4258.jpg', '/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_41_4249.jpg', '/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_37_4188.jpg', '/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_33_3858.jpg', '/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_29_3851.jpg', '/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_25_3412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_45_4258.jpg
/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_41_4249.jpg
/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_37_4188.jpg
/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_33_3858.jpg
/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_29_3851.jpg
/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_25_3412.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345202013","1345202033","1345201984","1345202029","1345202037","1345202025"],"photo_ids_order":["1345201984","1345202013","1345202025","1345202029","1345202033","1345202037"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f8ffa0bc2590aa995d5cdd850eae5b6a.jpg","text":"TemporaryFile(/tmp/multipartBody8088330114562886248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320743621,"filename":"image_18032025_00_07_41_4249.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/58954581972720cba7968b903034cc83.jpg","text":"TemporaryFile(/tmp/multipartBody7260958478154093772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320743621,"filename":"image_18032025_00_07_29_3851.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/78487733e59819a9dc9ec070937f1271.jpg","text":"TemporaryFile(/tmp/multipartBody1453139366211742957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320743621,"filename":"image_18032025_00_07_45_4258.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ee8b787a86144413a9d8aa1f2c9a52e8.jpg","text":"TemporaryFile(/tmp/multipartBody2104498659946670980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320743621,"filename":"image_18032025_00_07_33_3858.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c3582f83eda5c92f21dd091ad03a8d34.jpg","text":"TemporaryFile(/tmp/multipartBody5788476227894309884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320743621,"filename":"image_18032025_00_07_25_3412.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2cceaa0b3313ecd0076a6ca03b0a2c46.jpg","text":"TemporaryFile(/tmp/multipartBody1383126532799244810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320743621,"filename":"image_18032025_00_07_37_4188.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345202025","file1":"1345202013","file0":"1345201984","file4":"1345202033","file5":"1345202037","file3":"1345202029"},"map_files_photo_id_array":[{"photo_id":"1345202037","filename":"file5"},{"photo_id":"1345202025","filename":"file2"},{"photo_id":"1345202033","filename":"file4"},{"photo_id":"1345202013","filename":"file1"},{"photo_id":"1345201984","filename":"file0"},{"photo_id":"1345202029","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345202013":["hashtag1","hashtag2"]},{"1345202033":["hashtag1","hashtag2"]},{"1345201984":["hashtag1","hashtag2"]},{"1345202029":["hashtag1","hashtag2"]},{"1345202037":["hashtag1","hashtag2"]},{"1345202025":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345202013, 1345202033, 1345201984, 1345202029, 1345202037, 1345202025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.429617166519165 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 18:59:03.638213
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_22_4330.jpg', 2), ('/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_17_4229.jpg', 2), ('/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_13_4312.jpg', 2), ('/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_09_3088.jpg', 2), ('/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_06_4595.jpg', 2), ('/home/nano/Desktop/images/18032025/00/06/image_18032025_00_07_01_4187.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_22_4330.jpg', '/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_17_4229.jpg', '/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_13_4312.jpg', '/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_09_3088.jpg', '/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_06_4595.jpg', '/home/nano/Desktop/images/18032025/00/06/image_18032025_00_07_01_4187.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_22_4330.jpg
/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_17_4229.jpg
/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_13_4312.jpg
/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_09_3088.jpg
/home/nano/Desktop/images/18032025/00/07/image_18032025_00_07_06_4595.jpg
/home/nano/Desktop/images/18032025/00/06/image_18032025_00_07_01_4187.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345202573","1345202453","1345202500","1345202397","1345202610","1345202541"],"photo_ids_order":["1345202397","1345202453","1345202500","1345202541","1345202573","1345202610"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/87b39d658dbed38ca14d1a076c666d23.jpg","text":"TemporaryFile(/tmp/multipartBody2074504744240908247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320804284,"filename":"image_18032025_00_07_06_4595.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/65ee63b02b6da82c8081d80453f4cb66.jpg","text":"TemporaryFile(/tmp/multipartBody730880217191791619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320804284,"filename":"image_18032025_00_07_17_4229.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9866f5db5d193725a14ae11d9ce7b8dd.jpg","text":"TemporaryFile(/tmp/multipartBody7222983484990821340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320804284,"filename":"image_18032025_00_07_13_4312.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/59110430b644d2c5c5887589baf865e3.jpg","text":"TemporaryFile(/tmp/multipartBody6089213608184796087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320804284,"filename":"image_18032025_00_07_22_4330.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2861881d40ca6ede24e0b11650b254f6.jpg","text":"TemporaryFile(/tmp/multipartBody3359145143956108310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320804284,"filename":"image_18032025_00_07_01_4187.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/932c8625d0aaa633cf6ca4ef4f67ab62.jpg","text":"TemporaryFile(/tmp/multipartBody6681272838396021509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320804284,"filename":"image_18032025_00_07_09_3088.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345202500","file1":"1345202453","file0":"1345202397","file4":"1345202573","file5":"1345202610","file3":"1345202541"},"map_files_photo_id_array":[{"photo_id":"1345202610","filename":"file5"},{"photo_id":"1345202500","filename":"file2"},{"photo_id":"1345202573","filename":"file4"},{"photo_id":"1345202453","filename":"file1"},{"photo_id":"1345202397","filename":"file0"},{"photo_id":"1345202541","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345202573":["hashtag1","hashtag2"]},{"1345202453":["hashtag1","hashtag2"]},{"1345202500":["hashtag1","hashtag2"]},{"1345202397":["hashtag1","hashtag2"]},{"1345202610":["hashtag1","hashtag2"]},{"1345202541":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345202573, 1345202453, 1345202500, 1345202397, 1345202610, 1345202541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.28526544570923 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:00:02.538183
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_57_4160.jpg', 2), ('/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_53_3109.jpg', 2), ('/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_50_4121.jpg', 2), ('/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_45_3989.jpg', 2), ('/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_41_4064.jpg', 2), ('/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_37_3965.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_57_4160.jpg', '/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_53_3109.jpg', '/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_50_4121.jpg', '/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_45_3989.jpg', '/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_41_4064.jpg', '/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_37_3965.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_57_4160.jpg
/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_53_3109.jpg
/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_50_4121.jpg
/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_45_3989.jpg
/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_41_4064.jpg
/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_37_3965.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345202981","1345203010","1345202923","1345203042","1345202952","1345202894"],"photo_ids_order":["1345202894","1345202923","1345202952","1345202981","1345203010","1345203042"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b20aacf7e4ff63023013ee5bd756870c.jpg","text":"TemporaryFile(/tmp/multipartBody5911233013817547602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320863172,"filename":"image_18032025_00_06_45_3989.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/32ef9376189949de0ab139e8b63c0d8a.jpg","text":"TemporaryFile(/tmp/multipartBody4470591317160037988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320863172,"filename":"image_18032025_00_06_41_4064.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/87c4a7c2b6118e004426b07bbffc159e.jpg","text":"TemporaryFile(/tmp/multipartBody7461150570051342513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320863172,"filename":"image_18032025_00_06_53_3109.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/77e891d016c333db00f0d5636c486b33.jpg","text":"TemporaryFile(/tmp/multipartBody3051704859900545031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320863172,"filename":"image_18032025_00_06_37_3965.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6ddc3812413a6c8eeed6f2ab6f11af37.jpg","text":"TemporaryFile(/tmp/multipartBody5053317494456286621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320863172,"filename":"image_18032025_00_06_50_4121.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8ccde82672295b1ef5b0e1c348243061.jpg","text":"TemporaryFile(/tmp/multipartBody1764546638256193756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320863172,"filename":"image_18032025_00_06_57_4160.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345202952","file1":"1345202923","file0":"1345202894","file4":"1345203010","file5":"1345203042","file3":"1345202981"},"map_files_photo_id_array":[{"photo_id":"1345203042","filename":"file5"},{"photo_id":"1345202952","filename":"file2"},{"photo_id":"1345203010","filename":"file4"},{"photo_id":"1345202923","filename":"file1"},{"photo_id":"1345202894","filename":"file0"},{"photo_id":"1345202981","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345202981":["hashtag1","hashtag2"]},{"1345203010":["hashtag1","hashtag2"]},{"1345202923":["hashtag1","hashtag2"]},{"1345203042":["hashtag1","hashtag2"]},{"1345202952":["hashtag1","hashtag2"]},{"1345202894":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345202981, 1345203010, 1345202923, 1345203042, 1345202952, 1345202894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.50559163093567 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:01:02.670488
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_33_4192.jpg', 2), ('/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_29_4150.jpg', 2), ('/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_25_4146.jpg', 2), ('/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_21_4176.jpg', 2), ('/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_17_3104.jpg', 2), ('/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_14_4053.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_33_4192.jpg', '/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_29_4150.jpg', '/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_25_4146.jpg', '/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_21_4176.jpg', '/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_17_3104.jpg', '/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_14_4053.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_33_4192.jpg
/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_29_4150.jpg
/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_25_4146.jpg
/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_21_4176.jpg
/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_17_3104.jpg
/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_14_4053.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345203431","1345203397","1345203340","1345203372","1345203483","1345203296"],"photo_ids_order":["1345203296","1345203340","1345203372","1345203397","1345203431","1345203483"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e2aa6979607ed85594e7702bba5c5ade.jpg","text":"TemporaryFile(/tmp/multipartBody687450778945536580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320923314,"filename":"image_18032025_00_06_17_3104.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b3ed5c420847a30cc12b5b0f643f1b08.jpg","text":"TemporaryFile(/tmp/multipartBody8278493212572624670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320923314,"filename":"image_18032025_00_06_21_4176.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a4b819163c12899ff8f9002f45ba7cd1.jpg","text":"TemporaryFile(/tmp/multipartBody7234112479534271922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320923314,"filename":"image_18032025_00_06_29_4150.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/489f97ed2ad556d6fa41dc9e574211b2.jpg","text":"TemporaryFile(/tmp/multipartBody4721661523380691671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320923314,"filename":"image_18032025_00_06_25_4146.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ffb88795a744881c268bef9ae003c6ea.jpg","text":"TemporaryFile(/tmp/multipartBody9134790198758227664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320923314,"filename":"image_18032025_00_06_14_4053.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/61ae174c9c7e55451f55f90e54354778.jpg","text":"TemporaryFile(/tmp/multipartBody1632167523986353547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320923314,"filename":"image_18032025_00_06_33_4192.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345203372","file1":"1345203340","file0":"1345203296","file4":"1345203431","file5":"1345203483","file3":"1345203397"},"map_files_photo_id_array":[{"photo_id":"1345203483","filename":"file5"},{"photo_id":"1345203372","filename":"file2"},{"photo_id":"1345203431","filename":"file4"},{"photo_id":"1345203340","filename":"file1"},{"photo_id":"1345203296","filename":"file0"},{"photo_id":"1345203397","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345203431":["hashtag1","hashtag2"]},{"1345203397":["hashtag1","hashtag2"]},{"1345203340":["hashtag1","hashtag2"]},{"1345203372":["hashtag1","hashtag2"]},{"1345203483":["hashtag1","hashtag2"]},{"1345203296":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345203431, 1345203397, 1345203340, 1345203372, 1345203483, 1345203296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.82317495346069 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:02:02.915225
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_10_4087.jpg', 2), ('/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_06_4625.jpg', 2), ('/home/nano/Desktop/images/18032025/00/05/image_18032025_00_06_01_4218.jpg', 2), ('/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_57_3094.jpg', 2), ('/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_54_4162.jpg', 2), ('/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_49_4161.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_10_4087.jpg', '/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_06_4625.jpg', '/home/nano/Desktop/images/18032025/00/05/image_18032025_00_06_01_4218.jpg', '/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_57_3094.jpg', '/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_54_4162.jpg', '/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_49_4161.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_10_4087.jpg
/home/nano/Desktop/images/18032025/00/06/image_18032025_00_06_06_4625.jpg
/home/nano/Desktop/images/18032025/00/05/image_18032025_00_06_01_4218.jpg
/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_57_3094.jpg
/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_54_4162.jpg
/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_49_4161.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345203818","1345203767","1345203800","1345203843","1345203755","1345203770"],"photo_ids_order":["1345203755","1345203767","1345203770","1345203800","1345203818","1345203843"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3e86d81dbdf554043729a5c2198a5be6.jpg","text":"TemporaryFile(/tmp/multipartBody887160886285720089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320983538,"filename":"image_18032025_00_05_54_4162.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f3ab10d506616430fab29565600483a8.jpg","text":"TemporaryFile(/tmp/multipartBody8173190717423224724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320983538,"filename":"image_18032025_00_06_06_4625.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/697edd1d8cb06ae10a1a2b90867f5d35.jpg","text":"TemporaryFile(/tmp/multipartBody587318708242663437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320983538,"filename":"image_18032025_00_05_57_3094.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/759cfe9f433104f7c82a8a369077d10a.jpg","text":"TemporaryFile(/tmp/multipartBody7366010845964038141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320983538,"filename":"image_18032025_00_05_49_4161.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d6d4870b22bc2c72717c72af1aa1caa8.jpg","text":"TemporaryFile(/tmp/multipartBody3712926746198475456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320983538,"filename":"image_18032025_00_06_10_4087.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dff45b626550f3bd2e3075a512eb15ed.jpg","text":"TemporaryFile(/tmp/multipartBody2256543398009349351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742320983538,"filename":"image_18032025_00_06_01_4218.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345203770","file1":"1345203767","file0":"1345203755","file4":"1345203818","file5":"1345203843","file3":"1345203800"},"map_files_photo_id_array":[{"photo_id":"1345203843","filename":"file5"},{"photo_id":"1345203770","filename":"file2"},{"photo_id":"1345203818","filename":"file4"},{"photo_id":"1345203767","filename":"file1"},{"photo_id":"1345203755","filename":"file0"},{"photo_id":"1345203800","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345203818":["hashtag1","hashtag2"]},{"1345203767":["hashtag1","hashtag2"]},{"1345203800":["hashtag1","hashtag2"]},{"1345203843":["hashtag1","hashtag2"]},{"1345203755":["hashtag1","hashtag2"]},{"1345203770":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345203818, 1345203767, 1345203800, 1345203843, 1345203755, 1345203770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.32754921913147 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:03:03.087486
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_45_4105.jpg', 2), ('/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_41_4191.jpg', 2), ('/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_37_4235.jpg', 2), ('/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_33_3236.jpg', 2), ('/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_30_4186.jpg', 2), ('/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_25_3764.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_45_4105.jpg', '/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_41_4191.jpg', '/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_37_4235.jpg', '/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_33_3236.jpg', '/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_30_4186.jpg', '/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_25_3764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_45_4105.jpg
/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_41_4191.jpg
/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_37_4235.jpg
/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_33_3236.jpg
/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_30_4186.jpg
/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_25_3764.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345204012","1345203981","1345204008","1345204005","1345203995","1345203953"],"photo_ids_order":["1345203953","1345203981","1345203995","1345204005","1345204008","1345204012"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a04fcf65326aaf815b005b52a7103f7c.jpg","text":"TemporaryFile(/tmp/multipartBody7677010689401897973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321043732,"filename":"image_18032025_00_05_25_3764.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/089572890ffe960ed0fddb4365d53ea5.jpg","text":"TemporaryFile(/tmp/multipartBody4356128245407311408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321043732,"filename":"image_18032025_00_05_41_4191.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9e5f624af498374454b6578b4658c172.jpg","text":"TemporaryFile(/tmp/multipartBody363383628785803141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321043732,"filename":"image_18032025_00_05_30_4186.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/766870ea15c23bf388370b8e49bf90a4.jpg","text":"TemporaryFile(/tmp/multipartBody7401289881666435847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321043732,"filename":"image_18032025_00_05_33_3236.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/69fbdbe40daec28d6282d010c1d47aee.jpg","text":"TemporaryFile(/tmp/multipartBody981065301708058476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321043732,"filename":"image_18032025_00_05_37_4235.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ffdd6afeb73b4d2ba4c572c97f6dfa1d.jpg","text":"TemporaryFile(/tmp/multipartBody2145037339458282265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321043732,"filename":"image_18032025_00_05_45_4105.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345203995","file1":"1345203981","file0":"1345203953","file4":"1345204008","file5":"1345204012","file3":"1345204005"},"map_files_photo_id_array":[{"photo_id":"1345204012","filename":"file5"},{"photo_id":"1345203995","filename":"file2"},{"photo_id":"1345204008","filename":"file4"},{"photo_id":"1345203981","filename":"file1"},{"photo_id":"1345203953","filename":"file0"},{"photo_id":"1345204005","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345204012":["hashtag1","hashtag2"]},{"1345203981":["hashtag1","hashtag2"]},{"1345204008":["hashtag1","hashtag2"]},{"1345204005":["hashtag1","hashtag2"]},{"1345203995":["hashtag1","hashtag2"]},{"1345203953":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345204012, 1345203981, 1345204008, 1345204005, 1345203995, 1345203953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.08497428894043 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:04:03.384828
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_22_4351.jpg', 2), ('/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_17_4453.jpg', 2), ('/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_13_3228.jpg', 2), ('/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_10_4346.jpg', 2), ('/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_05_3620.jpg', 2), ('/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_02_3971.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_22_4351.jpg', '/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_17_4453.jpg', '/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_13_3228.jpg', '/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_10_4346.jpg', '/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_05_3620.jpg', '/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_02_3971.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_22_4351.jpg
/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_17_4453.jpg
/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_13_3228.jpg
/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_10_4346.jpg
/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_05_3620.jpg
/home/nano/Desktop/images/18032025/00/05/image_18032025_00_05_02_3971.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345204403","1345204447","1345204356","1345204379","1345204268","1345204313"],"photo_ids_order":["1345204268","1345204313","1345204356","1345204379","1345204403","1345204447"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bd3e14b905d84b6136fa59d083d9fd33.jpg","text":"TemporaryFile(/tmp/multipartBody4604819283593257105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321103972,"filename":"image_18032025_00_05_05_3620.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/70d1afe71e523c3422dc4582ab350936.jpg","text":"TemporaryFile(/tmp/multipartBody7829931192719483040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321103972,"filename":"image_18032025_00_05_02_3971.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c7024d006fcf29b9b167b11547b802c0.jpg","text":"TemporaryFile(/tmp/multipartBody1503469543377394550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321103972,"filename":"image_18032025_00_05_13_3228.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/032a5018179cb70b2f37d42543b75c75.jpg","text":"TemporaryFile(/tmp/multipartBody135960262092686583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321103972,"filename":"image_18032025_00_05_10_4346.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d6e517ccf0dfa4870691deeae8844625.jpg","text":"TemporaryFile(/tmp/multipartBody2920242070961168477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321103972,"filename":"image_18032025_00_05_22_4351.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1548e3a7fe1a4df8e0563f9161d941de.jpg","text":"TemporaryFile(/tmp/multipartBody1895836209018828906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321103972,"filename":"image_18032025_00_05_17_4453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345204356","file1":"1345204313","file0":"1345204268","file4":"1345204403","file5":"1345204447","file3":"1345204379"},"map_files_photo_id_array":[{"photo_id":"1345204447","filename":"file5"},{"photo_id":"1345204356","filename":"file2"},{"photo_id":"1345204403","filename":"file4"},{"photo_id":"1345204313","filename":"file1"},{"photo_id":"1345204268","filename":"file0"},{"photo_id":"1345204379","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345204403":["hashtag1","hashtag2"]},{"1345204447":["hashtag1","hashtag2"]},{"1345204356":["hashtag1","hashtag2"]},{"1345204379":["hashtag1","hashtag2"]},{"1345204268":["hashtag1","hashtag2"]},{"1345204313":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345204403, 1345204447, 1345204356, 1345204379, 1345204268, 1345204313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.580195665359497 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:05:03.198625
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_58_4877.jpg', 2), ('/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_53_3118.jpg', 2), ('/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_50_4081.jpg', 2), ('/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_46_4184.jpg', 2), ('/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_41_3989.jpg', 2), ('/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_37_4004.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_58_4877.jpg', '/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_53_3118.jpg', '/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_50_4081.jpg', '/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_46_4184.jpg', '/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_41_3989.jpg', '/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_37_4004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_58_4877.jpg
/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_53_3118.jpg
/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_50_4081.jpg
/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_46_4184.jpg
/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_41_3989.jpg
/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_37_4004.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345204855","1345205048","1345205009","1345204955","1345204910","1345204805"],"photo_ids_order":["1345204805","1345204855","1345204910","1345204955","1345205009","1345205048"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/868a15927a00d2e29a45bee151ce0443.jpg","text":"TemporaryFile(/tmp/multipartBody4206457660002780553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321163825,"filename":"image_18032025_00_04_53_3118.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c9462245afcb787d0f553d22ab1971bc.jpg","text":"TemporaryFile(/tmp/multipartBody6164488435883113965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321163825,"filename":"image_18032025_00_04_37_4004.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d8b752c6650713cd729ee6fa45b1147e.jpg","text":"TemporaryFile(/tmp/multipartBody2311337624904253910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321163825,"filename":"image_18032025_00_04_41_3989.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0edf06af46e37f030d86e2f7064f073b.jpg","text":"TemporaryFile(/tmp/multipartBody5824681051595676644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321163825,"filename":"image_18032025_00_04_46_4184.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/900788c163d5eedb5bdcb41790c8d94a.jpg","text":"TemporaryFile(/tmp/multipartBody4781164779134039982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321163825,"filename":"image_18032025_00_04_50_4081.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bbb9df007bbe6e0354a122ce2d0162e8.jpg","text":"TemporaryFile(/tmp/multipartBody906763851800558772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321163825,"filename":"image_18032025_00_04_58_4877.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345204910","file1":"1345204855","file0":"1345204805","file4":"1345205009","file5":"1345205048","file3":"1345204955"},"map_files_photo_id_array":[{"photo_id":"1345205048","filename":"file5"},{"photo_id":"1345204910","filename":"file2"},{"photo_id":"1345205009","filename":"file4"},{"photo_id":"1345204855","filename":"file1"},{"photo_id":"1345204805","filename":"file0"},{"photo_id":"1345204955","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345204855":["hashtag1","hashtag2"]},{"1345205048":["hashtag1","hashtag2"]},{"1345205009":["hashtag1","hashtag2"]},{"1345204955":["hashtag1","hashtag2"]},{"1345204910":["hashtag1","hashtag2"]},{"1345204805":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345204855, 1345205048, 1345205009, 1345204955, 1345204910, 1345204805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.801907539367676 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:06:02.561388
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_33_3978.jpg', 2), ('/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_29_4064.jpg', 2), ('/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_25_4086.jpg', 2), ('/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_21_4167.jpg', 2), ('/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_17_4177.jpg', 2), ('/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_13_4078.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_33_3978.jpg', '/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_29_4064.jpg', '/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_25_4086.jpg', '/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_21_4167.jpg', '/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_17_4177.jpg', '/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_13_4078.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_33_3978.jpg
/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_29_4064.jpg
/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_25_4086.jpg
/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_21_4167.jpg
/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_17_4177.jpg
/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_13_4078.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345205542","1345205704","1345205742","1345205571","1345205627","1345205770"],"photo_ids_order":["1345205542","1345205571","1345205627","1345205704","1345205742","1345205770"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d4efd0f20d9b73ef8fa52abc5b8c6efe.jpg","text":"TemporaryFile(/tmp/multipartBody6931594714113928455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321223328,"filename":"image_18032025_00_04_33_3978.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/69f239b13b6ef438bace690be66fc18d.jpg","text":"TemporaryFile(/tmp/multipartBody323553510942858367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321223328,"filename":"image_18032025_00_04_21_4167.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9cf07bc304f18fde05d945a0cba16740.jpg","text":"TemporaryFile(/tmp/multipartBody3584443834032127649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321223328,"filename":"image_18032025_00_04_17_4177.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/764c617c2d9a82c46de18b82fd63bf97.jpg","text":"TemporaryFile(/tmp/multipartBody373478778110299668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321223328,"filename":"image_18032025_00_04_29_4064.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/340cf7909fc6f8c2b3791f131b8f7619.jpg","text":"TemporaryFile(/tmp/multipartBody4601187663826617062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321223328,"filename":"image_18032025_00_04_25_4086.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c08bc50e2ca48cee1714465fffaacad2.jpg","text":"TemporaryFile(/tmp/multipartBody5793396934881688247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321223328,"filename":"image_18032025_00_04_13_4078.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345205627","file1":"1345205571","file0":"1345205542","file4":"1345205742","file5":"1345205770","file3":"1345205704"},"map_files_photo_id_array":[{"photo_id":"1345205770","filename":"file5"},{"photo_id":"1345205627","filename":"file2"},{"photo_id":"1345205742","filename":"file4"},{"photo_id":"1345205571","filename":"file1"},{"photo_id":"1345205542","filename":"file0"},{"photo_id":"1345205704","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345205542":["hashtag1","hashtag2"]},{"1345205704":["hashtag1","hashtag2"]},{"1345205742":["hashtag1","hashtag2"]},{"1345205571":["hashtag1","hashtag2"]},{"1345205627":["hashtag1","hashtag2"]},{"1345205770":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345205542, 1345205704, 1345205742, 1345205571, 1345205627, 1345205770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.28888487815857 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:07:02.677023
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_09_4068.jpg', 2), ('/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_05_3639.jpg', 2), ('/home/nano/Desktop/images/18032025/00/03/image_18032025_00_04_01_4207.jpg', 2), ('/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_57_4097.jpg', 2), ('/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_53_4047.jpg', 2), ('/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_49_3114.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_09_4068.jpg', '/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_05_3639.jpg', '/home/nano/Desktop/images/18032025/00/03/image_18032025_00_04_01_4207.jpg', '/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_57_4097.jpg', '/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_53_4047.jpg', '/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_49_3114.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_09_4068.jpg
/home/nano/Desktop/images/18032025/00/04/image_18032025_00_04_05_3639.jpg
/home/nano/Desktop/images/18032025/00/03/image_18032025_00_04_01_4207.jpg
/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_57_4097.jpg
/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_53_4047.jpg
/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_49_3114.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345206567","1345206534","1345206455","1345206320","1345206503","1345206400"],"photo_ids_order":["1345206320","1345206400","1345206455","1345206503","1345206534","1345206567"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d9bcd7d33b9b8ee8be734398859c5e26.jpg","text":"TemporaryFile(/tmp/multipartBody1143230678494722187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321283462,"filename":"image_18032025_00_03_49_3114.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c98ee5b5d475316bc29ecfc87325b48c.jpg","text":"TemporaryFile(/tmp/multipartBody8866483286321194910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321283462,"filename":"image_18032025_00_03_53_4047.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d0aadf3f35a6f7a7754a292769373417.jpg","text":"TemporaryFile(/tmp/multipartBody889285724014297906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321283462,"filename":"image_18032025_00_04_01_4207.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0b20254a6fa024ef001c91456a96e55b.jpg","text":"TemporaryFile(/tmp/multipartBody7027087224162325020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321283462,"filename":"image_18032025_00_04_09_4068.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f126adbeba1b6503e822546b642bd526.jpg","text":"TemporaryFile(/tmp/multipartBody4025457087935284627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321283462,"filename":"image_18032025_00_03_57_4097.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e3094a7950919787055074c3ad5f56cc.jpg","text":"TemporaryFile(/tmp/multipartBody5502387742219505896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321283462,"filename":"image_18032025_00_04_05_3639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345206455","file1":"1345206400","file0":"1345206320","file4":"1345206534","file5":"1345206567","file3":"1345206503"},"map_files_photo_id_array":[{"photo_id":"1345206567","filename":"file5"},{"photo_id":"1345206455","filename":"file2"},{"photo_id":"1345206534","filename":"file4"},{"photo_id":"1345206400","filename":"file1"},{"photo_id":"1345206320","filename":"file0"},{"photo_id":"1345206503","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345206567":["hashtag1","hashtag2"]},{"1345206534":["hashtag1","hashtag2"]},{"1345206455":["hashtag1","hashtag2"]},{"1345206320":["hashtag1","hashtag2"]},{"1345206503":["hashtag1","hashtag2"]},{"1345206400":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345206567, 1345206534, 1345206455, 1345206320, 1345206503, 1345206400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.508918523788452 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:08:02.872734
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_46_4101.jpg', 2), ('/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_42_4351.jpg', 2), ('/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_37_4358.jpg', 2), ('/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_33_3305.jpg', 2), ('/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_29_4303.jpg', 2), ('/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_25_3941.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_46_4101.jpg', '/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_42_4351.jpg', '/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_37_4358.jpg', '/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_33_3305.jpg', '/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_29_4303.jpg', '/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_25_3941.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_46_4101.jpg
/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_42_4351.jpg
/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_37_4358.jpg
/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_33_3305.jpg
/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_29_4303.jpg
/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_25_3941.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345206744","1345206801","1345206791","1345206794","1345206797","1345206818"],"photo_ids_order":["1345206744","1345206791","1345206794","1345206797","1345206801","1345206818"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/01a5221bb50c60a2081041fb8aa52622.jpg","text":"TemporaryFile(/tmp/multipartBody5374838084447351637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321343565,"filename":"image_18032025_00_03_46_4101.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5748aebcce7d99f474f1dad869f9b929.jpg","text":"TemporaryFile(/tmp/multipartBody2677474115404584920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321343565,"filename":"image_18032025_00_03_29_4303.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e2d3decb8ab26297de42c420877eeaaa.jpg","text":"TemporaryFile(/tmp/multipartBody8167826146496476677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321343565,"filename":"image_18032025_00_03_42_4351.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d22c53e0d801264fb1e6b7378bf855a5.jpg","text":"TemporaryFile(/tmp/multipartBody483015230372204787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321343565,"filename":"image_18032025_00_03_37_4358.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/deff2c6749e4b81965aa3ce395a546bd.jpg","text":"TemporaryFile(/tmp/multipartBody4618799127831184958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321343565,"filename":"image_18032025_00_03_33_3305.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a1ffc546a3639165a1eb07cda892d65f.jpg","text":"TemporaryFile(/tmp/multipartBody722041558266722560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321343565,"filename":"image_18032025_00_03_25_3941.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345206794","file1":"1345206791","file0":"1345206744","file4":"1345206801","file5":"1345206818","file3":"1345206797"},"map_files_photo_id_array":[{"photo_id":"1345206818","filename":"file5"},{"photo_id":"1345206794","filename":"file2"},{"photo_id":"1345206801","filename":"file4"},{"photo_id":"1345206791","filename":"file1"},{"photo_id":"1345206744","filename":"file0"},{"photo_id":"1345206797","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345206744":["hashtag1","hashtag2"]},{"1345206801":["hashtag1","hashtag2"]},{"1345206791":["hashtag1","hashtag2"]},{"1345206794":["hashtag1","hashtag2"]},{"1345206797":["hashtag1","hashtag2"]},{"1345206818":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345206744, 1345206801, 1345206791, 1345206794, 1345206797, 1345206818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.1505811214447 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:09:03.409042
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_21_4180.jpg', 2), ('/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_17_4230.jpg', 2), ('/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_13_4061.jpg', 2), ('/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_09_3231.jpg', 2), ('/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_06_4570.jpg', 2), ('/home/nano/Desktop/images/18032025/00/02/image_18032025_00_03_01_4142.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_21_4180.jpg', '/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_17_4230.jpg', '/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_13_4061.jpg', '/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_09_3231.jpg', '/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_06_4570.jpg', '/home/nano/Desktop/images/18032025/00/02/image_18032025_00_03_01_4142.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_21_4180.jpg
/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_17_4230.jpg
/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_13_4061.jpg
/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_09_3231.jpg
/home/nano/Desktop/images/18032025/00/03/image_18032025_00_03_06_4570.jpg
/home/nano/Desktop/images/18032025/00/02/image_18032025_00_03_01_4142.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345207221","1345207218","1345207200","1345207226","1345207237","1345207231"],"photo_ids_order":["1345207200","1345207218","1345207221","1345207226","1345207231","1345207237"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/beda5c34dce1d0124800d84a4243ca49.jpg","text":"TemporaryFile(/tmp/multipartBody4695025775759723236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321404071,"filename":"image_18032025_00_03_13_4061.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ec3de71d167e2ecb182bc7f4f90388ee.jpg","text":"TemporaryFile(/tmp/multipartBody3236372969848267698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321404071,"filename":"image_18032025_00_03_17_4230.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d169e15c76f494e333a2e3685b6edc34.jpg","text":"TemporaryFile(/tmp/multipartBody1144130481539136995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321404071,"filename":"image_18032025_00_03_21_4180.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/204aa6fca9472e0156eb65cb9dd4a498.jpg","text":"TemporaryFile(/tmp/multipartBody2132630856586603861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321404071,"filename":"image_18032025_00_03_09_3231.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8edd7533811720495982d03cbb8fe14e.jpg","text":"TemporaryFile(/tmp/multipartBody1209085567901235833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321404071,"filename":"image_18032025_00_03_01_4142.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/52ae80d8ee7e9c2b39d3a13b06cc5633.jpg","text":"TemporaryFile(/tmp/multipartBody6921910661114363275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321404071,"filename":"image_18032025_00_03_06_4570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345207221","file1":"1345207218","file0":"1345207200","file4":"1345207231","file5":"1345207237","file3":"1345207226"},"map_files_photo_id_array":[{"photo_id":"1345207237","filename":"file5"},{"photo_id":"1345207221","filename":"file2"},{"photo_id":"1345207231","filename":"file4"},{"photo_id":"1345207218","filename":"file1"},{"photo_id":"1345207200","filename":"file0"},{"photo_id":"1345207226","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345207221":["hashtag1","hashtag2"]},{"1345207218":["hashtag1","hashtag2"]},{"1345207200":["hashtag1","hashtag2"]},{"1345207226":["hashtag1","hashtag2"]},{"1345207237":["hashtag1","hashtag2"]},{"1345207231":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345207221, 1345207218, 1345207200, 1345207226, 1345207237, 1345207231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.59761357307434 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:10:03.218390
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_57_4093.jpg', 2), ('/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_53_3205.jpg', 2), ('/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_50_4214.jpg', 2), ('/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_45_4268.jpg', 2), ('/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_41_4219.jpg', 2), ('/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_37_3267.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_57_4093.jpg', '/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_53_3205.jpg', '/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_50_4214.jpg', '/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_45_4268.jpg', '/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_41_4219.jpg', '/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_37_3267.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_57_4093.jpg
/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_53_3205.jpg
/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_50_4214.jpg
/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_45_4268.jpg
/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_41_4219.jpg
/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_37_3267.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345207352","1345207331","1345207349","1345207357","1345207300","1345207303"],"photo_ids_order":["1345207300","1345207303","1345207331","1345207349","1345207352","1345207357"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d5fa21beab6617b97bf3c088eb5527ba.jpg","text":"TemporaryFile(/tmp/multipartBody6633963431924319757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321463886,"filename":"image_18032025_00_02_41_4219.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/12b556342a9a047323e248d290fef639.jpg","text":"TemporaryFile(/tmp/multipartBody2204765986393361876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321463886,"filename":"image_18032025_00_02_50_4214.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bfa843164068d1a3f0d3a8dfa77da2d9.jpg","text":"TemporaryFile(/tmp/multipartBody579629022227464289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321463886,"filename":"image_18032025_00_02_45_4268.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d8bda4f62e8e4ded91897927bb68cac5.jpg","text":"TemporaryFile(/tmp/multipartBody3997226608853577856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321463886,"filename":"image_18032025_00_02_37_3267.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e8d6acdff8295398a68230a5dfa7082a.jpg","text":"TemporaryFile(/tmp/multipartBody2413412841629909181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321463886,"filename":"image_18032025_00_02_57_4093.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/93b8062162caa7ea4acd8d9bf57eb4f2.jpg","text":"TemporaryFile(/tmp/multipartBody6208162943103856393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321463886,"filename":"image_18032025_00_02_53_3205.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345207331","file1":"1345207303","file0":"1345207300","file4":"1345207352","file5":"1345207357","file3":"1345207349"},"map_files_photo_id_array":[{"photo_id":"1345207357","filename":"file5"},{"photo_id":"1345207331","filename":"file2"},{"photo_id":"1345207352","filename":"file4"},{"photo_id":"1345207303","filename":"file1"},{"photo_id":"1345207300","filename":"file0"},{"photo_id":"1345207349","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345207352":["hashtag1","hashtag2"]},{"1345207331":["hashtag1","hashtag2"]},{"1345207349":["hashtag1","hashtag2"]},{"1345207357":["hashtag1","hashtag2"]},{"1345207300":["hashtag1","hashtag2"]},{"1345207303":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345207352, 1345207331, 1345207349, 1345207357, 1345207300, 1345207303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.314526557922363 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:11:02.472582
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_34_4254.jpg', 2), ('/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_29_4305.jpg', 2), ('/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_25_4259.jpg', 2), ('/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_21_3201.jpg', 2), ('/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_18_4322.jpg', 2), ('/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_13_4368.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_34_4254.jpg', '/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_29_4305.jpg', '/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_25_4259.jpg', '/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_21_3201.jpg', '/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_18_4322.jpg', '/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_13_4368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_34_4254.jpg
/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_29_4305.jpg
/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_25_4259.jpg
/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_21_3201.jpg
/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_18_4322.jpg
/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_13_4368.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345207569","1345207571","1345207543","1345207596","1345207513","1345207566"],"photo_ids_order":["1345207513","1345207543","1345207566","1345207569","1345207571","1345207596"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/af225dfba22b1c805b83e729bb4ca970.jpg","text":"TemporaryFile(/tmp/multipartBody7912748509564756551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321523167,"filename":"image_18032025_00_02_21_3201.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/36c7bb57e2736226dcecaed1cdcb55c4.jpg","text":"TemporaryFile(/tmp/multipartBody7553823133541479890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321523167,"filename":"image_18032025_00_02_18_4322.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2b8ac999fc3c4fdb048c826441abec91.jpg","text":"TemporaryFile(/tmp/multipartBody5700578198038981470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321523167,"filename":"image_18032025_00_02_29_4305.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bf14ab8aa0d0b1b9d99a31daa009b854.jpg","text":"TemporaryFile(/tmp/multipartBody1243157698237049954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321523167,"filename":"image_18032025_00_02_13_4368.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/45558fab1a8d9b3f4be92d45c542a1b0.jpg","text":"TemporaryFile(/tmp/multipartBody4041443442620312865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321523167,"filename":"image_18032025_00_02_34_4254.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/638fa8bb147e29d6365b5eddb289f65f.jpg","text":"TemporaryFile(/tmp/multipartBody6469254417018063918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321523167,"filename":"image_18032025_00_02_25_4259.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345207566","file1":"1345207543","file0":"1345207513","file4":"1345207571","file5":"1345207596","file3":"1345207569"},"map_files_photo_id_array":[{"photo_id":"1345207596","filename":"file5"},{"photo_id":"1345207566","filename":"file2"},{"photo_id":"1345207571","filename":"file4"},{"photo_id":"1345207543","filename":"file1"},{"photo_id":"1345207513","filename":"file0"},{"photo_id":"1345207569","filename":"file3"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345207569":["hashtag1","hashtag2"]},{"1345207571":["hashtag1","hashtag2"]},{"1345207543":["hashtag1","hashtag2"]},{"1345207596":["hashtag1","hashtag2"]},{"1345207513":["hashtag1","hashtag2"]},{"1345207566":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345207569, 1345207571, 1345207543, 1345207596, 1345207513, 1345207566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.25049448013306 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:12:02.633490
  port_id : 21508724
  datou_current_id : 2675771
in upload_from_sqlite, uploading in 21508724
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_09_4163.jpg', 2), ('/home/nano/Desktop/images/18032025/00/01/image_18032025_00_01_09_4154.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_09_4163.jpg', '/home/nano/Desktop/images/18032025/00/01/image_18032025_00_01_09_4154.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2675771&datou=0
/home/nano/Desktop/images/18032025/00/02/image_18032025_00_02_09_4163.jpg
/home/nano/Desktop/images/18032025/00/01/image_18032025_00_01_09_4154.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345207734","1345207754"],"photo_ids_order":["1345207734","1345207754"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2b11f0e48cb0df9d799c8e7e342d4193.jpg","text":"TemporaryFile(/tmp/multipartBody2358417761691741766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321583148,"filename":"image_18032025_00_02_09_4163.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/65e8a1815a1f214d1d02f697b52af6f1.jpg","text":"TemporaryFile(/tmp/multipartBody5205952236457247839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321583148,"filename":"image_18032025_00_01_09_4154.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1345207754","file0":"1345207734"},"map_files_photo_id_array":[{"photo_id":"1345207754","filename":"file1"},{"photo_id":"1345207734","filename":"file0"}],"portfolio_id":21508724,"hashtag_by_photo_ids":[{"1345207734":["hashtag1","hashtag2"]},{"1345207754":["hashtag1","hashtag2"]}],"comms":"Portfolio 21508724 used, photo_id : ArrayBuffer(1345207734, 1345207754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.789748191833496 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:12:32.022614
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
  port_id : 21472043
  datou_current_id : 2673843
in upload_from_sqlite, uploading in 21472043
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/16032025/03/51/image_16032025_03_51_49_4276.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/16032025/03/51/image_16032025_03_51_49_4276.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2673843&datou=0
/home/nano/Desktop/images/16032025/03/51/image_16032025_03_51_49_4276.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345207782"],"photo_id":"1345207782","photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0f54e6f7bdd725baab7569d55dcf96ed.jpg","text":"TemporaryFile(/tmp/multipartBody8479614382157375337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321612780,"filename":"image_16032025_03_51_49_4276.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1345207782"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1345207782"}],"hashtags":[],"portfolio_id":"21472043","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.921018123626709 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:13:02.582557
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/04/18/image_17032025_04_18_49_4277.jpg', 2), ('/home/nano/Desktop/images/17032025/00/57/image_17032025_00_57_01_3241.jpg', 2), ('/home/nano/Desktop/images/17032025/00/56/image_17032025_00_56_33_3268.jpg', 2), ('/home/nano/Desktop/images/17032025/00/56/image_17032025_00_56_29_4257.jpg', 2), ('/home/nano/Desktop/images/17032025/00/56/image_17032025_00_56_25_4269.jpg', 2), ('/home/nano/Desktop/images/17032025/00/56/image_17032025_00_56_21_4269.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/04/18/image_17032025_04_18_49_4277.jpg', '/home/nano/Desktop/images/17032025/00/57/image_17032025_00_57_01_3241.jpg', '/home/nano/Desktop/images/17032025/00/56/image_17032025_00_56_33_3268.jpg', '/home/nano/Desktop/images/17032025/00/56/image_17032025_00_56_29_4257.jpg', '/home/nano/Desktop/images/17032025/00/56/image_17032025_00_56_25_4269.jpg', '/home/nano/Desktop/images/17032025/00/56/image_17032025_00_56_21_4269.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/04/18/image_17032025_04_18_49_4277.jpg
/home/nano/Desktop/images/17032025/00/57/image_17032025_00_57_01_3241.jpg
/home/nano/Desktop/images/17032025/00/56/image_17032025_00_56_33_3268.jpg
/home/nano/Desktop/images/17032025/00/56/image_17032025_00_56_29_4257.jpg
/home/nano/Desktop/images/17032025/00/56/image_17032025_00_56_25_4269.jpg
/home/nano/Desktop/images/17032025/00/56/image_17032025_00_56_21_4269.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345207830","1345207820","1345207838","1345207823","1345207826","1345207834"],"photo_ids_order":["1345207820","1345207823","1345207826","1345207830","1345207834","1345207838"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/81b74fd57f2c000c4259595f40845df4.jpg","text":"TemporaryFile(/tmp/multipartBody7726122267734110371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321643783,"filename":"image_17032025_00_56_29_4257.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6870d1b340e32a28a839253957f02ba5.jpg","text":"TemporaryFile(/tmp/multipartBody709715544785490327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321643783,"filename":"image_17032025_04_18_49_4277.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8da4525a18591ccbaef538274255feef.jpg","text":"TemporaryFile(/tmp/multipartBody4979004062621759078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321643783,"filename":"image_17032025_00_56_21_4269.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ec9e3eef0d5b6e965a0587756b3d62f1.jpg","text":"TemporaryFile(/tmp/multipartBody7371578667396343741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321643783,"filename":"image_17032025_00_57_01_3241.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/18e6f902b2427c1854e4940cc3a20609.jpg","text":"TemporaryFile(/tmp/multipartBody7296320097089102134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321643783,"filename":"image_17032025_00_56_33_3268.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e62c33bc630db48118361d159794f1b3.jpg","text":"TemporaryFile(/tmp/multipartBody4754543424532075763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321643783,"filename":"image_17032025_00_56_25_4269.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345207826","file1":"1345207823","file0":"1345207820","file4":"1345207834","file5":"1345207838","file3":"1345207830"},"map_files_photo_id_array":[{"photo_id":"1345207838","filename":"file5"},{"photo_id":"1345207826","filename":"file2"},{"photo_id":"1345207834","filename":"file4"},{"photo_id":"1345207823","filename":"file1"},{"photo_id":"1345207820","filename":"file0"},{"photo_id":"1345207830","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345207830":["hashtag1","hashtag2"]},{"1345207820":["hashtag1","hashtag2"]},{"1345207838":["hashtag1","hashtag2"]},{"1345207823":["hashtag1","hashtag2"]},{"1345207826":["hashtag1","hashtag2"]},{"1345207834":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345207830, 1345207820, 1345207838, 1345207823, 1345207826, 1345207834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.315965175628662 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:14:03.215004
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/56/image_17032025_00_56_17_3252.jpg', 2), ('/home/nano/Desktop/images/17032025/00/56/image_17032025_00_56_13_4282.jpg', 2), ('/home/nano/Desktop/images/17032025/00/56/image_17032025_00_56_09_4282.jpg', 2), ('/home/nano/Desktop/images/17032025/00/56/image_17032025_00_56_05_3783.jpg', 2), ('/home/nano/Desktop/images/17032025/00/55/image_17032025_00_56_01_4274.jpg', 2), ('/home/nano/Desktop/images/17032025/00/55/image_17032025_00_55_33_4268.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/56/image_17032025_00_56_17_3252.jpg', '/home/nano/Desktop/images/17032025/00/56/image_17032025_00_56_13_4282.jpg', '/home/nano/Desktop/images/17032025/00/56/image_17032025_00_56_09_4282.jpg', '/home/nano/Desktop/images/17032025/00/56/image_17032025_00_56_05_3783.jpg', '/home/nano/Desktop/images/17032025/00/55/image_17032025_00_56_01_4274.jpg', '/home/nano/Desktop/images/17032025/00/55/image_17032025_00_55_33_4268.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/56/image_17032025_00_56_17_3252.jpg
/home/nano/Desktop/images/17032025/00/56/image_17032025_00_56_13_4282.jpg
/home/nano/Desktop/images/17032025/00/56/image_17032025_00_56_09_4282.jpg
/home/nano/Desktop/images/17032025/00/56/image_17032025_00_56_05_3783.jpg
/home/nano/Desktop/images/17032025/00/55/image_17032025_00_56_01_4274.jpg
/home/nano/Desktop/images/17032025/00/55/image_17032025_00_55_33_4268.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345207865","1345207868","1345207862","1345207879","1345207858","1345207873"],"photo_ids_order":["1345207858","1345207862","1345207865","1345207868","1345207873","1345207879"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a6b973d599d8ec508560e00531aecbfb.jpg","text":"TemporaryFile(/tmp/multipartBody8419374604057622716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321704360,"filename":"image_17032025_00_56_09_4282.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c2495e3d4413ca19bfd87c30a45c63bb.jpg","text":"TemporaryFile(/tmp/multipartBody2695503454118444314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321704360,"filename":"image_17032025_00_56_05_3783.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a79aa7612c567e27f41f48ec09da006b.jpg","text":"TemporaryFile(/tmp/multipartBody294388465061955038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321704360,"filename":"image_17032025_00_56_13_4282.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1b85cb32446fdfb870f124413afdbd6e.jpg","text":"TemporaryFile(/tmp/multipartBody1490475598145052503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321704360,"filename":"image_17032025_00_55_33_4268.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0a5c8d2b7722a54f6f89a161c6338f0b.jpg","text":"TemporaryFile(/tmp/multipartBody3648088247272048351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321704360,"filename":"image_17032025_00_56_17_3252.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dadad4fa25c553a8d201a9a18f37a38e.jpg","text":"TemporaryFile(/tmp/multipartBody6930071946982371464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321704360,"filename":"image_17032025_00_56_01_4274.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345207865","file1":"1345207862","file0":"1345207858","file4":"1345207873","file5":"1345207879","file3":"1345207868"},"map_files_photo_id_array":[{"photo_id":"1345207879","filename":"file5"},{"photo_id":"1345207865","filename":"file2"},{"photo_id":"1345207873","filename":"file4"},{"photo_id":"1345207862","filename":"file1"},{"photo_id":"1345207858","filename":"file0"},{"photo_id":"1345207868","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345207865":["hashtag1","hashtag2"]},{"1345207868":["hashtag1","hashtag2"]},{"1345207862":["hashtag1","hashtag2"]},{"1345207879":["hashtag1","hashtag2"]},{"1345207858":["hashtag1","hashtag2"]},{"1345207873":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345207865, 1345207868, 1345207862, 1345207879, 1345207858, 1345207873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.918094635009766 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:15:03.149315
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/55/image_17032025_00_55_29_4266.jpg', 2), ('/home/nano/Desktop/images/17032025/00/55/image_17032025_00_55_25_3252.jpg', 2), ('/home/nano/Desktop/images/17032025/00/55/image_17032025_00_55_21_4266.jpg', 2), ('/home/nano/Desktop/images/17032025/00/55/image_17032025_00_55_17_4263.jpg', 2), ('/home/nano/Desktop/images/17032025/00/55/image_17032025_00_55_13_4268.jpg', 2), ('/home/nano/Desktop/images/17032025/00/55/image_17032025_00_55_09_3268.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/55/image_17032025_00_55_29_4266.jpg', '/home/nano/Desktop/images/17032025/00/55/image_17032025_00_55_25_3252.jpg', '/home/nano/Desktop/images/17032025/00/55/image_17032025_00_55_21_4266.jpg', '/home/nano/Desktop/images/17032025/00/55/image_17032025_00_55_17_4263.jpg', '/home/nano/Desktop/images/17032025/00/55/image_17032025_00_55_13_4268.jpg', '/home/nano/Desktop/images/17032025/00/55/image_17032025_00_55_09_3268.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/55/image_17032025_00_55_29_4266.jpg
/home/nano/Desktop/images/17032025/00/55/image_17032025_00_55_25_3252.jpg
/home/nano/Desktop/images/17032025/00/55/image_17032025_00_55_21_4266.jpg
/home/nano/Desktop/images/17032025/00/55/image_17032025_00_55_17_4263.jpg
/home/nano/Desktop/images/17032025/00/55/image_17032025_00_55_13_4268.jpg
/home/nano/Desktop/images/17032025/00/55/image_17032025_00_55_09_3268.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345207923","1345207917","1345207913","1345207904","1345207907","1345207909"],"photo_ids_order":["1345207904","1345207907","1345207909","1345207913","1345207917","1345207923"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/280ff66f7b9b892ffa549286136fb6b8.jpg","text":"TemporaryFile(/tmp/multipartBody2532258565006916560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321764299,"filename":"image_17032025_00_55_09_3268.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/227ffe6bbb54b98e3025399e6ba1e436.jpg","text":"TemporaryFile(/tmp/multipartBody7233503392115121338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321764299,"filename":"image_17032025_00_55_13_4268.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4c78b7f5a3dcd1180e252152cfd7c903.jpg","text":"TemporaryFile(/tmp/multipartBody5678175363402567872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321764299,"filename":"image_17032025_00_55_17_4263.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5adcdf193e7e22b7d4c148590a7dd2f6.jpg","text":"TemporaryFile(/tmp/multipartBody7970697947321257192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321764299,"filename":"image_17032025_00_55_29_4266.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e4252d7b5ca5a8ae7ec1e2de29a1ebf5.jpg","text":"TemporaryFile(/tmp/multipartBody1508507825867469764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321764299,"filename":"image_17032025_00_55_25_3252.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9ddd1f15b88c17746d866926cacd4043.jpg","text":"TemporaryFile(/tmp/multipartBody8367699471261212099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321764299,"filename":"image_17032025_00_55_21_4266.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345207909","file1":"1345207907","file0":"1345207904","file4":"1345207917","file5":"1345207923","file3":"1345207913"},"map_files_photo_id_array":[{"photo_id":"1345207923","filename":"file5"},{"photo_id":"1345207909","filename":"file2"},{"photo_id":"1345207917","filename":"file4"},{"photo_id":"1345207907","filename":"file1"},{"photo_id":"1345207904","filename":"file0"},{"photo_id":"1345207913","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345207923":["hashtag1","hashtag2"]},{"1345207917":["hashtag1","hashtag2"]},{"1345207913":["hashtag1","hashtag2"]},{"1345207904":["hashtag1","hashtag2"]},{"1345207907":["hashtag1","hashtag2"]},{"1345207909":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345207923, 1345207917, 1345207913, 1345207904, 1345207907, 1345207909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.90268087387085 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:16:03.069833
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/55/image_17032025_00_55_05_4085.jpg', 2), ('/home/nano/Desktop/images/17032025/00/54/image_17032025_00_55_01_4264.jpg', 2), ('/home/nano/Desktop/images/17032025/00/54/image_17032025_00_54_33_4300.jpg', 2), ('/home/nano/Desktop/images/17032025/00/54/image_17032025_00_54_29_4265.jpg', 2), ('/home/nano/Desktop/images/17032025/00/54/image_17032025_00_54_25_3255.jpg', 2), ('/home/nano/Desktop/images/17032025/00/54/image_17032025_00_54_22_4295.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/55/image_17032025_00_55_05_4085.jpg', '/home/nano/Desktop/images/17032025/00/54/image_17032025_00_55_01_4264.jpg', '/home/nano/Desktop/images/17032025/00/54/image_17032025_00_54_33_4300.jpg', '/home/nano/Desktop/images/17032025/00/54/image_17032025_00_54_29_4265.jpg', '/home/nano/Desktop/images/17032025/00/54/image_17032025_00_54_25_3255.jpg', '/home/nano/Desktop/images/17032025/00/54/image_17032025_00_54_22_4295.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/55/image_17032025_00_55_05_4085.jpg
/home/nano/Desktop/images/17032025/00/54/image_17032025_00_55_01_4264.jpg
/home/nano/Desktop/images/17032025/00/54/image_17032025_00_54_33_4300.jpg
/home/nano/Desktop/images/17032025/00/54/image_17032025_00_54_29_4265.jpg
/home/nano/Desktop/images/17032025/00/54/image_17032025_00_54_25_3255.jpg
/home/nano/Desktop/images/17032025/00/54/image_17032025_00_54_22_4295.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345208072","1345208068","1345208044","1345208082","1345208064","1345208076"],"photo_ids_order":["1345208044","1345208064","1345208068","1345208072","1345208076","1345208082"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c57687b004802531409ad85784924ea7.jpg","text":"TemporaryFile(/tmp/multipartBody3355716907168525016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321824228,"filename":"image_17032025_00_54_29_4265.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2f671db86fc71012eb879128c435266c.jpg","text":"TemporaryFile(/tmp/multipartBody6255502272774333048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321824228,"filename":"image_17032025_00_54_33_4300.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/03cb78b0720cc57b0ed74382c78b55b3.jpg","text":"TemporaryFile(/tmp/multipartBody2382902925218871446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321824228,"filename":"image_17032025_00_55_05_4085.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ac8b9b09de7a65bbf8eb654c4b982f9a.jpg","text":"TemporaryFile(/tmp/multipartBody226918106676014925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321824228,"filename":"image_17032025_00_54_22_4295.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/92c653495cf0c517b496b5131656e525.jpg","text":"TemporaryFile(/tmp/multipartBody492052660898095387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321824228,"filename":"image_17032025_00_55_01_4264.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/418b29d74409ad14d72997a5ebc2e2c5.jpg","text":"TemporaryFile(/tmp/multipartBody8167520832580234111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321824228,"filename":"image_17032025_00_54_25_3255.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345208068","file1":"1345208064","file0":"1345208044","file4":"1345208076","file5":"1345208082","file3":"1345208072"},"map_files_photo_id_array":[{"photo_id":"1345208082","filename":"file5"},{"photo_id":"1345208068","filename":"file2"},{"photo_id":"1345208076","filename":"file4"},{"photo_id":"1345208064","filename":"file1"},{"photo_id":"1345208044","filename":"file0"},{"photo_id":"1345208072","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345208072":["hashtag1","hashtag2"]},{"1345208068":["hashtag1","hashtag2"]},{"1345208044":["hashtag1","hashtag2"]},{"1345208082":["hashtag1","hashtag2"]},{"1345208064":["hashtag1","hashtag2"]},{"1345208076":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345208072, 1345208068, 1345208044, 1345208082, 1345208064, 1345208076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.52295160293579 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:17:02.466255
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/54/image_17032025_00_54_17_4264.jpg', 2), ('/home/nano/Desktop/images/17032025/00/54/image_17032025_00_54_13_4273.jpg', 2), ('/home/nano/Desktop/images/17032025/00/54/image_17032025_00_54_09_3255.jpg', 2), ('/home/nano/Desktop/images/17032025/00/54/image_17032025_00_54_05_4701.jpg', 2), ('/home/nano/Desktop/images/17032025/00/54/image_17032025_00_54_01_3243.jpg', 2), ('/home/nano/Desktop/images/17032025/00/53/image_17032025_00_53_33_4270.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/54/image_17032025_00_54_17_4264.jpg', '/home/nano/Desktop/images/17032025/00/54/image_17032025_00_54_13_4273.jpg', '/home/nano/Desktop/images/17032025/00/54/image_17032025_00_54_09_3255.jpg', '/home/nano/Desktop/images/17032025/00/54/image_17032025_00_54_05_4701.jpg', '/home/nano/Desktop/images/17032025/00/54/image_17032025_00_54_01_3243.jpg', '/home/nano/Desktop/images/17032025/00/53/image_17032025_00_53_33_4270.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/54/image_17032025_00_54_17_4264.jpg
/home/nano/Desktop/images/17032025/00/54/image_17032025_00_54_13_4273.jpg
/home/nano/Desktop/images/17032025/00/54/image_17032025_00_54_09_3255.jpg
/home/nano/Desktop/images/17032025/00/54/image_17032025_00_54_05_4701.jpg
/home/nano/Desktop/images/17032025/00/54/image_17032025_00_54_01_3243.jpg
/home/nano/Desktop/images/17032025/00/53/image_17032025_00_53_33_4270.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345208112","1345208108","1345208098","1345208117","1345208105","1345208101"],"photo_ids_order":["1345208098","1345208101","1345208105","1345208108","1345208112","1345208117"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/904fa45a20b69a73aa5bf5b77191a627.jpg","text":"TemporaryFile(/tmp/multipartBody3682331234148522960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321883655,"filename":"image_17032025_00_54_01_3243.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dd0721b5e08eac637d8c09d53891223f.jpg","text":"TemporaryFile(/tmp/multipartBody4107963311312995674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321883655,"filename":"image_17032025_00_54_05_4701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/402db637f67e4963183fc78370f84d5f.jpg","text":"TemporaryFile(/tmp/multipartBody4541217037269846920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321883655,"filename":"image_17032025_00_54_17_4264.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9183257d0bcfa434b57e39fccf2c09cd.jpg","text":"TemporaryFile(/tmp/multipartBody3461319314857231166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321883655,"filename":"image_17032025_00_53_33_4270.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/35d3117f48e3206fb2ede71ca4cfa393.jpg","text":"TemporaryFile(/tmp/multipartBody4643899000765638159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321883655,"filename":"image_17032025_00_54_09_3255.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3d942ddbe0657d98d4b0238642963521.jpg","text":"TemporaryFile(/tmp/multipartBody349556436176067080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321883655,"filename":"image_17032025_00_54_13_4273.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345208105","file1":"1345208101","file0":"1345208098","file4":"1345208112","file5":"1345208117","file3":"1345208108"},"map_files_photo_id_array":[{"photo_id":"1345208117","filename":"file5"},{"photo_id":"1345208105","filename":"file2"},{"photo_id":"1345208112","filename":"file4"},{"photo_id":"1345208101","filename":"file1"},{"photo_id":"1345208098","filename":"file0"},{"photo_id":"1345208108","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345208112":["hashtag1","hashtag2"]},{"1345208108":["hashtag1","hashtag2"]},{"1345208098":["hashtag1","hashtag2"]},{"1345208117":["hashtag1","hashtag2"]},{"1345208105":["hashtag1","hashtag2"]},{"1345208101":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345208112, 1345208108, 1345208098, 1345208117, 1345208105, 1345208101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.91655993461609 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:18:02.679882
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/53/image_17032025_00_53_29_3261.jpg', 2), ('/home/nano/Desktop/images/17032025/00/53/image_17032025_00_53_25_4264.jpg', 2), ('/home/nano/Desktop/images/17032025/00/53/image_17032025_00_53_21_4261.jpg', 2), ('/home/nano/Desktop/images/17032025/00/53/image_17032025_00_53_14_4266.jpg', 2), ('/home/nano/Desktop/images/17032025/00/53/image_17032025_00_53_09_4262.jpg', 2), ('/home/nano/Desktop/images/17032025/00/53/image_17032025_00_53_05_3686.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/53/image_17032025_00_53_29_3261.jpg', '/home/nano/Desktop/images/17032025/00/53/image_17032025_00_53_25_4264.jpg', '/home/nano/Desktop/images/17032025/00/53/image_17032025_00_53_21_4261.jpg', '/home/nano/Desktop/images/17032025/00/53/image_17032025_00_53_14_4266.jpg', '/home/nano/Desktop/images/17032025/00/53/image_17032025_00_53_09_4262.jpg', '/home/nano/Desktop/images/17032025/00/53/image_17032025_00_53_05_3686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/53/image_17032025_00_53_29_3261.jpg
/home/nano/Desktop/images/17032025/00/53/image_17032025_00_53_25_4264.jpg
/home/nano/Desktop/images/17032025/00/53/image_17032025_00_53_21_4261.jpg
/home/nano/Desktop/images/17032025/00/53/image_17032025_00_53_14_4266.jpg
/home/nano/Desktop/images/17032025/00/53/image_17032025_00_53_09_4262.jpg
/home/nano/Desktop/images/17032025/00/53/image_17032025_00_53_05_3686.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345208156","1345208134","1345208137","1345208146","1345208151","1345208142"],"photo_ids_order":["1345208134","1345208137","1345208142","1345208146","1345208151","1345208156"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/41db478f95fd364cf1ac48b8e2869eb0.jpg","text":"TemporaryFile(/tmp/multipartBody4689561607053817314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321943875,"filename":"image_17032025_00_53_05_3686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/17976adedf916f25749ad02c5f207638.jpg","text":"TemporaryFile(/tmp/multipartBody3044848965813317635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321943875,"filename":"image_17032025_00_53_29_3261.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9b188e278ee681480481af62013e2721.jpg","text":"TemporaryFile(/tmp/multipartBody4216995195240237285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321943875,"filename":"image_17032025_00_53_25_4264.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b2b84ee99b5b403e734bcd9277e4fe58.jpg","text":"TemporaryFile(/tmp/multipartBody1130772371354882654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321943875,"filename":"image_17032025_00_53_14_4266.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/84a6175103be44ba9e4c02501da46217.jpg","text":"TemporaryFile(/tmp/multipartBody1308640193061469026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321943875,"filename":"image_17032025_00_53_09_4262.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2c1dd43ab679618e4aa6c7cda7cd486a.jpg","text":"TemporaryFile(/tmp/multipartBody3764746010727735033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742321943875,"filename":"image_17032025_00_53_21_4261.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345208142","file1":"1345208137","file0":"1345208134","file4":"1345208151","file5":"1345208156","file3":"1345208146"},"map_files_photo_id_array":[{"photo_id":"1345208156","filename":"file5"},{"photo_id":"1345208142","filename":"file2"},{"photo_id":"1345208151","filename":"file4"},{"photo_id":"1345208137","filename":"file1"},{"photo_id":"1345208134","filename":"file0"},{"photo_id":"1345208146","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345208156":["hashtag1","hashtag2"]},{"1345208134":["hashtag1","hashtag2"]},{"1345208137":["hashtag1","hashtag2"]},{"1345208146":["hashtag1","hashtag2"]},{"1345208151":["hashtag1","hashtag2"]},{"1345208142":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345208156, 1345208134, 1345208137, 1345208146, 1345208151, 1345208142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.973665952682495 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:19:03.173155
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/52/image_17032025_00_53_01_4271.jpg', 2), ('/home/nano/Desktop/images/17032025/00/52/image_17032025_00_52_37_3259.jpg', 2), ('/home/nano/Desktop/images/17032025/00/52/image_17032025_00_52_33_4272.jpg', 2), ('/home/nano/Desktop/images/17032025/00/52/image_17032025_00_52_29_4272.jpg', 2), ('/home/nano/Desktop/images/17032025/00/52/image_17032025_00_52_25_4270.jpg', 2), ('/home/nano/Desktop/images/17032025/00/52/image_17032025_00_52_21_3264.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/52/image_17032025_00_53_01_4271.jpg', '/home/nano/Desktop/images/17032025/00/52/image_17032025_00_52_37_3259.jpg', '/home/nano/Desktop/images/17032025/00/52/image_17032025_00_52_33_4272.jpg', '/home/nano/Desktop/images/17032025/00/52/image_17032025_00_52_29_4272.jpg', '/home/nano/Desktop/images/17032025/00/52/image_17032025_00_52_25_4270.jpg', '/home/nano/Desktop/images/17032025/00/52/image_17032025_00_52_21_3264.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/52/image_17032025_00_53_01_4271.jpg
/home/nano/Desktop/images/17032025/00/52/image_17032025_00_52_37_3259.jpg
/home/nano/Desktop/images/17032025/00/52/image_17032025_00_52_33_4272.jpg
/home/nano/Desktop/images/17032025/00/52/image_17032025_00_52_29_4272.jpg
/home/nano/Desktop/images/17032025/00/52/image_17032025_00_52_25_4270.jpg
/home/nano/Desktop/images/17032025/00/52/image_17032025_00_52_21_3264.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345208174","1345208197","1345208191","1345208181","1345208178","1345208186"],"photo_ids_order":["1345208174","1345208178","1345208181","1345208186","1345208191","1345208197"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/72e4fa1f55ce0770c2498151940d0145.jpg","text":"TemporaryFile(/tmp/multipartBody4983867197156518372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322004348,"filename":"image_17032025_00_53_01_4271.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/92b4c922df9c0e4ae4e80b2e928068aa.jpg","text":"TemporaryFile(/tmp/multipartBody259078741595013498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322004348,"filename":"image_17032025_00_52_21_3264.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f0155ed06c268c0978e2dda814367c63.jpg","text":"TemporaryFile(/tmp/multipartBody3396654593716503110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322004348,"filename":"image_17032025_00_52_25_4270.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e7091d4155c707ff1be928ad9b1b6581.jpg","text":"TemporaryFile(/tmp/multipartBody5562866586711140977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322004348,"filename":"image_17032025_00_52_33_4272.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/34df7d0acc6668418af792d1d4f82958.jpg","text":"TemporaryFile(/tmp/multipartBody3518794532671411739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322004348,"filename":"image_17032025_00_52_37_3259.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/138c96ec7ea4a7fc24353441576bf0bc.jpg","text":"TemporaryFile(/tmp/multipartBody7927331466915501205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322004348,"filename":"image_17032025_00_52_29_4272.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345208181","file1":"1345208178","file0":"1345208174","file4":"1345208191","file5":"1345208197","file3":"1345208186"},"map_files_photo_id_array":[{"photo_id":"1345208197","filename":"file5"},{"photo_id":"1345208181","filename":"file2"},{"photo_id":"1345208191","filename":"file4"},{"photo_id":"1345208178","filename":"file1"},{"photo_id":"1345208174","filename":"file0"},{"photo_id":"1345208186","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345208174":["hashtag1","hashtag2"]},{"1345208197":["hashtag1","hashtag2"]},{"1345208191":["hashtag1","hashtag2"]},{"1345208181":["hashtag1","hashtag2"]},{"1345208178":["hashtag1","hashtag2"]},{"1345208186":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345208174, 1345208197, 1345208191, 1345208181, 1345208178, 1345208186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.416380405426025 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:20:03.078082
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/52/image_17032025_00_52_17_4267.jpg', 2), ('/home/nano/Desktop/images/17032025/00/52/image_17032025_00_52_13_4311.jpg', 2), ('/home/nano/Desktop/images/17032025/00/52/image_17032025_00_52_09_3263.jpg', 2), ('/home/nano/Desktop/images/17032025/00/52/image_17032025_00_52_06_4772.jpg', 2), ('/home/nano/Desktop/images/17032025/00/52/image_17032025_00_52_01_3250.jpg', 2), ('/home/nano/Desktop/images/17032025/00/51/image_17032025_00_51_58_4265.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/52/image_17032025_00_52_17_4267.jpg', '/home/nano/Desktop/images/17032025/00/52/image_17032025_00_52_13_4311.jpg', '/home/nano/Desktop/images/17032025/00/52/image_17032025_00_52_09_3263.jpg', '/home/nano/Desktop/images/17032025/00/52/image_17032025_00_52_06_4772.jpg', '/home/nano/Desktop/images/17032025/00/52/image_17032025_00_52_01_3250.jpg', '/home/nano/Desktop/images/17032025/00/51/image_17032025_00_51_58_4265.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/52/image_17032025_00_52_17_4267.jpg
/home/nano/Desktop/images/17032025/00/52/image_17032025_00_52_13_4311.jpg
/home/nano/Desktop/images/17032025/00/52/image_17032025_00_52_09_3263.jpg
/home/nano/Desktop/images/17032025/00/52/image_17032025_00_52_06_4772.jpg
/home/nano/Desktop/images/17032025/00/52/image_17032025_00_52_01_3250.jpg
/home/nano/Desktop/images/17032025/00/51/image_17032025_00_51_58_4265.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345208264","1345208237","1345208240","1345208398","1345208244","1345208349"],"photo_ids_order":["1345208237","1345208240","1345208244","1345208264","1345208349","1345208398"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dfd9ccd70c82cc3fc541afbfa37c9ab9.jpg","text":"TemporaryFile(/tmp/multipartBody2051213753412226473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322064220,"filename":"image_17032025_00_52_06_4772.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/78e58b5be1579aa42af0b441815bec33.jpg","text":"TemporaryFile(/tmp/multipartBody8136602258437514152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322064220,"filename":"image_17032025_00_52_17_4267.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3aefa5cdc7b31d385f5fc3dc680d59a5.jpg","text":"TemporaryFile(/tmp/multipartBody9123493514689890770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322064220,"filename":"image_17032025_00_52_13_4311.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f49791f84e1f8be229d2bbe0597c2746.jpg","text":"TemporaryFile(/tmp/multipartBody8040443967963706673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322064220,"filename":"image_17032025_00_51_58_4265.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bd63f8172fc7f4c82a7c474653e9ba58.jpg","text":"TemporaryFile(/tmp/multipartBody7909873281717012764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322064220,"filename":"image_17032025_00_52_09_3263.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/92c2095b834fe1e3f05f4cd27ff1a89b.jpg","text":"TemporaryFile(/tmp/multipartBody584149183335215470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322064220,"filename":"image_17032025_00_52_01_3250.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345208244","file1":"1345208240","file0":"1345208237","file4":"1345208349","file5":"1345208398","file3":"1345208264"},"map_files_photo_id_array":[{"photo_id":"1345208398","filename":"file5"},{"photo_id":"1345208244","filename":"file2"},{"photo_id":"1345208349","filename":"file4"},{"photo_id":"1345208240","filename":"file1"},{"photo_id":"1345208237","filename":"file0"},{"photo_id":"1345208264","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345208264":["hashtag1","hashtag2"]},{"1345208237":["hashtag1","hashtag2"]},{"1345208240":["hashtag1","hashtag2"]},{"1345208398":["hashtag1","hashtag2"]},{"1345208244":["hashtag1","hashtag2"]},{"1345208349":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345208264, 1345208237, 1345208240, 1345208398, 1345208244, 1345208349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.204930782318115 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:21:03.195210
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/51/image_17032025_00_51_29_3266.jpg', 2), ('/home/nano/Desktop/images/17032025/00/51/image_17032025_00_51_25_4261.jpg', 2), ('/home/nano/Desktop/images/17032025/00/51/image_17032025_00_51_21_4278.jpg', 2), ('/home/nano/Desktop/images/17032025/00/51/image_17032025_00_51_17_4265.jpg', 2), ('/home/nano/Desktop/images/17032025/00/51/image_17032025_00_51_13_3285.jpg', 2), ('/home/nano/Desktop/images/17032025/00/51/image_17032025_00_51_09_4273.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/51/image_17032025_00_51_29_3266.jpg', '/home/nano/Desktop/images/17032025/00/51/image_17032025_00_51_25_4261.jpg', '/home/nano/Desktop/images/17032025/00/51/image_17032025_00_51_21_4278.jpg', '/home/nano/Desktop/images/17032025/00/51/image_17032025_00_51_17_4265.jpg', '/home/nano/Desktop/images/17032025/00/51/image_17032025_00_51_13_3285.jpg', '/home/nano/Desktop/images/17032025/00/51/image_17032025_00_51_09_4273.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/51/image_17032025_00_51_29_3266.jpg
/home/nano/Desktop/images/17032025/00/51/image_17032025_00_51_25_4261.jpg
/home/nano/Desktop/images/17032025/00/51/image_17032025_00_51_21_4278.jpg
/home/nano/Desktop/images/17032025/00/51/image_17032025_00_51_17_4265.jpg
/home/nano/Desktop/images/17032025/00/51/image_17032025_00_51_13_3285.jpg
/home/nano/Desktop/images/17032025/00/51/image_17032025_00_51_09_4273.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345208709","1345208843","1345208731","1345208809","1345208712","1345208706"],"photo_ids_order":["1345208706","1345208709","1345208712","1345208731","1345208809","1345208843"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/50d2ded1bbcd435a37e8bcd214379ed3.jpg","text":"TemporaryFile(/tmp/multipartBody1659427912866412160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322124326,"filename":"image_17032025_00_51_25_4261.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/df345cc14b0a7634e18a2bb16fe780cc.jpg","text":"TemporaryFile(/tmp/multipartBody6444225249240888568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322124326,"filename":"image_17032025_00_51_09_4273.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0a004d3c4ce427cc1556ae681dec5904.jpg","text":"TemporaryFile(/tmp/multipartBody4699253062656062720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322124326,"filename":"image_17032025_00_51_17_4265.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/58ce3e3a30c3b6d0861d8c486558fbd7.jpg","text":"TemporaryFile(/tmp/multipartBody7096684678982670661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322124326,"filename":"image_17032025_00_51_13_3285.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/42f6782d54e3a0a8c612efeae7be4ac2.jpg","text":"TemporaryFile(/tmp/multipartBody6985025916544034113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322124326,"filename":"image_17032025_00_51_21_4278.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/924c4e5fd8cc2cca2ff651ecda50f11b.jpg","text":"TemporaryFile(/tmp/multipartBody198283956669873133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322124326,"filename":"image_17032025_00_51_29_3266.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345208712","file1":"1345208709","file0":"1345208706","file4":"1345208809","file5":"1345208843","file3":"1345208731"},"map_files_photo_id_array":[{"photo_id":"1345208843","filename":"file5"},{"photo_id":"1345208712","filename":"file2"},{"photo_id":"1345208809","filename":"file4"},{"photo_id":"1345208709","filename":"file1"},{"photo_id":"1345208706","filename":"file0"},{"photo_id":"1345208731","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345208709":["hashtag1","hashtag2"]},{"1345208843":["hashtag1","hashtag2"]},{"1345208731":["hashtag1","hashtag2"]},{"1345208809":["hashtag1","hashtag2"]},{"1345208712":["hashtag1","hashtag2"]},{"1345208706":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345208709, 1345208843, 1345208731, 1345208809, 1345208712, 1345208706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.168041467666626 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:22:02.535113
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/51/image_17032025_00_51_05_3453.jpg', 2), ('/home/nano/Desktop/images/17032025/00/51/image_17032025_00_51_02_4256.jpg', 2), ('/home/nano/Desktop/images/17032025/00/50/image_17032025_00_50_57_4263.jpg', 2), ('/home/nano/Desktop/images/17032025/00/50/image_17032025_00_50_29_4268.jpg', 2), ('/home/nano/Desktop/images/17032025/00/50/image_17032025_00_50_25_4267.jpg', 2), ('/home/nano/Desktop/images/17032025/00/50/image_17032025_00_50_21_4275.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/51/image_17032025_00_51_05_3453.jpg', '/home/nano/Desktop/images/17032025/00/51/image_17032025_00_51_02_4256.jpg', '/home/nano/Desktop/images/17032025/00/50/image_17032025_00_50_57_4263.jpg', '/home/nano/Desktop/images/17032025/00/50/image_17032025_00_50_29_4268.jpg', '/home/nano/Desktop/images/17032025/00/50/image_17032025_00_50_25_4267.jpg', '/home/nano/Desktop/images/17032025/00/50/image_17032025_00_50_21_4275.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/51/image_17032025_00_51_05_3453.jpg
/home/nano/Desktop/images/17032025/00/51/image_17032025_00_51_02_4256.jpg
/home/nano/Desktop/images/17032025/00/50/image_17032025_00_50_57_4263.jpg
/home/nano/Desktop/images/17032025/00/50/image_17032025_00_50_29_4268.jpg
/home/nano/Desktop/images/17032025/00/50/image_17032025_00_50_25_4267.jpg
/home/nano/Desktop/images/17032025/00/50/image_17032025_00_50_21_4275.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345209052","1345209055","1345208989","1345209030","1345209009","1345209018"],"photo_ids_order":["1345208989","1345209009","1345209018","1345209030","1345209052","1345209055"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ad72bb2f449b8787800c54294c7ab088.jpg","text":"TemporaryFile(/tmp/multipartBody4091213154818756419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322183681,"filename":"image_17032025_00_50_25_4267.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/22efef1ee48b692ae19a0902308c96da.jpg","text":"TemporaryFile(/tmp/multipartBody1393941934579302651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322183681,"filename":"image_17032025_00_50_21_4275.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/62ce3a7913f1d84dfe42fb215da02062.jpg","text":"TemporaryFile(/tmp/multipartBody8193969705938723721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322183681,"filename":"image_17032025_00_51_05_3453.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/078403359fbed381442e16c5bc5aae0b.jpg","text":"TemporaryFile(/tmp/multipartBody1052991347303342144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322183681,"filename":"image_17032025_00_50_29_4268.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/aad6748faeae5b4e2b32b0a2b7b8b6e7.jpg","text":"TemporaryFile(/tmp/multipartBody294690990028247209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322183681,"filename":"image_17032025_00_51_02_4256.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a9d38d8f2d9725bdae2bff93b88aefd5.jpg","text":"TemporaryFile(/tmp/multipartBody7467286436010813828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322183681,"filename":"image_17032025_00_50_57_4263.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345209018","file1":"1345209009","file0":"1345208989","file4":"1345209052","file5":"1345209055","file3":"1345209030"},"map_files_photo_id_array":[{"photo_id":"1345209055","filename":"file5"},{"photo_id":"1345209018","filename":"file2"},{"photo_id":"1345209052","filename":"file4"},{"photo_id":"1345209009","filename":"file1"},{"photo_id":"1345208989","filename":"file0"},{"photo_id":"1345209030","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345209052":["hashtag1","hashtag2"]},{"1345209055":["hashtag1","hashtag2"]},{"1345208989":["hashtag1","hashtag2"]},{"1345209030":["hashtag1","hashtag2"]},{"1345209009":["hashtag1","hashtag2"]},{"1345209018":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345209052, 1345209055, 1345208989, 1345209030, 1345209009, 1345209018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.961143016815186 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:23:02.572552
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/50/image_17032025_00_50_17_3253.jpg', 2), ('/home/nano/Desktop/images/17032025/00/50/image_17032025_00_50_13_4259.jpg', 2), ('/home/nano/Desktop/images/17032025/00/50/image_17032025_00_50_09_4301.jpg', 2), ('/home/nano/Desktop/images/17032025/00/50/image_17032025_00_50_05_3838.jpg', 2), ('/home/nano/Desktop/images/17032025/00/49/image_17032025_00_50_01_4274.jpg', 2), ('/home/nano/Desktop/images/17032025/00/49/image_17032025_00_49_33_4267.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/50/image_17032025_00_50_17_3253.jpg', '/home/nano/Desktop/images/17032025/00/50/image_17032025_00_50_13_4259.jpg', '/home/nano/Desktop/images/17032025/00/50/image_17032025_00_50_09_4301.jpg', '/home/nano/Desktop/images/17032025/00/50/image_17032025_00_50_05_3838.jpg', '/home/nano/Desktop/images/17032025/00/49/image_17032025_00_50_01_4274.jpg', '/home/nano/Desktop/images/17032025/00/49/image_17032025_00_49_33_4267.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/50/image_17032025_00_50_17_3253.jpg
/home/nano/Desktop/images/17032025/00/50/image_17032025_00_50_13_4259.jpg
/home/nano/Desktop/images/17032025/00/50/image_17032025_00_50_09_4301.jpg
/home/nano/Desktop/images/17032025/00/50/image_17032025_00_50_05_3838.jpg
/home/nano/Desktop/images/17032025/00/49/image_17032025_00_50_01_4274.jpg
/home/nano/Desktop/images/17032025/00/49/image_17032025_00_49_33_4267.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345209158","1345209146","1345209152","1345209161","1345209155","1345209149"],"photo_ids_order":["1345209146","1345209149","1345209152","1345209155","1345209158","1345209161"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c12b17b38949e3a485592e7a357097b1.jpg","text":"TemporaryFile(/tmp/multipartBody3762445486713417388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322243729,"filename":"image_17032025_00_50_01_4274.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/094e507cb6f212df06f5c28db8ea2c3b.jpg","text":"TemporaryFile(/tmp/multipartBody3563442674268114715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322243729,"filename":"image_17032025_00_50_17_3253.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1615e5d3cd9fe681df14c025ba48a902.jpg","text":"TemporaryFile(/tmp/multipartBody2011059296270885838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322243729,"filename":"image_17032025_00_50_09_4301.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5ea7f25e6c6bf754fceab23f3b56c106.jpg","text":"TemporaryFile(/tmp/multipartBody5075766850240707853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322243729,"filename":"image_17032025_00_49_33_4267.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ac3f93b71e56803e83ba251a71bad284.jpg","text":"TemporaryFile(/tmp/multipartBody6343230309670246688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322243729,"filename":"image_17032025_00_50_05_3838.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ceb9ffb0c98afc331b1fce67c889008a.jpg","text":"TemporaryFile(/tmp/multipartBody2502030645005620358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322243729,"filename":"image_17032025_00_50_13_4259.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345209152","file1":"1345209149","file0":"1345209146","file4":"1345209158","file5":"1345209161","file3":"1345209155"},"map_files_photo_id_array":[{"photo_id":"1345209161","filename":"file5"},{"photo_id":"1345209152","filename":"file2"},{"photo_id":"1345209158","filename":"file4"},{"photo_id":"1345209149","filename":"file1"},{"photo_id":"1345209146","filename":"file0"},{"photo_id":"1345209155","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345209158":["hashtag1","hashtag2"]},{"1345209146":["hashtag1","hashtag2"]},{"1345209152":["hashtag1","hashtag2"]},{"1345209161":["hashtag1","hashtag2"]},{"1345209155":["hashtag1","hashtag2"]},{"1345209149":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345209158, 1345209146, 1345209152, 1345209161, 1345209155, 1345209149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.39483380317688 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:24:02.910998
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/49/image_17032025_00_49_29_4263.jpg', 2), ('/home/nano/Desktop/images/17032025/00/49/image_17032025_00_49_25_3257.jpg', 2), ('/home/nano/Desktop/images/17032025/00/49/image_17032025_00_49_21_4268.jpg', 2), ('/home/nano/Desktop/images/17032025/00/49/image_17032025_00_49_17_4263.jpg', 2), ('/home/nano/Desktop/images/17032025/00/49/image_17032025_00_49_13_3294.jpg', 2), ('/home/nano/Desktop/images/17032025/00/49/image_17032025_00_49_09_4271.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/49/image_17032025_00_49_29_4263.jpg', '/home/nano/Desktop/images/17032025/00/49/image_17032025_00_49_25_3257.jpg', '/home/nano/Desktop/images/17032025/00/49/image_17032025_00_49_21_4268.jpg', '/home/nano/Desktop/images/17032025/00/49/image_17032025_00_49_17_4263.jpg', '/home/nano/Desktop/images/17032025/00/49/image_17032025_00_49_13_3294.jpg', '/home/nano/Desktop/images/17032025/00/49/image_17032025_00_49_09_4271.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/49/image_17032025_00_49_29_4263.jpg
/home/nano/Desktop/images/17032025/00/49/image_17032025_00_49_25_3257.jpg
/home/nano/Desktop/images/17032025/00/49/image_17032025_00_49_21_4268.jpg
/home/nano/Desktop/images/17032025/00/49/image_17032025_00_49_17_4263.jpg
/home/nano/Desktop/images/17032025/00/49/image_17032025_00_49_13_3294.jpg
/home/nano/Desktop/images/17032025/00/49/image_17032025_00_49_09_4271.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345209193","1345209186","1345209189","1345209197","1345209201","1345209182"],"photo_ids_order":["1345209182","1345209186","1345209189","1345209193","1345209197","1345209201"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4a064501792d566aff29f730dd31b09c.jpg","text":"TemporaryFile(/tmp/multipartBody3650445588656035825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322304111,"filename":"image_17032025_00_49_17_4263.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/65f3c0192f3ef2da5aeaf212ac27431f.jpg","text":"TemporaryFile(/tmp/multipartBody2472247736673801791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322304111,"filename":"image_17032025_00_49_25_3257.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c7ca6a7769525f9b095c0f775c26fd08.jpg","text":"TemporaryFile(/tmp/multipartBody5044404414778418708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322304111,"filename":"image_17032025_00_49_21_4268.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/df75a235f6ce4a578e55fbc16295cb7c.jpg","text":"TemporaryFile(/tmp/multipartBody7262789930089058414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322304111,"filename":"image_17032025_00_49_13_3294.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e0a96dc87899243147672953098dbc3f.jpg","text":"TemporaryFile(/tmp/multipartBody4830690304151234981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322304111,"filename":"image_17032025_00_49_09_4271.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a65c74b0929487826db3113ac4c5e16b.jpg","text":"TemporaryFile(/tmp/multipartBody7509754967154318825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322304111,"filename":"image_17032025_00_49_29_4263.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345209189","file1":"1345209186","file0":"1345209182","file4":"1345209197","file5":"1345209201","file3":"1345209193"},"map_files_photo_id_array":[{"photo_id":"1345209201","filename":"file5"},{"photo_id":"1345209189","filename":"file2"},{"photo_id":"1345209197","filename":"file4"},{"photo_id":"1345209186","filename":"file1"},{"photo_id":"1345209182","filename":"file0"},{"photo_id":"1345209193","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345209193":["hashtag1","hashtag2"]},{"1345209186":["hashtag1","hashtag2"]},{"1345209189":["hashtag1","hashtag2"]},{"1345209197":["hashtag1","hashtag2"]},{"1345209201":["hashtag1","hashtag2"]},{"1345209182":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345209193, 1345209186, 1345209189, 1345209197, 1345209201, 1345209182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54891848564148 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:25:02.989702
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/49/image_17032025_00_49_05_4512.jpg', 2), ('/home/nano/Desktop/images/17032025/00/49/image_17032025_00_49_01_3265.jpg', 2), ('/home/nano/Desktop/images/17032025/00/48/image_17032025_00_48_33_4266.jpg', 2), ('/home/nano/Desktop/images/17032025/00/48/image_17032025_00_48_29_3252.jpg', 2), ('/home/nano/Desktop/images/17032025/00/48/image_17032025_00_48_25_4257.jpg', 2), ('/home/nano/Desktop/images/17032025/00/48/image_17032025_00_48_21_4270.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/49/image_17032025_00_49_05_4512.jpg', '/home/nano/Desktop/images/17032025/00/49/image_17032025_00_49_01_3265.jpg', '/home/nano/Desktop/images/17032025/00/48/image_17032025_00_48_33_4266.jpg', '/home/nano/Desktop/images/17032025/00/48/image_17032025_00_48_29_3252.jpg', '/home/nano/Desktop/images/17032025/00/48/image_17032025_00_48_25_4257.jpg', '/home/nano/Desktop/images/17032025/00/48/image_17032025_00_48_21_4270.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/49/image_17032025_00_49_05_4512.jpg
/home/nano/Desktop/images/17032025/00/49/image_17032025_00_49_01_3265.jpg
/home/nano/Desktop/images/17032025/00/48/image_17032025_00_48_33_4266.jpg
/home/nano/Desktop/images/17032025/00/48/image_17032025_00_48_29_3252.jpg
/home/nano/Desktop/images/17032025/00/48/image_17032025_00_48_25_4257.jpg
/home/nano/Desktop/images/17032025/00/48/image_17032025_00_48_21_4270.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345209236","1345209227","1345209220","1345209223","1345209217","1345209231"],"photo_ids_order":["1345209217","1345209220","1345209223","1345209227","1345209231","1345209236"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/34cef73e8304ca0e9bd72e38fc4feaea.jpg","text":"TemporaryFile(/tmp/multipartBody6788648924071443949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322364145,"filename":"image_17032025_00_48_21_4270.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7efa3beaf58a1d506d64c1ff6ccc036e.jpg","text":"TemporaryFile(/tmp/multipartBody1942933983571110084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322364145,"filename":"image_17032025_00_48_29_3252.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5d1e26569f7926e20893a070cbf88fd8.jpg","text":"TemporaryFile(/tmp/multipartBody8221889802552490781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322364145,"filename":"image_17032025_00_49_01_3265.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ece5fd96cddd962b9891c4519817183e.jpg","text":"TemporaryFile(/tmp/multipartBody1237652865463145638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322364145,"filename":"image_17032025_00_48_33_4266.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/abe8d27330dd326b5e70ff82d0f7677f.jpg","text":"TemporaryFile(/tmp/multipartBody3381289449084204867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322364145,"filename":"image_17032025_00_49_05_4512.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/22ecc8a1e78673b8dd072918d7ccc14a.jpg","text":"TemporaryFile(/tmp/multipartBody8081392045730365718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322364145,"filename":"image_17032025_00_48_25_4257.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345209223","file1":"1345209220","file0":"1345209217","file4":"1345209231","file5":"1345209236","file3":"1345209227"},"map_files_photo_id_array":[{"photo_id":"1345209236","filename":"file5"},{"photo_id":"1345209223","filename":"file2"},{"photo_id":"1345209231","filename":"file4"},{"photo_id":"1345209220","filename":"file1"},{"photo_id":"1345209217","filename":"file0"},{"photo_id":"1345209227","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345209236":["hashtag1","hashtag2"]},{"1345209227":["hashtag1","hashtag2"]},{"1345209220":["hashtag1","hashtag2"]},{"1345209223":["hashtag1","hashtag2"]},{"1345209217":["hashtag1","hashtag2"]},{"1345209231":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345209236, 1345209227, 1345209220, 1345209223, 1345209217, 1345209231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.72361731529236 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:26:03.053966
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/48/image_17032025_00_48_17_3256.jpg', 2), ('/home/nano/Desktop/images/17032025/00/48/image_17032025_00_48_14_4309.jpg', 2), ('/home/nano/Desktop/images/17032025/00/48/image_17032025_00_48_09_4320.jpg', 2), ('/home/nano/Desktop/images/17032025/00/48/image_17032025_00_48_05_3788.jpg', 2), ('/home/nano/Desktop/images/17032025/00/47/image_17032025_00_48_01_4277.jpg', 2), ('/home/nano/Desktop/images/17032025/00/47/image_17032025_00_47_33_4279.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/48/image_17032025_00_48_17_3256.jpg', '/home/nano/Desktop/images/17032025/00/48/image_17032025_00_48_14_4309.jpg', '/home/nano/Desktop/images/17032025/00/48/image_17032025_00_48_09_4320.jpg', '/home/nano/Desktop/images/17032025/00/48/image_17032025_00_48_05_3788.jpg', '/home/nano/Desktop/images/17032025/00/47/image_17032025_00_48_01_4277.jpg', '/home/nano/Desktop/images/17032025/00/47/image_17032025_00_47_33_4279.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/48/image_17032025_00_48_17_3256.jpg
/home/nano/Desktop/images/17032025/00/48/image_17032025_00_48_14_4309.jpg
/home/nano/Desktop/images/17032025/00/48/image_17032025_00_48_09_4320.jpg
/home/nano/Desktop/images/17032025/00/48/image_17032025_00_48_05_3788.jpg
/home/nano/Desktop/images/17032025/00/47/image_17032025_00_48_01_4277.jpg
/home/nano/Desktop/images/17032025/00/47/image_17032025_00_47_33_4279.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345209388","1345209373","1345209384","1345209393","1345209348","1345209351"],"photo_ids_order":["1345209348","1345209351","1345209373","1345209384","1345209388","1345209393"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3e3a54b3c4d751afdfd380e690d47819.jpg","text":"TemporaryFile(/tmp/multipartBody7339455471881934347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322424207,"filename":"image_17032025_00_48_01_4277.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f49c28965a5ce85790cf30159a74090a.jpg","text":"TemporaryFile(/tmp/multipartBody553487298613036023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322424207,"filename":"image_17032025_00_48_09_4320.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a25235242a1b0618e3258a09a950d398.jpg","text":"TemporaryFile(/tmp/multipartBody1620592377541394493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322424207,"filename":"image_17032025_00_48_05_3788.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f874a674a279bc423440df68afa9958f.jpg","text":"TemporaryFile(/tmp/multipartBody7341698663390926070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322424207,"filename":"image_17032025_00_47_33_4279.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/023705de9a3cdd604cfca67f54120e39.jpg","text":"TemporaryFile(/tmp/multipartBody1903517378834738498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322424207,"filename":"image_17032025_00_48_17_3256.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5f02f7938e2f7b2fbea6073b1e9166f5.jpg","text":"TemporaryFile(/tmp/multipartBody8140358182609156484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322424207,"filename":"image_17032025_00_48_14_4309.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345209373","file1":"1345209351","file0":"1345209348","file4":"1345209388","file5":"1345209393","file3":"1345209384"},"map_files_photo_id_array":[{"photo_id":"1345209393","filename":"file5"},{"photo_id":"1345209373","filename":"file2"},{"photo_id":"1345209388","filename":"file4"},{"photo_id":"1345209351","filename":"file1"},{"photo_id":"1345209348","filename":"file0"},{"photo_id":"1345209384","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345209388":["hashtag1","hashtag2"]},{"1345209373":["hashtag1","hashtag2"]},{"1345209384":["hashtag1","hashtag2"]},{"1345209393":["hashtag1","hashtag2"]},{"1345209348":["hashtag1","hashtag2"]},{"1345209351":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345209388, 1345209373, 1345209384, 1345209393, 1345209348, 1345209351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.2063946723938 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:27:03.385678
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/47/image_17032025_00_47_29_4273.jpg', 2), ('/home/nano/Desktop/images/17032025/00/47/image_17032025_00_47_25_3263.jpg', 2), ('/home/nano/Desktop/images/17032025/00/47/image_17032025_00_47_21_4269.jpg', 2), ('/home/nano/Desktop/images/17032025/00/47/image_17032025_00_47_17_4271.jpg', 2), ('/home/nano/Desktop/images/17032025/00/47/image_17032025_00_47_13_3263.jpg', 2), ('/home/nano/Desktop/images/17032025/00/47/image_17032025_00_47_10_4280.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/47/image_17032025_00_47_29_4273.jpg', '/home/nano/Desktop/images/17032025/00/47/image_17032025_00_47_25_3263.jpg', '/home/nano/Desktop/images/17032025/00/47/image_17032025_00_47_21_4269.jpg', '/home/nano/Desktop/images/17032025/00/47/image_17032025_00_47_17_4271.jpg', '/home/nano/Desktop/images/17032025/00/47/image_17032025_00_47_13_3263.jpg', '/home/nano/Desktop/images/17032025/00/47/image_17032025_00_47_10_4280.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/47/image_17032025_00_47_29_4273.jpg
/home/nano/Desktop/images/17032025/00/47/image_17032025_00_47_25_3263.jpg
/home/nano/Desktop/images/17032025/00/47/image_17032025_00_47_21_4269.jpg
/home/nano/Desktop/images/17032025/00/47/image_17032025_00_47_17_4271.jpg
/home/nano/Desktop/images/17032025/00/47/image_17032025_00_47_13_3263.jpg
/home/nano/Desktop/images/17032025/00/47/image_17032025_00_47_10_4280.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345209416","1345209427","1345209412","1345209420","1345209423","1345209432"],"photo_ids_order":["1345209412","1345209416","1345209420","1345209423","1345209427","1345209432"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0a8eea3146f47cbb7ce0a70a3bdc2d29.jpg","text":"TemporaryFile(/tmp/multipartBody1238582156056310444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322484520,"filename":"image_17032025_00_47_25_3263.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f7c6b66f3482d33ee579a7d581ed69f9.jpg","text":"TemporaryFile(/tmp/multipartBody6072744628901794054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322484520,"filename":"image_17032025_00_47_13_3263.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3062b4e9b2a3ab1c67944a06a7032bab.jpg","text":"TemporaryFile(/tmp/multipartBody1051007166358325804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322484520,"filename":"image_17032025_00_47_29_4273.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c09b11dbeb499210847c94d9469489c4.jpg","text":"TemporaryFile(/tmp/multipartBody2439875459072506620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322484520,"filename":"image_17032025_00_47_21_4269.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/28dadabd3eb80354d5e84dd815131483.jpg","text":"TemporaryFile(/tmp/multipartBody367073315371841001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322484520,"filename":"image_17032025_00_47_17_4271.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a9007464c602d2b26d3cf79d6c58efc3.jpg","text":"TemporaryFile(/tmp/multipartBody6149982835584855162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322484520,"filename":"image_17032025_00_47_10_4280.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345209420","file1":"1345209416","file0":"1345209412","file4":"1345209427","file5":"1345209432","file3":"1345209423"},"map_files_photo_id_array":[{"photo_id":"1345209432","filename":"file5"},{"photo_id":"1345209420","filename":"file2"},{"photo_id":"1345209427","filename":"file4"},{"photo_id":"1345209416","filename":"file1"},{"photo_id":"1345209412","filename":"file0"},{"photo_id":"1345209423","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345209416":["hashtag1","hashtag2"]},{"1345209427":["hashtag1","hashtag2"]},{"1345209412":["hashtag1","hashtag2"]},{"1345209420":["hashtag1","hashtag2"]},{"1345209423":["hashtag1","hashtag2"]},{"1345209432":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345209416, 1345209427, 1345209412, 1345209420, 1345209423, 1345209432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.467368602752686 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:28:02.577144
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/47/image_17032025_00_47_05_4702.jpg', 2), ('/home/nano/Desktop/images/17032025/00/47/image_17032025_00_47_01_3253.jpg', 2), ('/home/nano/Desktop/images/17032025/00/46/image_17032025_00_46_33_3263.jpg', 2), ('/home/nano/Desktop/images/17032025/00/46/image_17032025_00_46_29_4269.jpg', 2), ('/home/nano/Desktop/images/17032025/00/46/image_17032025_00_46_25_4271.jpg', 2), ('/home/nano/Desktop/images/17032025/00/46/image_17032025_00_46_21_4274.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/47/image_17032025_00_47_05_4702.jpg', '/home/nano/Desktop/images/17032025/00/47/image_17032025_00_47_01_3253.jpg', '/home/nano/Desktop/images/17032025/00/46/image_17032025_00_46_33_3263.jpg', '/home/nano/Desktop/images/17032025/00/46/image_17032025_00_46_29_4269.jpg', '/home/nano/Desktop/images/17032025/00/46/image_17032025_00_46_25_4271.jpg', '/home/nano/Desktop/images/17032025/00/46/image_17032025_00_46_21_4274.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/47/image_17032025_00_47_05_4702.jpg
/home/nano/Desktop/images/17032025/00/47/image_17032025_00_47_01_3253.jpg
/home/nano/Desktop/images/17032025/00/46/image_17032025_00_46_33_3263.jpg
/home/nano/Desktop/images/17032025/00/46/image_17032025_00_46_29_4269.jpg
/home/nano/Desktop/images/17032025/00/46/image_17032025_00_46_25_4271.jpg
/home/nano/Desktop/images/17032025/00/46/image_17032025_00_46_21_4274.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345209449","1345209463","1345209468","1345209456","1345209459","1345209452"],"photo_ids_order":["1345209449","1345209452","1345209456","1345209459","1345209463","1345209468"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/05115aa445edd2fe376147c712dff876.jpg","text":"TemporaryFile(/tmp/multipartBody3527613781851325150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322543712,"filename":"image_17032025_00_47_05_4702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bc0c683ae9fbe543b651510e6f901287.jpg","text":"TemporaryFile(/tmp/multipartBody1502529373200945779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322543712,"filename":"image_17032025_00_46_25_4271.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0d4ea33553bbb6e2f57eff24a950ba12.jpg","text":"TemporaryFile(/tmp/multipartBody8342574355620605753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322543712,"filename":"image_17032025_00_46_21_4274.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4751c4b6e87e1215f83bb08f4dc044a5.jpg","text":"TemporaryFile(/tmp/multipartBody3752537080510759795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322543712,"filename":"image_17032025_00_46_33_3263.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1d11339746ae943bdd3f230efa71f54b.jpg","text":"TemporaryFile(/tmp/multipartBody298181754518074221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322543712,"filename":"image_17032025_00_46_29_4269.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e8aa4ca4ee5bfa5db93621643148118d.jpg","text":"TemporaryFile(/tmp/multipartBody8781716070138887617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322543712,"filename":"image_17032025_00_47_01_3253.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345209456","file1":"1345209452","file0":"1345209449","file4":"1345209463","file5":"1345209468","file3":"1345209459"},"map_files_photo_id_array":[{"photo_id":"1345209468","filename":"file5"},{"photo_id":"1345209456","filename":"file2"},{"photo_id":"1345209463","filename":"file4"},{"photo_id":"1345209452","filename":"file1"},{"photo_id":"1345209449","filename":"file0"},{"photo_id":"1345209459","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345209449":["hashtag1","hashtag2"]},{"1345209463":["hashtag1","hashtag2"]},{"1345209468":["hashtag1","hashtag2"]},{"1345209456":["hashtag1","hashtag2"]},{"1345209459":["hashtag1","hashtag2"]},{"1345209452":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345209449, 1345209463, 1345209468, 1345209456, 1345209459, 1345209452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.514697313308716 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:29:02.944383
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/46/image_17032025_00_46_17_3285.jpg', 2), ('/home/nano/Desktop/images/17032025/00/46/image_17032025_00_46_13_4287.jpg', 2), ('/home/nano/Desktop/images/17032025/00/46/image_17032025_00_46_09_4288.jpg', 2), ('/home/nano/Desktop/images/17032025/00/46/image_17032025_00_46_05_3886.jpg', 2), ('/home/nano/Desktop/images/17032025/00/45/image_17032025_00_46_01_4274.jpg', 2), ('/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_33_4277.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/46/image_17032025_00_46_17_3285.jpg', '/home/nano/Desktop/images/17032025/00/46/image_17032025_00_46_13_4287.jpg', '/home/nano/Desktop/images/17032025/00/46/image_17032025_00_46_09_4288.jpg', '/home/nano/Desktop/images/17032025/00/46/image_17032025_00_46_05_3886.jpg', '/home/nano/Desktop/images/17032025/00/45/image_17032025_00_46_01_4274.jpg', '/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_33_4277.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/46/image_17032025_00_46_17_3285.jpg
/home/nano/Desktop/images/17032025/00/46/image_17032025_00_46_13_4287.jpg
/home/nano/Desktop/images/17032025/00/46/image_17032025_00_46_09_4288.jpg
/home/nano/Desktop/images/17032025/00/46/image_17032025_00_46_05_3886.jpg
/home/nano/Desktop/images/17032025/00/45/image_17032025_00_46_01_4274.jpg
/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_33_4277.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345209509","1345209499","1345209490","1345209503","1345209496","1345209492"],"photo_ids_order":["1345209490","1345209492","1345209496","1345209499","1345209503","1345209509"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1feb30d43eb7b974059dbbe28cb95264.jpg","text":"TemporaryFile(/tmp/multipartBody489128371257547841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322604104,"filename":"image_17032025_00_45_33_4277.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9be8669b15481df649be51c5a48a58a7.jpg","text":"TemporaryFile(/tmp/multipartBody61722524772229837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322604104,"filename":"image_17032025_00_46_05_3886.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dd49e62dc438ec08e145e3a9b9ffe057.jpg","text":"TemporaryFile(/tmp/multipartBody3947720519088003674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322604104,"filename":"image_17032025_00_46_17_3285.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/531bd5bc930463394332fc89374a1bfd.jpg","text":"TemporaryFile(/tmp/multipartBody1562720949916259517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322604104,"filename":"image_17032025_00_46_01_4274.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3193c00f10ff315d7e824323bbefc37d.jpg","text":"TemporaryFile(/tmp/multipartBody3995774644532013882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322604104,"filename":"image_17032025_00_46_09_4288.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/23255c31056197cd984338ffdce655cf.jpg","text":"TemporaryFile(/tmp/multipartBody8054623370889360599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322604104,"filename":"image_17032025_00_46_13_4287.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345209496","file1":"1345209492","file0":"1345209490","file4":"1345209503","file5":"1345209509","file3":"1345209499"},"map_files_photo_id_array":[{"photo_id":"1345209509","filename":"file5"},{"photo_id":"1345209496","filename":"file2"},{"photo_id":"1345209503","filename":"file4"},{"photo_id":"1345209492","filename":"file1"},{"photo_id":"1345209490","filename":"file0"},{"photo_id":"1345209499","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345209509":["hashtag1","hashtag2"]},{"1345209499":["hashtag1","hashtag2"]},{"1345209490":["hashtag1","hashtag2"]},{"1345209503":["hashtag1","hashtag2"]},{"1345209496":["hashtag1","hashtag2"]},{"1345209492":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345209509, 1345209499, 1345209490, 1345209503, 1345209496, 1345209492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.12454175949097 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:30:02.815743
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_29_3255.jpg', 2), ('/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_25_4274.jpg', 2), ('/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_21_4271.jpg', 2), ('/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_17_4271.jpg', 2), ('/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_13_3269.jpg', 2), ('/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_09_4289.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_29_3255.jpg', '/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_25_4274.jpg', '/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_21_4271.jpg', '/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_17_4271.jpg', '/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_13_3269.jpg', '/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_09_4289.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_29_3255.jpg
/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_25_4274.jpg
/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_21_4271.jpg
/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_17_4271.jpg
/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_13_3269.jpg
/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_09_4289.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.0480318069458008 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:30:32.329210
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_29_3255.jpg', 2), ('/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_25_4274.jpg', 2), ('/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_21_4271.jpg', 2), ('/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_17_4271.jpg', 2), ('/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_13_3269.jpg', 2), ('/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_09_4289.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_29_3255.jpg', '/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_25_4274.jpg', '/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_21_4271.jpg', '/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_17_4271.jpg', '/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_13_3269.jpg', '/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_09_4289.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_29_3255.jpg
/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_25_4274.jpg
/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_21_4271.jpg
/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_17_4271.jpg
/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_13_3269.jpg
/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_09_4289.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345209580","1345209583","1345209577","1345209565","1345209573","1345209569"],"photo_ids_order":["1345209565","1345209569","1345209573","1345209577","1345209580","1345209583"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/24f2a0d7b08603bec67185c86514c065.jpg","text":"TemporaryFile(/tmp/multipartBody1762657119926947235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322693285,"filename":"image_17032025_00_45_13_3269.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/61ee357e4d955972ec736484f1fd4934.jpg","text":"TemporaryFile(/tmp/multipartBody1271227271271858032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322693285,"filename":"image_17032025_00_45_09_4289.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6e7f225ba54b15bc4cd020ac824c5f47.jpg","text":"TemporaryFile(/tmp/multipartBody3326588069677881044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322693285,"filename":"image_17032025_00_45_17_4271.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/39bdd134b8631bbeadb71691f9ea4cdf.jpg","text":"TemporaryFile(/tmp/multipartBody5152062437689638746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322693285,"filename":"image_17032025_00_45_29_3255.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/742fbff41de2146c5b00183ed71f430f.jpg","text":"TemporaryFile(/tmp/multipartBody4834430796011873389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322693285,"filename":"image_17032025_00_45_21_4271.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9f997d12fa980bdedf1bc82193654bf4.jpg","text":"TemporaryFile(/tmp/multipartBody3269128019954292160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322693285,"filename":"image_17032025_00_45_25_4274.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345209573","file1":"1345209569","file0":"1345209565","file4":"1345209580","file5":"1345209583","file3":"1345209577"},"map_files_photo_id_array":[{"photo_id":"1345209583","filename":"file5"},{"photo_id":"1345209573","filename":"file2"},{"photo_id":"1345209580","filename":"file4"},{"photo_id":"1345209569","filename":"file1"},{"photo_id":"1345209565","filename":"file0"},{"photo_id":"1345209577","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345209580":["hashtag1","hashtag2"]},{"1345209583":["hashtag1","hashtag2"]},{"1345209577":["hashtag1","hashtag2"]},{"1345209565":["hashtag1","hashtag2"]},{"1345209573":["hashtag1","hashtag2"]},{"1345209569":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345209580, 1345209583, 1345209577, 1345209565, 1345209573, 1345209569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.91899919509888 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:31:32.505904
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_05_3858.jpg', 2), ('/home/nano/Desktop/images/17032025/00/44/image_17032025_00_45_01_4277.jpg', 2), ('/home/nano/Desktop/images/17032025/00/44/image_17032025_00_44_33_4270.jpg', 2), ('/home/nano/Desktop/images/17032025/00/44/image_17032025_00_44_29_4269.jpg', 2), ('/home/nano/Desktop/images/17032025/00/44/image_17032025_00_44_25_3287.jpg', 2), ('/home/nano/Desktop/images/17032025/00/44/image_17032025_00_44_21_4270.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_05_3858.jpg', '/home/nano/Desktop/images/17032025/00/44/image_17032025_00_45_01_4277.jpg', '/home/nano/Desktop/images/17032025/00/44/image_17032025_00_44_33_4270.jpg', '/home/nano/Desktop/images/17032025/00/44/image_17032025_00_44_29_4269.jpg', '/home/nano/Desktop/images/17032025/00/44/image_17032025_00_44_25_3287.jpg', '/home/nano/Desktop/images/17032025/00/44/image_17032025_00_44_21_4270.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/45/image_17032025_00_45_05_3858.jpg
/home/nano/Desktop/images/17032025/00/44/image_17032025_00_45_01_4277.jpg
/home/nano/Desktop/images/17032025/00/44/image_17032025_00_44_33_4270.jpg
/home/nano/Desktop/images/17032025/00/44/image_17032025_00_44_29_4269.jpg
/home/nano/Desktop/images/17032025/00/44/image_17032025_00_44_25_3287.jpg
/home/nano/Desktop/images/17032025/00/44/image_17032025_00_44_21_4270.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345209620","1345209602","1345209604","1345209695","1345209668","1345209641"],"photo_ids_order":["1345209602","1345209604","1345209620","1345209641","1345209668","1345209695"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4a9f163f29cb2983e738a43f42786ac4.jpg","text":"TemporaryFile(/tmp/multipartBody3241777315947619397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322753691,"filename":"image_17032025_00_44_33_4270.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/395888196a81c326976939fbcbdb781c.jpg","text":"TemporaryFile(/tmp/multipartBody7491898219201982363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322753691,"filename":"image_17032025_00_45_05_3858.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2aa9de8938b7a618069c2eeb35930a15.jpg","text":"TemporaryFile(/tmp/multipartBody6251198264405872251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322753691,"filename":"image_17032025_00_45_01_4277.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fe9249f1e2510f6cc42eceee87f341ff.jpg","text":"TemporaryFile(/tmp/multipartBody3128930006940968607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322753691,"filename":"image_17032025_00_44_21_4270.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d783974035496b3d44e9ae5a10259e64.jpg","text":"TemporaryFile(/tmp/multipartBody3444152495412927738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322753691,"filename":"image_17032025_00_44_25_3287.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a60b6af2f499b09e282375fb12b96330.jpg","text":"TemporaryFile(/tmp/multipartBody5352535967160269276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322753691,"filename":"image_17032025_00_44_29_4269.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345209620","file1":"1345209604","file0":"1345209602","file4":"1345209668","file5":"1345209695","file3":"1345209641"},"map_files_photo_id_array":[{"photo_id":"1345209695","filename":"file5"},{"photo_id":"1345209620","filename":"file2"},{"photo_id":"1345209668","filename":"file4"},{"photo_id":"1345209604","filename":"file1"},{"photo_id":"1345209602","filename":"file0"},{"photo_id":"1345209641","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345209620":["hashtag1","hashtag2"]},{"1345209602":["hashtag1","hashtag2"]},{"1345209604":["hashtag1","hashtag2"]},{"1345209695":["hashtag1","hashtag2"]},{"1345209668":["hashtag1","hashtag2"]},{"1345209641":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345209620, 1345209602, 1345209604, 1345209695, 1345209668, 1345209641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.07999229431152 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:32:32.708395
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/44/image_17032025_00_44_17_4275.jpg', 2), ('/home/nano/Desktop/images/17032025/00/44/image_17032025_00_44_13_4306.jpg', 2), ('/home/nano/Desktop/images/17032025/00/44/image_17032025_00_44_09_3279.jpg', 2), ('/home/nano/Desktop/images/17032025/00/44/image_17032025_00_44_05_4679.jpg', 2), ('/home/nano/Desktop/images/17032025/00/44/image_17032025_00_44_01_3269.jpg', 2), ('/home/nano/Desktop/images/17032025/00/43/image_17032025_00_43_33_3257.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/44/image_17032025_00_44_17_4275.jpg', '/home/nano/Desktop/images/17032025/00/44/image_17032025_00_44_13_4306.jpg', '/home/nano/Desktop/images/17032025/00/44/image_17032025_00_44_09_3279.jpg', '/home/nano/Desktop/images/17032025/00/44/image_17032025_00_44_05_4679.jpg', '/home/nano/Desktop/images/17032025/00/44/image_17032025_00_44_01_3269.jpg', '/home/nano/Desktop/images/17032025/00/43/image_17032025_00_43_33_3257.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/44/image_17032025_00_44_17_4275.jpg
/home/nano/Desktop/images/17032025/00/44/image_17032025_00_44_13_4306.jpg
/home/nano/Desktop/images/17032025/00/44/image_17032025_00_44_09_3279.jpg
/home/nano/Desktop/images/17032025/00/44/image_17032025_00_44_05_4679.jpg
/home/nano/Desktop/images/17032025/00/44/image_17032025_00_44_01_3269.jpg
/home/nano/Desktop/images/17032025/00/43/image_17032025_00_43_33_3257.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345210064","1345209895","1345210243","1345210185","1345209977","1345209921"],"photo_ids_order":["1345209895","1345209921","1345209977","1345210064","1345210185","1345210243"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dc4037ab2aa38e5a0ee9196fce150562.jpg","text":"TemporaryFile(/tmp/multipartBody5382912880829089823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322813850,"filename":"image_17032025_00_44_05_4679.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dcf126d07f5c307c1c8049d3b7f68aee.jpg","text":"TemporaryFile(/tmp/multipartBody920257530566019048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322813850,"filename":"image_17032025_00_44_17_4275.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7bdf8464a31fd9e522ddaa3751b40603.jpg","text":"TemporaryFile(/tmp/multipartBody7055216380278106737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322813850,"filename":"image_17032025_00_43_33_3257.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2f3c248256090a373bc88251974a5e6c.jpg","text":"TemporaryFile(/tmp/multipartBody4752798036522049534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322813850,"filename":"image_17032025_00_44_01_3269.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/675d0eaabd65265d3b9e42dc2808f42f.jpg","text":"TemporaryFile(/tmp/multipartBody332572264565602228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322813850,"filename":"image_17032025_00_44_09_3279.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d2f5252b6232bc0db8e0b1fb11fc2f13.jpg","text":"TemporaryFile(/tmp/multipartBody3495170350946821305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322813850,"filename":"image_17032025_00_44_13_4306.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345209977","file1":"1345209921","file0":"1345209895","file4":"1345210185","file5":"1345210243","file3":"1345210064"},"map_files_photo_id_array":[{"photo_id":"1345210243","filename":"file5"},{"photo_id":"1345209977","filename":"file2"},{"photo_id":"1345210185","filename":"file4"},{"photo_id":"1345209921","filename":"file1"},{"photo_id":"1345209895","filename":"file0"},{"photo_id":"1345210064","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345210064":["hashtag1","hashtag2"]},{"1345209895":["hashtag1","hashtag2"]},{"1345210243":["hashtag1","hashtag2"]},{"1345210185":["hashtag1","hashtag2"]},{"1345209977":["hashtag1","hashtag2"]},{"1345209921":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345210064, 1345209895, 1345210243, 1345210185, 1345209977, 1345209921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.877949476242065 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:33:31.876322
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/43/image_17032025_00_43_29_4274.jpg', 2), ('/home/nano/Desktop/images/17032025/00/43/image_17032025_00_43_25_4298.jpg', 2), ('/home/nano/Desktop/images/17032025/00/43/image_17032025_00_43_21_4277.jpg', 2), ('/home/nano/Desktop/images/17032025/00/43/image_17032025_00_43_17_3287.jpg', 2), ('/home/nano/Desktop/images/17032025/00/43/image_17032025_00_43_13_4286.jpg', 2), ('/home/nano/Desktop/images/17032025/00/43/image_17032025_00_43_09_4283.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/43/image_17032025_00_43_29_4274.jpg', '/home/nano/Desktop/images/17032025/00/43/image_17032025_00_43_25_4298.jpg', '/home/nano/Desktop/images/17032025/00/43/image_17032025_00_43_21_4277.jpg', '/home/nano/Desktop/images/17032025/00/43/image_17032025_00_43_17_3287.jpg', '/home/nano/Desktop/images/17032025/00/43/image_17032025_00_43_13_4286.jpg', '/home/nano/Desktop/images/17032025/00/43/image_17032025_00_43_09_4283.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/43/image_17032025_00_43_29_4274.jpg
/home/nano/Desktop/images/17032025/00/43/image_17032025_00_43_25_4298.jpg
/home/nano/Desktop/images/17032025/00/43/image_17032025_00_43_21_4277.jpg
/home/nano/Desktop/images/17032025/00/43/image_17032025_00_43_17_3287.jpg
/home/nano/Desktop/images/17032025/00/43/image_17032025_00_43_13_4286.jpg
/home/nano/Desktop/images/17032025/00/43/image_17032025_00_43_09_4283.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345210862","1345210762","1345210601","1345210645","1345210822","1345210698"],"photo_ids_order":["1345210601","1345210645","1345210698","1345210762","1345210822","1345210862"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/740c6ad6819ac300bcfe562b04ebe132.jpg","text":"TemporaryFile(/tmp/multipartBody1007244987562759505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322873007,"filename":"image_17032025_00_43_09_4283.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/82d5518e38e01e31a09d781a3154f7b8.jpg","text":"TemporaryFile(/tmp/multipartBody5271598855489362197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322873007,"filename":"image_17032025_00_43_17_3287.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/00dcba7a905989006d466a452e2f3f63.jpg","text":"TemporaryFile(/tmp/multipartBody1930156854608445716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322873007,"filename":"image_17032025_00_43_29_4274.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/02b86e9d89e8dccdc47a10c1f409855e.jpg","text":"TemporaryFile(/tmp/multipartBody7905661782632122200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322873007,"filename":"image_17032025_00_43_25_4298.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1e24cab1b2b69e652df8f0cbe17e541f.jpg","text":"TemporaryFile(/tmp/multipartBody5147728450709926081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322873007,"filename":"image_17032025_00_43_13_4286.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/182de97e347c9d651bc5186fce613999.jpg","text":"TemporaryFile(/tmp/multipartBody7046346199722174434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322873007,"filename":"image_17032025_00_43_21_4277.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345210698","file1":"1345210645","file0":"1345210601","file4":"1345210822","file5":"1345210862","file3":"1345210762"},"map_files_photo_id_array":[{"photo_id":"1345210862","filename":"file5"},{"photo_id":"1345210698","filename":"file2"},{"photo_id":"1345210822","filename":"file4"},{"photo_id":"1345210645","filename":"file1"},{"photo_id":"1345210601","filename":"file0"},{"photo_id":"1345210762","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345210862":["hashtag1","hashtag2"]},{"1345210762":["hashtag1","hashtag2"]},{"1345210601":["hashtag1","hashtag2"]},{"1345210645":["hashtag1","hashtag2"]},{"1345210822":["hashtag1","hashtag2"]},{"1345210698":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345210862, 1345210762, 1345210601, 1345210645, 1345210822, 1345210698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.0759117603302 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:34:32.057066
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/43/image_17032025_00_43_05_3766.jpg', 2), ('/home/nano/Desktop/images/17032025/00/42/image_17032025_00_43_01_4263.jpg', 2), ('/home/nano/Desktop/images/17032025/00/42/image_17032025_00_42_33_4281.jpg', 2), ('/home/nano/Desktop/images/17032025/00/42/image_17032025_00_42_29_4266.jpg', 2), ('/home/nano/Desktop/images/17032025/00/42/image_17032025_00_42_25_3254.jpg', 2), ('/home/nano/Desktop/images/17032025/00/42/image_17032025_00_42_21_4269.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/43/image_17032025_00_43_05_3766.jpg', '/home/nano/Desktop/images/17032025/00/42/image_17032025_00_43_01_4263.jpg', '/home/nano/Desktop/images/17032025/00/42/image_17032025_00_42_33_4281.jpg', '/home/nano/Desktop/images/17032025/00/42/image_17032025_00_42_29_4266.jpg', '/home/nano/Desktop/images/17032025/00/42/image_17032025_00_42_25_3254.jpg', '/home/nano/Desktop/images/17032025/00/42/image_17032025_00_42_21_4269.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/43/image_17032025_00_43_05_3766.jpg
/home/nano/Desktop/images/17032025/00/42/image_17032025_00_43_01_4263.jpg
/home/nano/Desktop/images/17032025/00/42/image_17032025_00_42_33_4281.jpg
/home/nano/Desktop/images/17032025/00/42/image_17032025_00_42_29_4266.jpg
/home/nano/Desktop/images/17032025/00/42/image_17032025_00_42_25_3254.jpg
/home/nano/Desktop/images/17032025/00/42/image_17032025_00_42_21_4269.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345211303","1345211260","1345211164","1345211311","1345211200","1345211220"],"photo_ids_order":["1345211164","1345211200","1345211220","1345211260","1345211303","1345211311"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f54118cc4c7d2e4f8cc9435f9c1d582a.jpg","text":"TemporaryFile(/tmp/multipartBody5949851172001164510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322933220,"filename":"image_17032025_00_42_25_3254.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7463fc39a6d0cb5ab16b9fe7976b4fc5.jpg","text":"TemporaryFile(/tmp/multipartBody2064543471584088764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322933220,"filename":"image_17032025_00_42_29_4266.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fc05812e4353b722eb9530d65a560d17.jpg","text":"TemporaryFile(/tmp/multipartBody2162378467861034258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322933220,"filename":"image_17032025_00_43_05_3766.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d42fdd3da0bff5eb4d52952f9ba3d532.jpg","text":"TemporaryFile(/tmp/multipartBody6217751793283420205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322933220,"filename":"image_17032025_00_42_21_4269.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f0a68af74ce529c8821a1793b04d11e2.jpg","text":"TemporaryFile(/tmp/multipartBody2961507022215291479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322933220,"filename":"image_17032025_00_43_01_4263.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/968ba41132213f92f1c8d5f0857c011a.jpg","text":"TemporaryFile(/tmp/multipartBody6566593530520755499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322933220,"filename":"image_17032025_00_42_33_4281.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345211220","file1":"1345211200","file0":"1345211164","file4":"1345211303","file5":"1345211311","file3":"1345211260"},"map_files_photo_id_array":[{"photo_id":"1345211311","filename":"file5"},{"photo_id":"1345211220","filename":"file2"},{"photo_id":"1345211303","filename":"file4"},{"photo_id":"1345211200","filename":"file1"},{"photo_id":"1345211164","filename":"file0"},{"photo_id":"1345211260","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345211303":["hashtag1","hashtag2"]},{"1345211260":["hashtag1","hashtag2"]},{"1345211164":["hashtag1","hashtag2"]},{"1345211311":["hashtag1","hashtag2"]},{"1345211200":["hashtag1","hashtag2"]},{"1345211220":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345211303, 1345211260, 1345211164, 1345211311, 1345211200, 1345211220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.42254424095154 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:35:32.228051
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/42/image_17032025_00_42_17_4264.jpg', 2), ('/home/nano/Desktop/images/17032025/00/42/image_17032025_00_42_13_4273.jpg', 2), ('/home/nano/Desktop/images/17032025/00/42/image_17032025_00_42_09_3293.jpg', 2), ('/home/nano/Desktop/images/17032025/00/42/image_17032025_00_42_05_4709.jpg', 2), ('/home/nano/Desktop/images/17032025/00/42/image_17032025_00_42_01_3244.jpg', 2), ('/home/nano/Desktop/images/17032025/00/41/image_17032025_00_41_33_3264.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/42/image_17032025_00_42_17_4264.jpg', '/home/nano/Desktop/images/17032025/00/42/image_17032025_00_42_13_4273.jpg', '/home/nano/Desktop/images/17032025/00/42/image_17032025_00_42_09_3293.jpg', '/home/nano/Desktop/images/17032025/00/42/image_17032025_00_42_05_4709.jpg', '/home/nano/Desktop/images/17032025/00/42/image_17032025_00_42_01_3244.jpg', '/home/nano/Desktop/images/17032025/00/41/image_17032025_00_41_33_3264.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/42/image_17032025_00_42_17_4264.jpg
/home/nano/Desktop/images/17032025/00/42/image_17032025_00_42_13_4273.jpg
/home/nano/Desktop/images/17032025/00/42/image_17032025_00_42_09_3293.jpg
/home/nano/Desktop/images/17032025/00/42/image_17032025_00_42_05_4709.jpg
/home/nano/Desktop/images/17032025/00/42/image_17032025_00_42_01_3244.jpg
/home/nano/Desktop/images/17032025/00/41/image_17032025_00_41_33_3264.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345211624","1345211632","1345211629","1345211529","1345211579","1345211573"],"photo_ids_order":["1345211529","1345211573","1345211579","1345211624","1345211629","1345211632"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2aad53aa0d19c60dd2c6f1aef1bd7256.jpg","text":"TemporaryFile(/tmp/multipartBody8390385034819968353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322993705,"filename":"image_17032025_00_42_05_4709.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/25ec3fa712f115445498796c879cd427.jpg","text":"TemporaryFile(/tmp/multipartBody7840429396217627499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322993705,"filename":"image_17032025_00_41_33_3264.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cd9874ad5884a00bbfea4e540f8c587f.jpg","text":"TemporaryFile(/tmp/multipartBody7126113862009356760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322993705,"filename":"image_17032025_00_42_01_3244.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4ea35b5240b985148b0065f6c15ba109.jpg","text":"TemporaryFile(/tmp/multipartBody2617091630639784413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322993705,"filename":"image_17032025_00_42_17_4264.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d1d1b4dda7dccec5c6a328affcb650d3.jpg","text":"TemporaryFile(/tmp/multipartBody3449587428498440646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322993705,"filename":"image_17032025_00_42_09_3293.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/359e8d50bf6cc03661a8956ad69267b0.jpg","text":"TemporaryFile(/tmp/multipartBody7731771243280394641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742322993705,"filename":"image_17032025_00_42_13_4273.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345211579","file1":"1345211573","file0":"1345211529","file4":"1345211629","file5":"1345211632","file3":"1345211624"},"map_files_photo_id_array":[{"photo_id":"1345211632","filename":"file5"},{"photo_id":"1345211579","filename":"file2"},{"photo_id":"1345211629","filename":"file4"},{"photo_id":"1345211573","filename":"file1"},{"photo_id":"1345211529","filename":"file0"},{"photo_id":"1345211624","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345211624":["hashtag1","hashtag2"]},{"1345211632":["hashtag1","hashtag2"]},{"1345211629":["hashtag1","hashtag2"]},{"1345211529":["hashtag1","hashtag2"]},{"1345211579":["hashtag1","hashtag2"]},{"1345211573":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345211624, 1345211632, 1345211629, 1345211529, 1345211579, 1345211573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65382528305054 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:36:32.407677
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/41/image_17032025_00_41_29_4271.jpg', 2), ('/home/nano/Desktop/images/17032025/00/41/image_17032025_00_41_25_4266.jpg', 2), ('/home/nano/Desktop/images/17032025/00/41/image_17032025_00_41_21_3260.jpg', 2), ('/home/nano/Desktop/images/17032025/00/41/image_17032025_00_41_18_4267.jpg', 2), ('/home/nano/Desktop/images/17032025/00/41/image_17032025_00_41_13_4275.jpg', 2), ('/home/nano/Desktop/images/17032025/00/41/image_17032025_00_41_09_4280.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/41/image_17032025_00_41_29_4271.jpg', '/home/nano/Desktop/images/17032025/00/41/image_17032025_00_41_25_4266.jpg', '/home/nano/Desktop/images/17032025/00/41/image_17032025_00_41_21_3260.jpg', '/home/nano/Desktop/images/17032025/00/41/image_17032025_00_41_18_4267.jpg', '/home/nano/Desktop/images/17032025/00/41/image_17032025_00_41_13_4275.jpg', '/home/nano/Desktop/images/17032025/00/41/image_17032025_00_41_09_4280.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/41/image_17032025_00_41_29_4271.jpg
/home/nano/Desktop/images/17032025/00/41/image_17032025_00_41_25_4266.jpg
/home/nano/Desktop/images/17032025/00/41/image_17032025_00_41_21_3260.jpg
/home/nano/Desktop/images/17032025/00/41/image_17032025_00_41_18_4267.jpg
/home/nano/Desktop/images/17032025/00/41/image_17032025_00_41_13_4275.jpg
/home/nano/Desktop/images/17032025/00/41/image_17032025_00_41_09_4280.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345211657","1345211647","1345211663","1345211651","1345211660","1345211654"],"photo_ids_order":["1345211647","1345211651","1345211654","1345211657","1345211660","1345211663"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c48be43343c0e7710beb00f05c1b93f4.jpg","text":"TemporaryFile(/tmp/multipartBody1769775308591369055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323053558,"filename":"image_17032025_00_41_18_4267.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ccfa9242208894e4751528b9d8c9b44c.jpg","text":"TemporaryFile(/tmp/multipartBody2108194188463618218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323053558,"filename":"image_17032025_00_41_29_4271.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d4fb6b11771ddcd3d40a0e0cd81ac33d.jpg","text":"TemporaryFile(/tmp/multipartBody9059347527935934561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323053558,"filename":"image_17032025_00_41_09_4280.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8e8d3af1da952509c434d2f6d98e2c84.jpg","text":"TemporaryFile(/tmp/multipartBody6729692861777188382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323053558,"filename":"image_17032025_00_41_25_4266.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8b3a18ebb71428d04502cf8841486036.jpg","text":"TemporaryFile(/tmp/multipartBody2069039877052527846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323053558,"filename":"image_17032025_00_41_13_4275.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c154dc312cb965e5403ebe90f8766d49.jpg","text":"TemporaryFile(/tmp/multipartBody136459240343109494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323053558,"filename":"image_17032025_00_41_21_3260.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345211654","file1":"1345211651","file0":"1345211647","file4":"1345211660","file5":"1345211663","file3":"1345211657"},"map_files_photo_id_array":[{"photo_id":"1345211663","filename":"file5"},{"photo_id":"1345211654","filename":"file2"},{"photo_id":"1345211660","filename":"file4"},{"photo_id":"1345211651","filename":"file1"},{"photo_id":"1345211647","filename":"file0"},{"photo_id":"1345211657","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345211657":["hashtag1","hashtag2"]},{"1345211647":["hashtag1","hashtag2"]},{"1345211663":["hashtag1","hashtag2"]},{"1345211651":["hashtag1","hashtag2"]},{"1345211660":["hashtag1","hashtag2"]},{"1345211654":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345211657, 1345211647, 1345211663, 1345211651, 1345211660, 1345211654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.951648235321045 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:37:32.606469
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/41/image_17032025_00_41_05_3654.jpg', 2), ('/home/nano/Desktop/images/17032025/00/40/image_17032025_00_41_01_4267.jpg', 2), ('/home/nano/Desktop/images/17032025/00/40/image_17032025_00_40_33_4274.jpg', 2), ('/home/nano/Desktop/images/17032025/00/40/image_17032025_00_40_29_4295.jpg', 2), ('/home/nano/Desktop/images/17032025/00/40/image_17032025_00_40_25_3263.jpg', 2), ('/home/nano/Desktop/images/17032025/00/40/image_17032025_00_40_21_4277.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/41/image_17032025_00_41_05_3654.jpg', '/home/nano/Desktop/images/17032025/00/40/image_17032025_00_41_01_4267.jpg', '/home/nano/Desktop/images/17032025/00/40/image_17032025_00_40_33_4274.jpg', '/home/nano/Desktop/images/17032025/00/40/image_17032025_00_40_29_4295.jpg', '/home/nano/Desktop/images/17032025/00/40/image_17032025_00_40_25_3263.jpg', '/home/nano/Desktop/images/17032025/00/40/image_17032025_00_40_21_4277.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/41/image_17032025_00_41_05_3654.jpg
/home/nano/Desktop/images/17032025/00/40/image_17032025_00_41_01_4267.jpg
/home/nano/Desktop/images/17032025/00/40/image_17032025_00_40_33_4274.jpg
/home/nano/Desktop/images/17032025/00/40/image_17032025_00_40_29_4295.jpg
/home/nano/Desktop/images/17032025/00/40/image_17032025_00_40_25_3263.jpg
/home/nano/Desktop/images/17032025/00/40/image_17032025_00_40_21_4277.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345211869","1345211770","1345211923","1345211730","1345211706","1345211819"],"photo_ids_order":["1345211706","1345211730","1345211770","1345211819","1345211869","1345211923"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a9f8744076125e6efe30a5d80ef3fc4a.jpg","text":"TemporaryFile(/tmp/multipartBody328423082945540977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323113736,"filename":"image_17032025_00_40_25_3263.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/33165959447558960bc7b43909f16f2a.jpg","text":"TemporaryFile(/tmp/multipartBody1492732120996874699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323113736,"filename":"image_17032025_00_40_33_4274.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e4b8e01b3c255547ea60ee91e635d3f9.jpg","text":"TemporaryFile(/tmp/multipartBody2817658877440216822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323113736,"filename":"image_17032025_00_40_21_4277.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/165fce642f0bbc17551d4d8c20ccdb2d.jpg","text":"TemporaryFile(/tmp/multipartBody2975792946193049153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323113736,"filename":"image_17032025_00_41_01_4267.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/94d02652f9b0aba5c780104fa651d2ea.jpg","text":"TemporaryFile(/tmp/multipartBody6881520072686388345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323113736,"filename":"image_17032025_00_41_05_3654.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/008d46ee307d59ec192d08eb2c623e2b.jpg","text":"TemporaryFile(/tmp/multipartBody160495404998500463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323113736,"filename":"image_17032025_00_40_29_4295.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345211770","file1":"1345211730","file0":"1345211706","file4":"1345211869","file5":"1345211923","file3":"1345211819"},"map_files_photo_id_array":[{"photo_id":"1345211923","filename":"file5"},{"photo_id":"1345211770","filename":"file2"},{"photo_id":"1345211869","filename":"file4"},{"photo_id":"1345211730","filename":"file1"},{"photo_id":"1345211706","filename":"file0"},{"photo_id":"1345211819","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345211869":["hashtag1","hashtag2"]},{"1345211770":["hashtag1","hashtag2"]},{"1345211923":["hashtag1","hashtag2"]},{"1345211730":["hashtag1","hashtag2"]},{"1345211706":["hashtag1","hashtag2"]},{"1345211819":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345211869, 1345211770, 1345211923, 1345211730, 1345211706, 1345211819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.883193016052246 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:38:32.839536
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/40/image_17032025_00_40_17_4269.jpg', 2), ('/home/nano/Desktop/images/17032025/00/40/image_17032025_00_40_13_3278.jpg', 2), ('/home/nano/Desktop/images/17032025/00/40/image_17032025_00_40_09_4335.jpg', 2), ('/home/nano/Desktop/images/17032025/00/40/image_17032025_00_40_05_3799.jpg', 2), ('/home/nano/Desktop/images/17032025/00/39/image_17032025_00_40_01_4273.jpg', 2), ('/home/nano/Desktop/images/17032025/00/39/image_17032025_00_39_33_4294.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/40/image_17032025_00_40_17_4269.jpg', '/home/nano/Desktop/images/17032025/00/40/image_17032025_00_40_13_3278.jpg', '/home/nano/Desktop/images/17032025/00/40/image_17032025_00_40_09_4335.jpg', '/home/nano/Desktop/images/17032025/00/40/image_17032025_00_40_05_3799.jpg', '/home/nano/Desktop/images/17032025/00/39/image_17032025_00_40_01_4273.jpg', '/home/nano/Desktop/images/17032025/00/39/image_17032025_00_39_33_4294.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/40/image_17032025_00_40_17_4269.jpg
/home/nano/Desktop/images/17032025/00/40/image_17032025_00_40_13_3278.jpg
/home/nano/Desktop/images/17032025/00/40/image_17032025_00_40_09_4335.jpg
/home/nano/Desktop/images/17032025/00/40/image_17032025_00_40_05_3799.jpg
/home/nano/Desktop/images/17032025/00/39/image_17032025_00_40_01_4273.jpg
/home/nano/Desktop/images/17032025/00/39/image_17032025_00_39_33_4294.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345212496","1345212643","1345212576","1345212791","1345212731","1345212833"],"photo_ids_order":["1345212496","1345212576","1345212643","1345212731","1345212791","1345212833"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3494e3692823af24858095de9aff82f0.jpg","text":"TemporaryFile(/tmp/multipartBody1413103946887778965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323174018,"filename":"image_17032025_00_40_17_4269.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d3755b2b550ff918ad46c32480b77b16.jpg","text":"TemporaryFile(/tmp/multipartBody6681955388488369320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323174018,"filename":"image_17032025_00_40_09_4335.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7939e7c0c834a7a2ad429226403d6240.jpg","text":"TemporaryFile(/tmp/multipartBody4727720691398264124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323174018,"filename":"image_17032025_00_40_13_3278.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/484bbd68de28011bf2ca047def751932.jpg","text":"TemporaryFile(/tmp/multipartBody6586913189224827283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323174018,"filename":"image_17032025_00_40_01_4273.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5c3454ca915bc8d1f3afb3436de38b25.jpg","text":"TemporaryFile(/tmp/multipartBody388543354473857982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323174018,"filename":"image_17032025_00_40_05_3799.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6a1378063c4f8c7734bdd56589e7566c.jpg","text":"TemporaryFile(/tmp/multipartBody3875147518825563408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323174018,"filename":"image_17032025_00_39_33_4294.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345212643","file1":"1345212576","file0":"1345212496","file4":"1345212791","file5":"1345212833","file3":"1345212731"},"map_files_photo_id_array":[{"photo_id":"1345212833","filename":"file5"},{"photo_id":"1345212643","filename":"file2"},{"photo_id":"1345212791","filename":"file4"},{"photo_id":"1345212576","filename":"file1"},{"photo_id":"1345212496","filename":"file0"},{"photo_id":"1345212731","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345212496":["hashtag1","hashtag2"]},{"1345212643":["hashtag1","hashtag2"]},{"1345212576":["hashtag1","hashtag2"]},{"1345212791":["hashtag1","hashtag2"]},{"1345212731":["hashtag1","hashtag2"]},{"1345212833":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345212496, 1345212643, 1345212576, 1345212791, 1345212731, 1345212833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.24651765823364 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:39:32.035230
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/39/image_17032025_00_39_29_4270.jpg', 2), ('/home/nano/Desktop/images/17032025/00/39/image_17032025_00_39_25_4276.jpg', 2), ('/home/nano/Desktop/images/17032025/00/39/image_17032025_00_39_21_3257.jpg', 2), ('/home/nano/Desktop/images/17032025/00/39/image_17032025_00_39_17_4274.jpg', 2), ('/home/nano/Desktop/images/17032025/00/39/image_17032025_00_39_13_4302.jpg', 2), ('/home/nano/Desktop/images/17032025/00/39/image_17032025_00_39_09_3283.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/39/image_17032025_00_39_29_4270.jpg', '/home/nano/Desktop/images/17032025/00/39/image_17032025_00_39_25_4276.jpg', '/home/nano/Desktop/images/17032025/00/39/image_17032025_00_39_21_3257.jpg', '/home/nano/Desktop/images/17032025/00/39/image_17032025_00_39_17_4274.jpg', '/home/nano/Desktop/images/17032025/00/39/image_17032025_00_39_13_4302.jpg', '/home/nano/Desktop/images/17032025/00/39/image_17032025_00_39_09_3283.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/39/image_17032025_00_39_29_4270.jpg
/home/nano/Desktop/images/17032025/00/39/image_17032025_00_39_25_4276.jpg
/home/nano/Desktop/images/17032025/00/39/image_17032025_00_39_21_3257.jpg
/home/nano/Desktop/images/17032025/00/39/image_17032025_00_39_17_4274.jpg
/home/nano/Desktop/images/17032025/00/39/image_17032025_00_39_13_4302.jpg
/home/nano/Desktop/images/17032025/00/39/image_17032025_00_39_09_3283.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345213536","1345213487","1345213637","1345213331","1345213412","1345213588"],"photo_ids_order":["1345213331","1345213412","1345213487","1345213536","1345213588","1345213637"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/abcce39f584c655a191ed09fdf938ead.jpg","text":"TemporaryFile(/tmp/multipartBody3102843574575327474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323233200,"filename":"image_17032025_00_39_17_4274.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bde11d2af3ee208c02ce0a8c3d502f5d.jpg","text":"TemporaryFile(/tmp/multipartBody2005512740268750854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323233200,"filename":"image_17032025_00_39_21_3257.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f2bdc157e3eacaa1471dbfe0f2aeaf4a.jpg","text":"TemporaryFile(/tmp/multipartBody1339195481668030710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323233200,"filename":"image_17032025_00_39_09_3283.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c75c30d397cb6606037fa4020ee88f42.jpg","text":"TemporaryFile(/tmp/multipartBody1143104546759562465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323233200,"filename":"image_17032025_00_39_29_4270.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a1ac233989e134be59f69ac658e8175f.jpg","text":"TemporaryFile(/tmp/multipartBody10987653523111198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323233200,"filename":"image_17032025_00_39_25_4276.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/59fc0ba477a1611b52f3f70ea179bf0c.jpg","text":"TemporaryFile(/tmp/multipartBody6957333229189348681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323233200,"filename":"image_17032025_00_39_13_4302.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345213487","file1":"1345213412","file0":"1345213331","file4":"1345213588","file5":"1345213637","file3":"1345213536"},"map_files_photo_id_array":[{"photo_id":"1345213637","filename":"file5"},{"photo_id":"1345213487","filename":"file2"},{"photo_id":"1345213588","filename":"file4"},{"photo_id":"1345213412","filename":"file1"},{"photo_id":"1345213331","filename":"file0"},{"photo_id":"1345213536","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345213536":["hashtag1","hashtag2"]},{"1345213487":["hashtag1","hashtag2"]},{"1345213637":["hashtag1","hashtag2"]},{"1345213331":["hashtag1","hashtag2"]},{"1345213412":["hashtag1","hashtag2"]},{"1345213588":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345213536, 1345213487, 1345213637, 1345213331, 1345213412, 1345213588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.77264475822449 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:40:32.216722
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/39/image_17032025_00_39_05_4541.jpg', 2), ('/home/nano/Desktop/images/17032025/00/38/image_17032025_00_39_01_4267.jpg', 2), ('/home/nano/Desktop/images/17032025/00/38/image_17032025_00_38_33_4266.jpg', 2), ('/home/nano/Desktop/images/17032025/00/38/image_17032025_00_38_29_3257.jpg', 2), ('/home/nano/Desktop/images/17032025/00/38/image_17032025_00_38_26_4266.jpg', 2), ('/home/nano/Desktop/images/17032025/00/38/image_17032025_00_38_21_4265.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/39/image_17032025_00_39_05_4541.jpg', '/home/nano/Desktop/images/17032025/00/38/image_17032025_00_39_01_4267.jpg', '/home/nano/Desktop/images/17032025/00/38/image_17032025_00_38_33_4266.jpg', '/home/nano/Desktop/images/17032025/00/38/image_17032025_00_38_29_3257.jpg', '/home/nano/Desktop/images/17032025/00/38/image_17032025_00_38_26_4266.jpg', '/home/nano/Desktop/images/17032025/00/38/image_17032025_00_38_21_4265.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/39/image_17032025_00_39_05_4541.jpg
/home/nano/Desktop/images/17032025/00/38/image_17032025_00_39_01_4267.jpg
/home/nano/Desktop/images/17032025/00/38/image_17032025_00_38_33_4266.jpg
/home/nano/Desktop/images/17032025/00/38/image_17032025_00_38_29_3257.jpg
/home/nano/Desktop/images/17032025/00/38/image_17032025_00_38_26_4266.jpg
/home/nano/Desktop/images/17032025/00/38/image_17032025_00_38_21_4265.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345214346","1345214448","1345214406","1345214099","1345214290","1345214155"],"photo_ids_order":["1345214099","1345214155","1345214290","1345214346","1345214406","1345214448"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e68e29d83b4b58472864e81dc3256d7d.jpg","text":"TemporaryFile(/tmp/multipartBody2653801649963439832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323293355,"filename":"image_17032025_00_38_29_3257.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8a53a73b709c252c0f2429956e0f668b.jpg","text":"TemporaryFile(/tmp/multipartBody6569539218706797413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323293355,"filename":"image_17032025_00_38_21_4265.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2d20b9e51c7f0dd0814467b7f34d5b3e.jpg","text":"TemporaryFile(/tmp/multipartBody336702034902100840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323293355,"filename":"image_17032025_00_38_26_4266.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8f1f62fdbe823881a6cbf2b1581a829d.jpg","text":"TemporaryFile(/tmp/multipartBody338377156422238687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323293355,"filename":"image_17032025_00_39_05_4541.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9999620e163050b8786e5b1b6ceb1796.jpg","text":"TemporaryFile(/tmp/multipartBody1269067068192864948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323293355,"filename":"image_17032025_00_38_33_4266.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a55a2bfecd3daad5086a1b41a559d4a5.jpg","text":"TemporaryFile(/tmp/multipartBody4465044799520621825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323293355,"filename":"image_17032025_00_39_01_4267.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345214290","file1":"1345214155","file0":"1345214099","file4":"1345214406","file5":"1345214448","file3":"1345214346"},"map_files_photo_id_array":[{"photo_id":"1345214448","filename":"file5"},{"photo_id":"1345214290","filename":"file2"},{"photo_id":"1345214406","filename":"file4"},{"photo_id":"1345214155","filename":"file1"},{"photo_id":"1345214099","filename":"file0"},{"photo_id":"1345214346","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345214346":["hashtag1","hashtag2"]},{"1345214448":["hashtag1","hashtag2"]},{"1345214406":["hashtag1","hashtag2"]},{"1345214099":["hashtag1","hashtag2"]},{"1345214290":["hashtag1","hashtag2"]},{"1345214155":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345214346, 1345214448, 1345214406, 1345214099, 1345214290, 1345214155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.92086720466614 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:41:32.401936
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/38/image_17032025_00_38_17_4275.jpg', 2), ('/home/nano/Desktop/images/17032025/00/38/image_17032025_00_38_13_3267.jpg', 2), ('/home/nano/Desktop/images/17032025/00/38/image_17032025_00_38_09_4282.jpg', 2), ('/home/nano/Desktop/images/17032025/00/38/image_17032025_00_38_05_4465.jpg', 2), ('/home/nano/Desktop/images/17032025/00/38/image_17032025_00_38_01_3251.jpg', 2), ('/home/nano/Desktop/images/17032025/00/37/image_17032025_00_37_33_4274.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/38/image_17032025_00_38_17_4275.jpg', '/home/nano/Desktop/images/17032025/00/38/image_17032025_00_38_13_3267.jpg', '/home/nano/Desktop/images/17032025/00/38/image_17032025_00_38_09_4282.jpg', '/home/nano/Desktop/images/17032025/00/38/image_17032025_00_38_05_4465.jpg', '/home/nano/Desktop/images/17032025/00/38/image_17032025_00_38_01_3251.jpg', '/home/nano/Desktop/images/17032025/00/37/image_17032025_00_37_33_4274.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/38/image_17032025_00_38_17_4275.jpg
/home/nano/Desktop/images/17032025/00/38/image_17032025_00_38_13_3267.jpg
/home/nano/Desktop/images/17032025/00/38/image_17032025_00_38_09_4282.jpg
/home/nano/Desktop/images/17032025/00/38/image_17032025_00_38_05_4465.jpg
/home/nano/Desktop/images/17032025/00/38/image_17032025_00_38_01_3251.jpg
/home/nano/Desktop/images/17032025/00/37/image_17032025_00_37_33_4274.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345215014","1345214741","1345214801","1345214953","1345214902","1345214845"],"photo_ids_order":["1345214741","1345214801","1345214845","1345214902","1345214953","1345215014"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/33bd070658e5beadb36eea62745ec887.jpg","text":"TemporaryFile(/tmp/multipartBody3712343422376071166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323353561,"filename":"image_17032025_00_37_33_4274.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c36c71909b8245ec86c1a84ce3554eb9.jpg","text":"TemporaryFile(/tmp/multipartBody3399570897558499052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323353561,"filename":"image_17032025_00_38_17_4275.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7a44f7bac77cbd931d3fa603952fff9b.jpg","text":"TemporaryFile(/tmp/multipartBody6684552945074515799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323353561,"filename":"image_17032025_00_38_13_3267.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/57a9a1f31bad78d67093047c31dff4fa.jpg","text":"TemporaryFile(/tmp/multipartBody1053114146730133027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323353561,"filename":"image_17032025_00_38_01_3251.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a272182e2ff80a522a9e3403c50f6f57.jpg","text":"TemporaryFile(/tmp/multipartBody9007403472941120870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323353561,"filename":"image_17032025_00_38_05_4465.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0c248ad05f9445a9ba37a92c7764af2e.jpg","text":"TemporaryFile(/tmp/multipartBody4190469521613093840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323353561,"filename":"image_17032025_00_38_09_4282.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345214845","file1":"1345214801","file0":"1345214741","file4":"1345214953","file5":"1345215014","file3":"1345214902"},"map_files_photo_id_array":[{"photo_id":"1345215014","filename":"file5"},{"photo_id":"1345214845","filename":"file2"},{"photo_id":"1345214953","filename":"file4"},{"photo_id":"1345214801","filename":"file1"},{"photo_id":"1345214741","filename":"file0"},{"photo_id":"1345214902","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345215014":["hashtag1","hashtag2"]},{"1345214741":["hashtag1","hashtag2"]},{"1345214801":["hashtag1","hashtag2"]},{"1345214953":["hashtag1","hashtag2"]},{"1345214902":["hashtag1","hashtag2"]},{"1345214845":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345215014, 1345214741, 1345214801, 1345214953, 1345214902, 1345214845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.53998589515686 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:42:32.584149
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/37/image_17032025_00_37_29_3265.jpg', 2), ('/home/nano/Desktop/images/17032025/00/37/image_17032025_00_37_25_4270.jpg', 2), ('/home/nano/Desktop/images/17032025/00/37/image_17032025_00_37_21_4270.jpg', 2), ('/home/nano/Desktop/images/17032025/00/37/image_17032025_00_37_17_3267.jpg', 2), ('/home/nano/Desktop/images/17032025/00/37/image_17032025_00_37_13_4270.jpg', 2), ('/home/nano/Desktop/images/17032025/00/37/image_17032025_00_37_09_4280.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/37/image_17032025_00_37_29_3265.jpg', '/home/nano/Desktop/images/17032025/00/37/image_17032025_00_37_25_4270.jpg', '/home/nano/Desktop/images/17032025/00/37/image_17032025_00_37_21_4270.jpg', '/home/nano/Desktop/images/17032025/00/37/image_17032025_00_37_17_3267.jpg', '/home/nano/Desktop/images/17032025/00/37/image_17032025_00_37_13_4270.jpg', '/home/nano/Desktop/images/17032025/00/37/image_17032025_00_37_09_4280.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/37/image_17032025_00_37_29_3265.jpg
/home/nano/Desktop/images/17032025/00/37/image_17032025_00_37_25_4270.jpg
/home/nano/Desktop/images/17032025/00/37/image_17032025_00_37_21_4270.jpg
/home/nano/Desktop/images/17032025/00/37/image_17032025_00_37_17_3267.jpg
/home/nano/Desktop/images/17032025/00/37/image_17032025_00_37_13_4270.jpg
/home/nano/Desktop/images/17032025/00/37/image_17032025_00_37_09_4280.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345215362","1345215295","1345215385","1345215310","1345215412","1345215342"],"photo_ids_order":["1345215295","1345215310","1345215342","1345215362","1345215385","1345215412"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9ef2797f7aa91da8fdba62cc8e5030ea.jpg","text":"TemporaryFile(/tmp/multipartBody1553401263696895596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323413728,"filename":"image_17032025_00_37_17_3267.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/da842990098224bd0ae79e13b7a1815c.jpg","text":"TemporaryFile(/tmp/multipartBody7216953196952005033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323413728,"filename":"image_17032025_00_37_29_3265.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0a500b9ed738fe9e3c787552ffca6813.jpg","text":"TemporaryFile(/tmp/multipartBody5959652703113756072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323413728,"filename":"image_17032025_00_37_13_4270.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/be62b36c1f05f14b8f159fa9d6d05302.jpg","text":"TemporaryFile(/tmp/multipartBody5199596944807222225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323413728,"filename":"image_17032025_00_37_25_4270.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/408241c867d5dc4b413dd8bb53197f77.jpg","text":"TemporaryFile(/tmp/multipartBody6498490411021887776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323413728,"filename":"image_17032025_00_37_09_4280.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dec80479603b76618a3de4fbcaf3c17b.jpg","text":"TemporaryFile(/tmp/multipartBody2189816625096721022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323413728,"filename":"image_17032025_00_37_21_4270.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345215342","file1":"1345215310","file0":"1345215295","file4":"1345215385","file5":"1345215412","file3":"1345215362"},"map_files_photo_id_array":[{"photo_id":"1345215412","filename":"file5"},{"photo_id":"1345215342","filename":"file2"},{"photo_id":"1345215385","filename":"file4"},{"photo_id":"1345215310","filename":"file1"},{"photo_id":"1345215295","filename":"file0"},{"photo_id":"1345215362","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345215362":["hashtag1","hashtag2"]},{"1345215295":["hashtag1","hashtag2"]},{"1345215385":["hashtag1","hashtag2"]},{"1345215310":["hashtag1","hashtag2"]},{"1345215412":["hashtag1","hashtag2"]},{"1345215342":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345215362, 1345215295, 1345215385, 1345215310, 1345215412, 1345215342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.01759052276611 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:43:32.751606
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/37/image_17032025_00_37_05_3567.jpg', 2), ('/home/nano/Desktop/images/17032025/00/36/image_17032025_00_37_01_4300.jpg', 2), ('/home/nano/Desktop/images/17032025/00/36/image_17032025_00_36_33_4276.jpg', 2), ('/home/nano/Desktop/images/17032025/00/36/image_17032025_00_36_29_4280.jpg', 2), ('/home/nano/Desktop/images/17032025/00/36/image_17032025_00_36_25_4272.jpg', 2), ('/home/nano/Desktop/images/17032025/00/36/image_17032025_00_36_21_3267.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/37/image_17032025_00_37_05_3567.jpg', '/home/nano/Desktop/images/17032025/00/36/image_17032025_00_37_01_4300.jpg', '/home/nano/Desktop/images/17032025/00/36/image_17032025_00_36_33_4276.jpg', '/home/nano/Desktop/images/17032025/00/36/image_17032025_00_36_29_4280.jpg', '/home/nano/Desktop/images/17032025/00/36/image_17032025_00_36_25_4272.jpg', '/home/nano/Desktop/images/17032025/00/36/image_17032025_00_36_21_3267.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/37/image_17032025_00_37_05_3567.jpg
/home/nano/Desktop/images/17032025/00/36/image_17032025_00_37_01_4300.jpg
/home/nano/Desktop/images/17032025/00/36/image_17032025_00_36_33_4276.jpg
/home/nano/Desktop/images/17032025/00/36/image_17032025_00_36_29_4280.jpg
/home/nano/Desktop/images/17032025/00/36/image_17032025_00_36_25_4272.jpg
/home/nano/Desktop/images/17032025/00/36/image_17032025_00_36_21_3267.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345215507","1345215524","1345215521","1345215518","1345215511","1345215514"],"photo_ids_order":["1345215507","1345215511","1345215514","1345215518","1345215521","1345215524"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c2ee936cbee08c3fce82915f02bbeee5.jpg","text":"TemporaryFile(/tmp/multipartBody6952838319571905661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323473913,"filename":"image_17032025_00_37_05_3567.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/45d71559eae7098010489c5fc8f06412.jpg","text":"TemporaryFile(/tmp/multipartBody6493406166022742775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323473913,"filename":"image_17032025_00_36_21_3267.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d2e178c3e15b58b13c0e398c2fb1bedc.jpg","text":"TemporaryFile(/tmp/multipartBody6987253412700578766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323473913,"filename":"image_17032025_00_36_25_4272.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d77ecf7f6c04cb0adefd9af6ef22867b.jpg","text":"TemporaryFile(/tmp/multipartBody4883066110797045692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323473913,"filename":"image_17032025_00_36_29_4280.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dd6d83c3a09e0b5265a2b89561c89c44.jpg","text":"TemporaryFile(/tmp/multipartBody895271288105396906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323473913,"filename":"image_17032025_00_37_01_4300.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e9597e16f6874f1843dd5b26eebd8c5b.jpg","text":"TemporaryFile(/tmp/multipartBody529351268621067156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323473913,"filename":"image_17032025_00_36_33_4276.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345215514","file1":"1345215511","file0":"1345215507","file4":"1345215521","file5":"1345215524","file3":"1345215518"},"map_files_photo_id_array":[{"photo_id":"1345215524","filename":"file5"},{"photo_id":"1345215514","filename":"file2"},{"photo_id":"1345215521","filename":"file4"},{"photo_id":"1345215511","filename":"file1"},{"photo_id":"1345215507","filename":"file0"},{"photo_id":"1345215518","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345215507":["hashtag1","hashtag2"]},{"1345215524":["hashtag1","hashtag2"]},{"1345215521":["hashtag1","hashtag2"]},{"1345215518":["hashtag1","hashtag2"]},{"1345215511":["hashtag1","hashtag2"]},{"1345215514":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345215507, 1345215524, 1345215521, 1345215518, 1345215511, 1345215514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.4989275932312 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:44:31.915307
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/36/image_17032025_00_36_17_4278.jpg', 2), ('/home/nano/Desktop/images/17032025/00/36/image_17032025_00_36_13_4282.jpg', 2), ('/home/nano/Desktop/images/17032025/00/36/image_17032025_00_36_09_3265.jpg', 2), ('/home/nano/Desktop/images/17032025/00/36/image_17032025_00_36_06_4782.jpg', 2), ('/home/nano/Desktop/images/17032025/00/36/image_17032025_00_36_01_3268.jpg', 2), ('/home/nano/Desktop/images/17032025/00/35/image_17032025_00_35_33_4270.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/36/image_17032025_00_36_17_4278.jpg', '/home/nano/Desktop/images/17032025/00/36/image_17032025_00_36_13_4282.jpg', '/home/nano/Desktop/images/17032025/00/36/image_17032025_00_36_09_3265.jpg', '/home/nano/Desktop/images/17032025/00/36/image_17032025_00_36_06_4782.jpg', '/home/nano/Desktop/images/17032025/00/36/image_17032025_00_36_01_3268.jpg', '/home/nano/Desktop/images/17032025/00/35/image_17032025_00_35_33_4270.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/36/image_17032025_00_36_17_4278.jpg
/home/nano/Desktop/images/17032025/00/36/image_17032025_00_36_13_4282.jpg
/home/nano/Desktop/images/17032025/00/36/image_17032025_00_36_09_3265.jpg
/home/nano/Desktop/images/17032025/00/36/image_17032025_00_36_06_4782.jpg
/home/nano/Desktop/images/17032025/00/36/image_17032025_00_36_01_3268.jpg
/home/nano/Desktop/images/17032025/00/35/image_17032025_00_35_33_4270.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345215560","1345215556","1345215550","1345215544","1345215564","1345215567"],"photo_ids_order":["1345215544","1345215550","1345215556","1345215560","1345215564","1345215567"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/859f92fa56ea41ef2a46dc78656f9c82.jpg","text":"TemporaryFile(/tmp/multipartBody1947889562215013429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323533125,"filename":"image_17032025_00_36_06_4782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/924ea7ca3dffa16bcdde6bad94142b3d.jpg","text":"TemporaryFile(/tmp/multipartBody6463841603104672139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323533125,"filename":"image_17032025_00_36_09_3265.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5efb5b31583db24c2da6dc982788e5da.jpg","text":"TemporaryFile(/tmp/multipartBody1125314884423261566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323533125,"filename":"image_17032025_00_36_13_4282.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7d5c6397539d025938b8fc3af50f858d.jpg","text":"TemporaryFile(/tmp/multipartBody546514006227678951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323533125,"filename":"image_17032025_00_36_17_4278.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/86ff6600bf8ce1d21d4c158529769bd0.jpg","text":"TemporaryFile(/tmp/multipartBody1682082989959614517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323533125,"filename":"image_17032025_00_36_01_3268.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4b1678bf628391c69642bd67f4202978.jpg","text":"TemporaryFile(/tmp/multipartBody8333423611270665059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323533125,"filename":"image_17032025_00_35_33_4270.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345215556","file1":"1345215550","file0":"1345215544","file4":"1345215564","file5":"1345215567","file3":"1345215560"},"map_files_photo_id_array":[{"photo_id":"1345215567","filename":"file5"},{"photo_id":"1345215556","filename":"file2"},{"photo_id":"1345215564","filename":"file4"},{"photo_id":"1345215550","filename":"file1"},{"photo_id":"1345215544","filename":"file0"},{"photo_id":"1345215560","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345215560":["hashtag1","hashtag2"]},{"1345215556":["hashtag1","hashtag2"]},{"1345215550":["hashtag1","hashtag2"]},{"1345215544":["hashtag1","hashtag2"]},{"1345215564":["hashtag1","hashtag2"]},{"1345215567":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345215560, 1345215556, 1345215550, 1345215544, 1345215564, 1345215567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.936007499694824 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:45:32.074023
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/35/image_17032025_00_35_29_3251.jpg', 2), ('/home/nano/Desktop/images/17032025/00/35/image_17032025_00_35_25_4269.jpg', 2), ('/home/nano/Desktop/images/17032025/00/35/image_17032025_00_35_21_4271.jpg', 2), ('/home/nano/Desktop/images/17032025/00/35/image_17032025_00_35_17_3260.jpg', 2), ('/home/nano/Desktop/images/17032025/00/35/image_17032025_00_35_14_4278.jpg', 2), ('/home/nano/Desktop/images/17032025/00/35/image_17032025_00_35_09_4304.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/35/image_17032025_00_35_29_3251.jpg', '/home/nano/Desktop/images/17032025/00/35/image_17032025_00_35_25_4269.jpg', '/home/nano/Desktop/images/17032025/00/35/image_17032025_00_35_21_4271.jpg', '/home/nano/Desktop/images/17032025/00/35/image_17032025_00_35_17_3260.jpg', '/home/nano/Desktop/images/17032025/00/35/image_17032025_00_35_14_4278.jpg', '/home/nano/Desktop/images/17032025/00/35/image_17032025_00_35_09_4304.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/35/image_17032025_00_35_29_3251.jpg
/home/nano/Desktop/images/17032025/00/35/image_17032025_00_35_25_4269.jpg
/home/nano/Desktop/images/17032025/00/35/image_17032025_00_35_21_4271.jpg
/home/nano/Desktop/images/17032025/00/35/image_17032025_00_35_17_3260.jpg
/home/nano/Desktop/images/17032025/00/35/image_17032025_00_35_14_4278.jpg
/home/nano/Desktop/images/17032025/00/35/image_17032025_00_35_09_4304.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345215599","1345215603","1345215596","1345215583","1345215592","1345215588"],"photo_ids_order":["1345215583","1345215588","1345215592","1345215596","1345215599","1345215603"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4e738e78c98f981631445ff0abe76758.jpg","text":"TemporaryFile(/tmp/multipartBody8242677831769377595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323593248,"filename":"image_17032025_00_35_14_4278.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a6199d8872f7f0a455400588c2bc3422.jpg","text":"TemporaryFile(/tmp/multipartBody8549157894230363011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323593248,"filename":"image_17032025_00_35_09_4304.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/74f776513134ab9e6af87f3f8ef92e9b.jpg","text":"TemporaryFile(/tmp/multipartBody7250156940060224648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323593248,"filename":"image_17032025_00_35_17_3260.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e3de1cbe5b1cf9b22cd34ed8d0df2f62.jpg","text":"TemporaryFile(/tmp/multipartBody4063065340331754382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323593248,"filename":"image_17032025_00_35_29_3251.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5941b33a91b79cabd9486faa3cc82cc4.jpg","text":"TemporaryFile(/tmp/multipartBody5154313799827545208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323593248,"filename":"image_17032025_00_35_21_4271.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dcebdaf86833941a417226be1153e852.jpg","text":"TemporaryFile(/tmp/multipartBody5438033020462359533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323593248,"filename":"image_17032025_00_35_25_4269.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345215592","file1":"1345215588","file0":"1345215583","file4":"1345215599","file5":"1345215603","file3":"1345215596"},"map_files_photo_id_array":[{"photo_id":"1345215603","filename":"file5"},{"photo_id":"1345215592","filename":"file2"},{"photo_id":"1345215599","filename":"file4"},{"photo_id":"1345215588","filename":"file1"},{"photo_id":"1345215583","filename":"file0"},{"photo_id":"1345215596","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345215599":["hashtag1","hashtag2"]},{"1345215603":["hashtag1","hashtag2"]},{"1345215596":["hashtag1","hashtag2"]},{"1345215583":["hashtag1","hashtag2"]},{"1345215592":["hashtag1","hashtag2"]},{"1345215588":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345215599, 1345215603, 1345215596, 1345215583, 1345215592, 1345215588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.25495100021362 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:46:32.302878
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/35/image_17032025_00_35_05_3804.jpg', 2), ('/home/nano/Desktop/images/17032025/00/34/image_17032025_00_35_01_4270.jpg', 2), ('/home/nano/Desktop/images/17032025/00/34/image_17032025_00_34_33_4270.jpg', 2), ('/home/nano/Desktop/images/17032025/00/34/image_17032025_00_34_29_4275.jpg', 2), ('/home/nano/Desktop/images/17032025/00/34/image_17032025_00_34_25_3264.jpg', 2), ('/home/nano/Desktop/images/17032025/00/34/image_17032025_00_34_21_4267.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/35/image_17032025_00_35_05_3804.jpg', '/home/nano/Desktop/images/17032025/00/34/image_17032025_00_35_01_4270.jpg', '/home/nano/Desktop/images/17032025/00/34/image_17032025_00_34_33_4270.jpg', '/home/nano/Desktop/images/17032025/00/34/image_17032025_00_34_29_4275.jpg', '/home/nano/Desktop/images/17032025/00/34/image_17032025_00_34_25_3264.jpg', '/home/nano/Desktop/images/17032025/00/34/image_17032025_00_34_21_4267.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/35/image_17032025_00_35_05_3804.jpg
/home/nano/Desktop/images/17032025/00/34/image_17032025_00_35_01_4270.jpg
/home/nano/Desktop/images/17032025/00/34/image_17032025_00_34_33_4270.jpg
/home/nano/Desktop/images/17032025/00/34/image_17032025_00_34_29_4275.jpg
/home/nano/Desktop/images/17032025/00/34/image_17032025_00_34_25_3264.jpg
/home/nano/Desktop/images/17032025/00/34/image_17032025_00_34_21_4267.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345215714","1345215618","1345215776","1345215623","1345215787","1345215792"],"photo_ids_order":["1345215618","1345215623","1345215714","1345215776","1345215787","1345215792"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f9a47936382c1fc87e76cae55a399402.jpg","text":"TemporaryFile(/tmp/multipartBody7992333822424382928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323653483,"filename":"image_17032025_00_34_33_4270.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/061f79f264f07421316b9b14960b7cb6.jpg","text":"TemporaryFile(/tmp/multipartBody9127213286476226900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323653483,"filename":"image_17032025_00_35_05_3804.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/318bdd923c1c1548678f717cfaf1d629.jpg","text":"TemporaryFile(/tmp/multipartBody6276942957027929927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323653483,"filename":"image_17032025_00_34_29_4275.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/728ce5be1580304ceedb058d00364eb7.jpg","text":"TemporaryFile(/tmp/multipartBody8444287427259035521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323653483,"filename":"image_17032025_00_35_01_4270.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0a2915203bdb73c0046c2f6ed20e1f50.jpg","text":"TemporaryFile(/tmp/multipartBody3092527162126843479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323653483,"filename":"image_17032025_00_34_25_3264.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c2edd0a041fcb7d803caf332dad76727.jpg","text":"TemporaryFile(/tmp/multipartBody7500423618935077924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323653483,"filename":"image_17032025_00_34_21_4267.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345215714","file1":"1345215623","file0":"1345215618","file4":"1345215787","file5":"1345215792","file3":"1345215776"},"map_files_photo_id_array":[{"photo_id":"1345215792","filename":"file5"},{"photo_id":"1345215714","filename":"file2"},{"photo_id":"1345215787","filename":"file4"},{"photo_id":"1345215623","filename":"file1"},{"photo_id":"1345215618","filename":"file0"},{"photo_id":"1345215776","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345215714":["hashtag1","hashtag2"]},{"1345215618":["hashtag1","hashtag2"]},{"1345215776":["hashtag1","hashtag2"]},{"1345215623":["hashtag1","hashtag2"]},{"1345215787":["hashtag1","hashtag2"]},{"1345215792":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345215714, 1345215618, 1345215776, 1345215623, 1345215787, 1345215792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.141634941101074 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:47:32.478427
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/34/image_17032025_00_34_17_4289.jpg', 2), ('/home/nano/Desktop/images/17032025/00/34/image_17032025_00_34_13_3310.jpg', 2), ('/home/nano/Desktop/images/17032025/00/34/image_17032025_00_34_10_4271.jpg', 2), ('/home/nano/Desktop/images/17032025/00/34/image_17032025_00_34_05_4661.jpg', 2), ('/home/nano/Desktop/images/17032025/00/34/image_17032025_00_34_01_3252.jpg', 2), ('/home/nano/Desktop/images/17032025/00/33/image_17032025_00_33_33_3261.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/34/image_17032025_00_34_17_4289.jpg', '/home/nano/Desktop/images/17032025/00/34/image_17032025_00_34_13_3310.jpg', '/home/nano/Desktop/images/17032025/00/34/image_17032025_00_34_10_4271.jpg', '/home/nano/Desktop/images/17032025/00/34/image_17032025_00_34_05_4661.jpg', '/home/nano/Desktop/images/17032025/00/34/image_17032025_00_34_01_3252.jpg', '/home/nano/Desktop/images/17032025/00/33/image_17032025_00_33_33_3261.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/34/image_17032025_00_34_17_4289.jpg
/home/nano/Desktop/images/17032025/00/34/image_17032025_00_34_13_3310.jpg
/home/nano/Desktop/images/17032025/00/34/image_17032025_00_34_10_4271.jpg
/home/nano/Desktop/images/17032025/00/34/image_17032025_00_34_05_4661.jpg
/home/nano/Desktop/images/17032025/00/34/image_17032025_00_34_01_3252.jpg
/home/nano/Desktop/images/17032025/00/33/image_17032025_00_33_33_3261.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345215828","1345215833","1345215844","1345215841","1345215838","1345215846"],"photo_ids_order":["1345215828","1345215833","1345215838","1345215841","1345215844","1345215846"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/96e43230dda115259586a3b23ca00fdc.jpg","text":"TemporaryFile(/tmp/multipartBody582644190884627887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323713664,"filename":"image_17032025_00_34_17_4289.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/736263c37b4ae30eb9c08a9f001c9849.jpg","text":"TemporaryFile(/tmp/multipartBody557255571277350316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323713664,"filename":"image_17032025_00_34_13_3310.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c461ab78c63a55618bff603ed2beec70.jpg","text":"TemporaryFile(/tmp/multipartBody2794133206934956841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323713664,"filename":"image_17032025_00_34_01_3252.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c6e69fc36527afe1b7ec08f2bfff199c.jpg","text":"TemporaryFile(/tmp/multipartBody7557457011281522817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323713664,"filename":"image_17032025_00_34_05_4661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c81044b2a459cbde0fac64d41f2e0b60.jpg","text":"TemporaryFile(/tmp/multipartBody6375427289352466798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323713664,"filename":"image_17032025_00_34_10_4271.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9a7edfdc4011d247a3417baf76930b8b.jpg","text":"TemporaryFile(/tmp/multipartBody2305997337805888678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323713664,"filename":"image_17032025_00_33_33_3261.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345215838","file1":"1345215833","file0":"1345215828","file4":"1345215844","file5":"1345215846","file3":"1345215841"},"map_files_photo_id_array":[{"photo_id":"1345215846","filename":"file5"},{"photo_id":"1345215838","filename":"file2"},{"photo_id":"1345215844","filename":"file4"},{"photo_id":"1345215833","filename":"file1"},{"photo_id":"1345215828","filename":"file0"},{"photo_id":"1345215841","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345215828":["hashtag1","hashtag2"]},{"1345215833":["hashtag1","hashtag2"]},{"1345215844":["hashtag1","hashtag2"]},{"1345215841":["hashtag1","hashtag2"]},{"1345215838":["hashtag1","hashtag2"]},{"1345215846":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345215828, 1345215833, 1345215844, 1345215841, 1345215838, 1345215846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.30078959465027 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:48:32.651599
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/33/image_17032025_00_33_29_4274.jpg', 2), ('/home/nano/Desktop/images/17032025/00/33/image_17032025_00_33_25_4269.jpg', 2), ('/home/nano/Desktop/images/17032025/00/33/image_17032025_00_33_21_4265.jpg', 2), ('/home/nano/Desktop/images/17032025/00/33/image_17032025_00_33_17_3268.jpg', 2), ('/home/nano/Desktop/images/17032025/00/33/image_17032025_00_33_13_4302.jpg', 2), ('/home/nano/Desktop/images/17032025/00/33/image_17032025_00_33_09_4337.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/33/image_17032025_00_33_29_4274.jpg', '/home/nano/Desktop/images/17032025/00/33/image_17032025_00_33_25_4269.jpg', '/home/nano/Desktop/images/17032025/00/33/image_17032025_00_33_21_4265.jpg', '/home/nano/Desktop/images/17032025/00/33/image_17032025_00_33_17_3268.jpg', '/home/nano/Desktop/images/17032025/00/33/image_17032025_00_33_13_4302.jpg', '/home/nano/Desktop/images/17032025/00/33/image_17032025_00_33_09_4337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/33/image_17032025_00_33_29_4274.jpg
/home/nano/Desktop/images/17032025/00/33/image_17032025_00_33_25_4269.jpg
/home/nano/Desktop/images/17032025/00/33/image_17032025_00_33_21_4265.jpg
/home/nano/Desktop/images/17032025/00/33/image_17032025_00_33_17_3268.jpg
/home/nano/Desktop/images/17032025/00/33/image_17032025_00_33_13_4302.jpg
/home/nano/Desktop/images/17032025/00/33/image_17032025_00_33_09_4337.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345215866","1345215880","1345215883","1345215886","1345215871","1345215876"],"photo_ids_order":["1345215866","1345215871","1345215876","1345215880","1345215883","1345215886"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/27382e9a0f44af48e645901f9a7b24d8.jpg","text":"TemporaryFile(/tmp/multipartBody5314060914169842099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323773845,"filename":"image_17032025_00_33_29_4274.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/474c61e03212c6f550c6ce57d52ccfaa.jpg","text":"TemporaryFile(/tmp/multipartBody1095668599701445982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323773845,"filename":"image_17032025_00_33_17_3268.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/543d1b6368602f12325119b8c910ffc8.jpg","text":"TemporaryFile(/tmp/multipartBody5782405881403196666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323773845,"filename":"image_17032025_00_33_13_4302.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4d8d53f177bcf960a5ea10ac71ba227c.jpg","text":"TemporaryFile(/tmp/multipartBody3633824776392047093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323773845,"filename":"image_17032025_00_33_09_4337.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9041cc5854db19b8ec81d07e72902005.jpg","text":"TemporaryFile(/tmp/multipartBody551901912885626827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323773845,"filename":"image_17032025_00_33_25_4269.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/abf723f1545e05d11937444162ef7da3.jpg","text":"TemporaryFile(/tmp/multipartBody4407936857723538909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323773845,"filename":"image_17032025_00_33_21_4265.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345215876","file1":"1345215871","file0":"1345215866","file4":"1345215883","file5":"1345215886","file3":"1345215880"},"map_files_photo_id_array":[{"photo_id":"1345215886","filename":"file5"},{"photo_id":"1345215876","filename":"file2"},{"photo_id":"1345215883","filename":"file4"},{"photo_id":"1345215871","filename":"file1"},{"photo_id":"1345215866","filename":"file0"},{"photo_id":"1345215880","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345215866":["hashtag1","hashtag2"]},{"1345215880":["hashtag1","hashtag2"]},{"1345215883":["hashtag1","hashtag2"]},{"1345215886":["hashtag1","hashtag2"]},{"1345215871":["hashtag1","hashtag2"]},{"1345215876":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345215866, 1345215880, 1345215883, 1345215886, 1345215871, 1345215876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.15482258796692 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:49:31.855419
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/33/image_17032025_00_33_05_3468.jpg', 2), ('/home/nano/Desktop/images/17032025/00/32/image_17032025_00_33_01_4268.jpg', 2), ('/home/nano/Desktop/images/17032025/00/32/image_17032025_00_32_33_4264.jpg', 2), ('/home/nano/Desktop/images/17032025/00/32/image_17032025_00_32_29_4272.jpg', 2), ('/home/nano/Desktop/images/17032025/00/32/image_17032025_00_32_25_4266.jpg', 2), ('/home/nano/Desktop/images/17032025/00/32/image_17032025_00_32_21_3265.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/33/image_17032025_00_33_05_3468.jpg', '/home/nano/Desktop/images/17032025/00/32/image_17032025_00_33_01_4268.jpg', '/home/nano/Desktop/images/17032025/00/32/image_17032025_00_32_33_4264.jpg', '/home/nano/Desktop/images/17032025/00/32/image_17032025_00_32_29_4272.jpg', '/home/nano/Desktop/images/17032025/00/32/image_17032025_00_32_25_4266.jpg', '/home/nano/Desktop/images/17032025/00/32/image_17032025_00_32_21_3265.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/33/image_17032025_00_33_05_3468.jpg
/home/nano/Desktop/images/17032025/00/32/image_17032025_00_33_01_4268.jpg
/home/nano/Desktop/images/17032025/00/32/image_17032025_00_32_33_4264.jpg
/home/nano/Desktop/images/17032025/00/32/image_17032025_00_32_29_4272.jpg
/home/nano/Desktop/images/17032025/00/32/image_17032025_00_32_25_4266.jpg
/home/nano/Desktop/images/17032025/00/32/image_17032025_00_32_21_3265.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345215921","1345215935","1345215908","1345215916","1345215901","1345215942"],"photo_ids_order":["1345215901","1345215908","1345215916","1345215921","1345215935","1345215942"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/87efcbc98e56e8d17f89566ca140151a.jpg","text":"TemporaryFile(/tmp/multipartBody2418712286882039525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323833008,"filename":"image_17032025_00_32_29_4272.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ad37d96135912d6f05e8532884d74678.jpg","text":"TemporaryFile(/tmp/multipartBody669331466430119912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323833008,"filename":"image_17032025_00_32_25_4266.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0acb4542d807dda39fc84ef3e5ccf354.jpg","text":"TemporaryFile(/tmp/multipartBody4712770521210487468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323833008,"filename":"image_17032025_00_33_01_4268.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6d98f890bfda43f81918bacc8bd4c5c5.jpg","text":"TemporaryFile(/tmp/multipartBody4340715496874712489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323833008,"filename":"image_17032025_00_32_33_4264.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d837ebed31d6d2242ad1d7e5d0a08c60.jpg","text":"TemporaryFile(/tmp/multipartBody8023510527854028777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323833008,"filename":"image_17032025_00_33_05_3468.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c40d7a19939c9b24efa0023849952f1a.jpg","text":"TemporaryFile(/tmp/multipartBody4581409734810614306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323833008,"filename":"image_17032025_00_32_21_3265.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345215916","file1":"1345215908","file0":"1345215901","file4":"1345215935","file5":"1345215942","file3":"1345215921"},"map_files_photo_id_array":[{"photo_id":"1345215942","filename":"file5"},{"photo_id":"1345215916","filename":"file2"},{"photo_id":"1345215935","filename":"file4"},{"photo_id":"1345215908","filename":"file1"},{"photo_id":"1345215901","filename":"file0"},{"photo_id":"1345215921","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345215921":["hashtag1","hashtag2"]},{"1345215935":["hashtag1","hashtag2"]},{"1345215908":["hashtag1","hashtag2"]},{"1345215916":["hashtag1","hashtag2"]},{"1345215901":["hashtag1","hashtag2"]},{"1345215942":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345215921, 1345215935, 1345215908, 1345215916, 1345215901, 1345215942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.06446099281311 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:50:32.028909
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/32/image_17032025_00_32_17_4266.jpg', 2), ('/home/nano/Desktop/images/17032025/00/32/image_17032025_00_32_13_4306.jpg', 2), ('/home/nano/Desktop/images/17032025/00/32/image_17032025_00_32_09_3264.jpg', 2), ('/home/nano/Desktop/images/17032025/00/32/image_17032025_00_32_06_4578.jpg', 2), ('/home/nano/Desktop/images/17032025/00/31/image_17032025_00_32_01_4272.jpg', 2), ('/home/nano/Desktop/images/17032025/00/31/image_17032025_00_31_33_4276.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/32/image_17032025_00_32_17_4266.jpg', '/home/nano/Desktop/images/17032025/00/32/image_17032025_00_32_13_4306.jpg', '/home/nano/Desktop/images/17032025/00/32/image_17032025_00_32_09_3264.jpg', '/home/nano/Desktop/images/17032025/00/32/image_17032025_00_32_06_4578.jpg', '/home/nano/Desktop/images/17032025/00/31/image_17032025_00_32_01_4272.jpg', '/home/nano/Desktop/images/17032025/00/31/image_17032025_00_31_33_4276.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/32/image_17032025_00_32_17_4266.jpg
/home/nano/Desktop/images/17032025/00/32/image_17032025_00_32_13_4306.jpg
/home/nano/Desktop/images/17032025/00/32/image_17032025_00_32_09_3264.jpg
/home/nano/Desktop/images/17032025/00/32/image_17032025_00_32_06_4578.jpg
/home/nano/Desktop/images/17032025/00/31/image_17032025_00_32_01_4272.jpg
/home/nano/Desktop/images/17032025/00/31/image_17032025_00_31_33_4276.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345216028","1345216022","1345216019","1345216010","1345216015","1345216032"],"photo_ids_order":["1345216010","1345216015","1345216019","1345216022","1345216028","1345216032"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9e91579ff89aa8a5e1160a5b63e82cd1.jpg","text":"TemporaryFile(/tmp/multipartBody8605326116403529561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323893198,"filename":"image_17032025_00_32_01_4272.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f545d064b997405b57707d0647748081.jpg","text":"TemporaryFile(/tmp/multipartBody1070711964912156095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323893198,"filename":"image_17032025_00_32_06_4578.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/54d6a2bd963d44a4f0490e4140164ed4.jpg","text":"TemporaryFile(/tmp/multipartBody1397543151625791630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323893198,"filename":"image_17032025_00_32_09_3264.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/47d7ce1ae8ded18c99acf81db911a2fb.jpg","text":"TemporaryFile(/tmp/multipartBody3040779864675696210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323893198,"filename":"image_17032025_00_32_17_4266.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c66075ff747cebfea77c0a41a1a95ddd.jpg","text":"TemporaryFile(/tmp/multipartBody7032821170548034133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323893198,"filename":"image_17032025_00_32_13_4306.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fc3014eeccd6138876e3b6f134fa9ced.jpg","text":"TemporaryFile(/tmp/multipartBody1635649958205301139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323893198,"filename":"image_17032025_00_31_33_4276.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345216019","file1":"1345216015","file0":"1345216010","file4":"1345216028","file5":"1345216032","file3":"1345216022"},"map_files_photo_id_array":[{"photo_id":"1345216032","filename":"file5"},{"photo_id":"1345216019","filename":"file2"},{"photo_id":"1345216028","filename":"file4"},{"photo_id":"1345216015","filename":"file1"},{"photo_id":"1345216010","filename":"file0"},{"photo_id":"1345216022","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345216028":["hashtag1","hashtag2"]},{"1345216022":["hashtag1","hashtag2"]},{"1345216019":["hashtag1","hashtag2"]},{"1345216010":["hashtag1","hashtag2"]},{"1345216015":["hashtag1","hashtag2"]},{"1345216032":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345216028, 1345216022, 1345216019, 1345216010, 1345216015, 1345216032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.70208144187927 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:51:32.202670
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/31/image_17032025_00_31_29_3256.jpg', 2), ('/home/nano/Desktop/images/17032025/00/31/image_17032025_00_31_26_4271.jpg', 2), ('/home/nano/Desktop/images/17032025/00/31/image_17032025_00_31_21_4273.jpg', 2), ('/home/nano/Desktop/images/17032025/00/31/image_17032025_00_31_17_4298.jpg', 2), ('/home/nano/Desktop/images/17032025/00/31/image_17032025_00_31_13_3268.jpg', 2), ('/home/nano/Desktop/images/17032025/00/31/image_17032025_00_31_09_4318.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/31/image_17032025_00_31_29_3256.jpg', '/home/nano/Desktop/images/17032025/00/31/image_17032025_00_31_26_4271.jpg', '/home/nano/Desktop/images/17032025/00/31/image_17032025_00_31_21_4273.jpg', '/home/nano/Desktop/images/17032025/00/31/image_17032025_00_31_17_4298.jpg', '/home/nano/Desktop/images/17032025/00/31/image_17032025_00_31_13_3268.jpg', '/home/nano/Desktop/images/17032025/00/31/image_17032025_00_31_09_4318.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/31/image_17032025_00_31_29_3256.jpg
/home/nano/Desktop/images/17032025/00/31/image_17032025_00_31_26_4271.jpg
/home/nano/Desktop/images/17032025/00/31/image_17032025_00_31_21_4273.jpg
/home/nano/Desktop/images/17032025/00/31/image_17032025_00_31_17_4298.jpg
/home/nano/Desktop/images/17032025/00/31/image_17032025_00_31_13_3268.jpg
/home/nano/Desktop/images/17032025/00/31/image_17032025_00_31_09_4318.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345216157","1345216150","1345216153","1345216108","1345216083","1345216137"],"photo_ids_order":["1345216083","1345216108","1345216137","1345216150","1345216153","1345216157"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/42d53955ed62706346e1f61c20d327ab.jpg","text":"TemporaryFile(/tmp/multipartBody7547004871758727856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323953407,"filename":"image_17032025_00_31_09_4318.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/00cc5b5011e4cbeb180273afe1126bb0.jpg","text":"TemporaryFile(/tmp/multipartBody5794569455841912850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323953407,"filename":"image_17032025_00_31_17_4298.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/67b2f63bb01b3e892657254bb6f1361a.jpg","text":"TemporaryFile(/tmp/multipartBody2894639810092536770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323953407,"filename":"image_17032025_00_31_13_3268.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/18addb5bf126f79534b25ad74958c279.jpg","text":"TemporaryFile(/tmp/multipartBody6353030147381391173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323953407,"filename":"image_17032025_00_31_26_4271.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0f62a72cee70d069c2ba5c3fc54b7d3a.jpg","text":"TemporaryFile(/tmp/multipartBody6443440611901122057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323953407,"filename":"image_17032025_00_31_29_3256.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6e7ad64c6428057d76bb4c90889e3d4d.jpg","text":"TemporaryFile(/tmp/multipartBody7895019230078065071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742323953407,"filename":"image_17032025_00_31_21_4273.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345216137","file1":"1345216108","file0":"1345216083","file4":"1345216153","file5":"1345216157","file3":"1345216150"},"map_files_photo_id_array":[{"photo_id":"1345216157","filename":"file5"},{"photo_id":"1345216137","filename":"file2"},{"photo_id":"1345216153","filename":"file4"},{"photo_id":"1345216108","filename":"file1"},{"photo_id":"1345216083","filename":"file0"},{"photo_id":"1345216150","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345216157":["hashtag1","hashtag2"]},{"1345216150":["hashtag1","hashtag2"]},{"1345216153":["hashtag1","hashtag2"]},{"1345216108":["hashtag1","hashtag2"]},{"1345216083":["hashtag1","hashtag2"]},{"1345216137":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345216157, 1345216150, 1345216153, 1345216108, 1345216083, 1345216137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.403196573257446 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:52:32.365759
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/31/image_17032025_00_31_05_3686.jpg', 2), ('/home/nano/Desktop/images/17032025/00/30/image_17032025_00_31_01_4302.jpg', 2), ('/home/nano/Desktop/images/17032025/00/30/image_17032025_00_30_33_4268.jpg', 2), ('/home/nano/Desktop/images/17032025/00/30/image_17032025_00_30_29_4267.jpg', 2), ('/home/nano/Desktop/images/17032025/00/30/image_17032025_00_30_25_4264.jpg', 2), ('/home/nano/Desktop/images/17032025/00/30/image_17032025_00_30_21_3256.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/31/image_17032025_00_31_05_3686.jpg', '/home/nano/Desktop/images/17032025/00/30/image_17032025_00_31_01_4302.jpg', '/home/nano/Desktop/images/17032025/00/30/image_17032025_00_30_33_4268.jpg', '/home/nano/Desktop/images/17032025/00/30/image_17032025_00_30_29_4267.jpg', '/home/nano/Desktop/images/17032025/00/30/image_17032025_00_30_25_4264.jpg', '/home/nano/Desktop/images/17032025/00/30/image_17032025_00_30_21_3256.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/31/image_17032025_00_31_05_3686.jpg
/home/nano/Desktop/images/17032025/00/30/image_17032025_00_31_01_4302.jpg
/home/nano/Desktop/images/17032025/00/30/image_17032025_00_30_33_4268.jpg
/home/nano/Desktop/images/17032025/00/30/image_17032025_00_30_29_4267.jpg
/home/nano/Desktop/images/17032025/00/30/image_17032025_00_30_25_4264.jpg
/home/nano/Desktop/images/17032025/00/30/image_17032025_00_30_21_3256.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345216250","1345216186","1345216197","1345216182","1345216209","1345216193"],"photo_ids_order":["1345216182","1345216186","1345216193","1345216197","1345216209","1345216250"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c911601177fdff0eb410f52e97708232.jpg","text":"TemporaryFile(/tmp/multipartBody3284137760101210831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324013544,"filename":"image_17032025_00_30_21_3256.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/db7fd80c92b51be36f36bb426460f841.jpg","text":"TemporaryFile(/tmp/multipartBody9080362083569115298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324013544,"filename":"image_17032025_00_31_01_4302.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bc7760036c5dae0fe9574788aca4daa3.jpg","text":"TemporaryFile(/tmp/multipartBody8866631199516858364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324013544,"filename":"image_17032025_00_30_29_4267.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8fa4b40278bddba2df3c195e2b7ebcc5.jpg","text":"TemporaryFile(/tmp/multipartBody2736579861228129233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324013544,"filename":"image_17032025_00_31_05_3686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8cfeb2c06252e1f35fdd66c4fc3a6e8d.jpg","text":"TemporaryFile(/tmp/multipartBody3171977446944662687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324013544,"filename":"image_17032025_00_30_25_4264.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d8629757516e17d06208769153156bf4.jpg","text":"TemporaryFile(/tmp/multipartBody4115611469213950538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324013544,"filename":"image_17032025_00_30_33_4268.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345216193","file1":"1345216186","file0":"1345216182","file4":"1345216209","file5":"1345216250","file3":"1345216197"},"map_files_photo_id_array":[{"photo_id":"1345216250","filename":"file5"},{"photo_id":"1345216193","filename":"file2"},{"photo_id":"1345216209","filename":"file4"},{"photo_id":"1345216186","filename":"file1"},{"photo_id":"1345216182","filename":"file0"},{"photo_id":"1345216197","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345216250":["hashtag1","hashtag2"]},{"1345216186":["hashtag1","hashtag2"]},{"1345216197":["hashtag1","hashtag2"]},{"1345216182":["hashtag1","hashtag2"]},{"1345216209":["hashtag1","hashtag2"]},{"1345216193":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345216250, 1345216186, 1345216197, 1345216182, 1345216209, 1345216193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.442594051361084 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:53:32.567757
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/30/image_17032025_00_30_17_4273.jpg', 2), ('/home/nano/Desktop/images/17032025/00/30/image_17032025_00_30_13_4277.jpg', 2), ('/home/nano/Desktop/images/17032025/00/30/image_17032025_00_30_09_3291.jpg', 2), ('/home/nano/Desktop/images/17032025/00/30/image_17032025_00_30_06_4708.jpg', 2), ('/home/nano/Desktop/images/17032025/00/30/image_17032025_00_30_01_3283.jpg', 2), ('/home/nano/Desktop/images/17032025/00/29/image_17032025_00_29_33_4286.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/30/image_17032025_00_30_17_4273.jpg', '/home/nano/Desktop/images/17032025/00/30/image_17032025_00_30_13_4277.jpg', '/home/nano/Desktop/images/17032025/00/30/image_17032025_00_30_09_3291.jpg', '/home/nano/Desktop/images/17032025/00/30/image_17032025_00_30_06_4708.jpg', '/home/nano/Desktop/images/17032025/00/30/image_17032025_00_30_01_3283.jpg', '/home/nano/Desktop/images/17032025/00/29/image_17032025_00_29_33_4286.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/30/image_17032025_00_30_17_4273.jpg
/home/nano/Desktop/images/17032025/00/30/image_17032025_00_30_13_4277.jpg
/home/nano/Desktop/images/17032025/00/30/image_17032025_00_30_09_3291.jpg
/home/nano/Desktop/images/17032025/00/30/image_17032025_00_30_06_4708.jpg
/home/nano/Desktop/images/17032025/00/30/image_17032025_00_30_01_3283.jpg
/home/nano/Desktop/images/17032025/00/29/image_17032025_00_29_33_4286.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345216574","1345216552","1345216534","1345216543","1345216510","1345216565"],"photo_ids_order":["1345216510","1345216534","1345216543","1345216552","1345216565","1345216574"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3815710f229951a77ad0988ea9187d1b.jpg","text":"TemporaryFile(/tmp/multipartBody1563529945206049876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324073725,"filename":"image_17032025_00_29_33_4286.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3af87fe3c245689335fb46d2f3394672.jpg","text":"TemporaryFile(/tmp/multipartBody6051221714657465153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324073725,"filename":"image_17032025_00_30_06_4708.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/00486238873bbb98fa8bd9aa8206fcdd.jpg","text":"TemporaryFile(/tmp/multipartBody2993533124351800826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324073725,"filename":"image_17032025_00_30_13_4277.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e2329828d4480e79ad673e6e667cfb73.jpg","text":"TemporaryFile(/tmp/multipartBody8706117432707067813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324073725,"filename":"image_17032025_00_30_09_3291.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/09ff67342b240f85064ae866e7464785.jpg","text":"TemporaryFile(/tmp/multipartBody3567664425096516694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324073725,"filename":"image_17032025_00_30_17_4273.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c4d458f9c0b202b3a1fdc887505eba44.jpg","text":"TemporaryFile(/tmp/multipartBody5913104385450637222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324073725,"filename":"image_17032025_00_30_01_3283.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345216543","file1":"1345216534","file0":"1345216510","file4":"1345216565","file5":"1345216574","file3":"1345216552"},"map_files_photo_id_array":[{"photo_id":"1345216574","filename":"file5"},{"photo_id":"1345216543","filename":"file2"},{"photo_id":"1345216565","filename":"file4"},{"photo_id":"1345216534","filename":"file1"},{"photo_id":"1345216510","filename":"file0"},{"photo_id":"1345216552","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345216574":["hashtag1","hashtag2"]},{"1345216552":["hashtag1","hashtag2"]},{"1345216534":["hashtag1","hashtag2"]},{"1345216543":["hashtag1","hashtag2"]},{"1345216510":["hashtag1","hashtag2"]},{"1345216565":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345216574, 1345216552, 1345216534, 1345216543, 1345216510, 1345216565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.96600890159607 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:54:32.728941
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/29/image_17032025_00_29_29_3258.jpg', 2), ('/home/nano/Desktop/images/17032025/00/29/image_17032025_00_29_25_4277.jpg', 2), ('/home/nano/Desktop/images/17032025/00/29/image_17032025_00_29_21_4278.jpg', 2), ('/home/nano/Desktop/images/17032025/00/29/image_17032025_00_29_17_3262.jpg', 2), ('/home/nano/Desktop/images/17032025/00/29/image_17032025_00_29_14_4271.jpg', 2), ('/home/nano/Desktop/images/17032025/00/29/image_17032025_00_29_09_4279.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/29/image_17032025_00_29_29_3258.jpg', '/home/nano/Desktop/images/17032025/00/29/image_17032025_00_29_25_4277.jpg', '/home/nano/Desktop/images/17032025/00/29/image_17032025_00_29_21_4278.jpg', '/home/nano/Desktop/images/17032025/00/29/image_17032025_00_29_17_3262.jpg', '/home/nano/Desktop/images/17032025/00/29/image_17032025_00_29_14_4271.jpg', '/home/nano/Desktop/images/17032025/00/29/image_17032025_00_29_09_4279.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/29/image_17032025_00_29_29_3258.jpg
/home/nano/Desktop/images/17032025/00/29/image_17032025_00_29_25_4277.jpg
/home/nano/Desktop/images/17032025/00/29/image_17032025_00_29_21_4278.jpg
/home/nano/Desktop/images/17032025/00/29/image_17032025_00_29_17_3262.jpg
/home/nano/Desktop/images/17032025/00/29/image_17032025_00_29_14_4271.jpg
/home/nano/Desktop/images/17032025/00/29/image_17032025_00_29_09_4279.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345216630","1345216627","1345216644","1345216623","1345216620","1345216614"],"photo_ids_order":["1345216614","1345216620","1345216623","1345216627","1345216630","1345216644"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0c93a927350da48d18d70a81913d2d82.jpg","text":"TemporaryFile(/tmp/multipartBody5818862152511616292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324133917,"filename":"image_17032025_00_29_14_4271.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b87707f664642a861edf3ba794498ba3.jpg","text":"TemporaryFile(/tmp/multipartBody7588265733715758834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324133917,"filename":"image_17032025_00_29_17_3262.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/41bc64692bbecfdfa53c2a514246cc4e.jpg","text":"TemporaryFile(/tmp/multipartBody4273529336089186358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324133917,"filename":"image_17032025_00_29_09_4279.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bfe7bf7bbe8e57111f71068dc8aa7713.jpg","text":"TemporaryFile(/tmp/multipartBody7744144101305217551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324133917,"filename":"image_17032025_00_29_21_4278.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b558293f793421db1168442ffd0d8d07.jpg","text":"TemporaryFile(/tmp/multipartBody7964091714875366433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324133917,"filename":"image_17032025_00_29_25_4277.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/db1d447d90c7ff00cf9f3d998d37cea6.jpg","text":"TemporaryFile(/tmp/multipartBody7852703012287397887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324133917,"filename":"image_17032025_00_29_29_3258.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345216623","file1":"1345216620","file0":"1345216614","file4":"1345216630","file5":"1345216644","file3":"1345216627"},"map_files_photo_id_array":[{"photo_id":"1345216644","filename":"file5"},{"photo_id":"1345216623","filename":"file2"},{"photo_id":"1345216630","filename":"file4"},{"photo_id":"1345216620","filename":"file1"},{"photo_id":"1345216614","filename":"file0"},{"photo_id":"1345216627","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345216630":["hashtag1","hashtag2"]},{"1345216627":["hashtag1","hashtag2"]},{"1345216644":["hashtag1","hashtag2"]},{"1345216623":["hashtag1","hashtag2"]},{"1345216620":["hashtag1","hashtag2"]},{"1345216614":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345216630, 1345216627, 1345216644, 1345216623, 1345216620, 1345216614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.98639965057373 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:55:31.886158
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/29/image_17032025_00_29_05_3664.jpg', 2), ('/home/nano/Desktop/images/17032025/00/28/image_17032025_00_29_01_4271.jpg', 2), ('/home/nano/Desktop/images/17032025/00/28/image_17032025_00_28_33_4279.jpg', 2), ('/home/nano/Desktop/images/17032025/00/28/image_17032025_00_28_29_4283.jpg', 2), ('/home/nano/Desktop/images/17032025/00/28/image_17032025_00_28_25_3272.jpg', 2), ('/home/nano/Desktop/images/17032025/00/28/image_17032025_00_28_21_4279.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/29/image_17032025_00_29_05_3664.jpg', '/home/nano/Desktop/images/17032025/00/28/image_17032025_00_29_01_4271.jpg', '/home/nano/Desktop/images/17032025/00/28/image_17032025_00_28_33_4279.jpg', '/home/nano/Desktop/images/17032025/00/28/image_17032025_00_28_29_4283.jpg', '/home/nano/Desktop/images/17032025/00/28/image_17032025_00_28_25_3272.jpg', '/home/nano/Desktop/images/17032025/00/28/image_17032025_00_28_21_4279.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/29/image_17032025_00_29_05_3664.jpg
/home/nano/Desktop/images/17032025/00/28/image_17032025_00_29_01_4271.jpg
/home/nano/Desktop/images/17032025/00/28/image_17032025_00_28_33_4279.jpg
/home/nano/Desktop/images/17032025/00/28/image_17032025_00_28_29_4283.jpg
/home/nano/Desktop/images/17032025/00/28/image_17032025_00_28_25_3272.jpg
/home/nano/Desktop/images/17032025/00/28/image_17032025_00_28_21_4279.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345216774","1345216765","1345216770","1345216731","1345216781","1345216778"],"photo_ids_order":["1345216731","1345216765","1345216770","1345216774","1345216778","1345216781"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/987088740168d52f1180886236d228ea.jpg","text":"TemporaryFile(/tmp/multipartBody7883283009530772072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324193069,"filename":"image_17032025_00_28_29_4283.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c2c14a4d252a8d11f2ac5bd1ead3a7ac.jpg","text":"TemporaryFile(/tmp/multipartBody2004470435338676584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324193069,"filename":"image_17032025_00_29_01_4271.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f841199a61ad595fed61ec0c8e73676e.jpg","text":"TemporaryFile(/tmp/multipartBody8983065768653268575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324193069,"filename":"image_17032025_00_28_33_4279.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/06861b25f225cb7c51f25d6ac1efa611.jpg","text":"TemporaryFile(/tmp/multipartBody3335682516207455588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324193069,"filename":"image_17032025_00_29_05_3664.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/80edcb4665354e25e9236d2447fa992e.jpg","text":"TemporaryFile(/tmp/multipartBody2966395059032045096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324193069,"filename":"image_17032025_00_28_21_4279.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b57de2f6877ee11b80284640a51f3234.jpg","text":"TemporaryFile(/tmp/multipartBody8581214658870632078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324193069,"filename":"image_17032025_00_28_25_3272.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345216770","file1":"1345216765","file0":"1345216731","file4":"1345216778","file5":"1345216781","file3":"1345216774"},"map_files_photo_id_array":[{"photo_id":"1345216781","filename":"file5"},{"photo_id":"1345216770","filename":"file2"},{"photo_id":"1345216778","filename":"file4"},{"photo_id":"1345216765","filename":"file1"},{"photo_id":"1345216731","filename":"file0"},{"photo_id":"1345216774","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345216774":["hashtag1","hashtag2"]},{"1345216765":["hashtag1","hashtag2"]},{"1345216770":["hashtag1","hashtag2"]},{"1345216731":["hashtag1","hashtag2"]},{"1345216781":["hashtag1","hashtag2"]},{"1345216778":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345216774, 1345216765, 1345216770, 1345216731, 1345216781, 1345216778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.978055238723755 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:56:32.064727
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/28/image_17032025_00_28_17_4278.jpg', 2), ('/home/nano/Desktop/images/17032025/00/28/image_17032025_00_28_13_3281.jpg', 2), ('/home/nano/Desktop/images/17032025/00/28/image_17032025_00_28_10_4282.jpg', 2), ('/home/nano/Desktop/images/17032025/00/28/image_17032025_00_28_05_4546.jpg', 2), ('/home/nano/Desktop/images/17032025/00/28/image_17032025_00_28_01_3259.jpg', 2), ('/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_57_4277.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/28/image_17032025_00_28_17_4278.jpg', '/home/nano/Desktop/images/17032025/00/28/image_17032025_00_28_13_3281.jpg', '/home/nano/Desktop/images/17032025/00/28/image_17032025_00_28_10_4282.jpg', '/home/nano/Desktop/images/17032025/00/28/image_17032025_00_28_05_4546.jpg', '/home/nano/Desktop/images/17032025/00/28/image_17032025_00_28_01_3259.jpg', '/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_57_4277.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/28/image_17032025_00_28_17_4278.jpg
/home/nano/Desktop/images/17032025/00/28/image_17032025_00_28_13_3281.jpg
/home/nano/Desktop/images/17032025/00/28/image_17032025_00_28_10_4282.jpg
/home/nano/Desktop/images/17032025/00/28/image_17032025_00_28_05_4546.jpg
/home/nano/Desktop/images/17032025/00/28/image_17032025_00_28_01_3259.jpg
/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_57_4277.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345216832","1345216795","1345216804","1345216854","1345216809","1345216800"],"photo_ids_order":["1345216795","1345216800","1345216804","1345216809","1345216832","1345216854"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ed114d459ff2344d73c6fa207e06f257.jpg","text":"TemporaryFile(/tmp/multipartBody8223965037551205510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324253280,"filename":"image_17032025_00_28_01_3259.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8e60d87ede56d8da5fc2cbdf36a5a5f1.jpg","text":"TemporaryFile(/tmp/multipartBody5221326880849736477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324253280,"filename":"image_17032025_00_28_17_4278.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7346e0c1e1e4bcd30e7f2fc92a8f4a64.jpg","text":"TemporaryFile(/tmp/multipartBody7484884757259779270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324253280,"filename":"image_17032025_00_28_10_4282.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0a5eb35ede3fa6148fa2444a71701a26.jpg","text":"TemporaryFile(/tmp/multipartBody8180732938061477740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324253280,"filename":"image_17032025_00_27_57_4277.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e668f1967bbf7d051da9d5b77f24b118.jpg","text":"TemporaryFile(/tmp/multipartBody9116898690385727109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324253280,"filename":"image_17032025_00_28_05_4546.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b2fc97ee540b9d52ff83b8e2256fd3e7.jpg","text":"TemporaryFile(/tmp/multipartBody8517704616583958771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324253280,"filename":"image_17032025_00_28_13_3281.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345216804","file1":"1345216800","file0":"1345216795","file4":"1345216832","file5":"1345216854","file3":"1345216809"},"map_files_photo_id_array":[{"photo_id":"1345216854","filename":"file5"},{"photo_id":"1345216804","filename":"file2"},{"photo_id":"1345216832","filename":"file4"},{"photo_id":"1345216800","filename":"file1"},{"photo_id":"1345216795","filename":"file0"},{"photo_id":"1345216809","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345216832":["hashtag1","hashtag2"]},{"1345216795":["hashtag1","hashtag2"]},{"1345216804":["hashtag1","hashtag2"]},{"1345216854":["hashtag1","hashtag2"]},{"1345216809":["hashtag1","hashtag2"]},{"1345216800":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345216832, 1345216795, 1345216804, 1345216854, 1345216809, 1345216800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.93333578109741 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:57:32.274798
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_30_4276.jpg', 2), ('/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_25_4276.jpg', 2), ('/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_21_4278.jpg', 2), ('/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_17_3290.jpg', 2), ('/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_13_4315.jpg', 2), ('/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_09_4281.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_30_4276.jpg', '/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_25_4276.jpg', '/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_21_4278.jpg', '/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_17_3290.jpg', '/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_13_4315.jpg', '/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_09_4281.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_30_4276.jpg
/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_25_4276.jpg
/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_21_4278.jpg
/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_17_3290.jpg
/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_13_4315.jpg
/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_09_4281.jpg
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:58:02.917114
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_30_4276.jpg', 2), ('/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_25_4276.jpg', 2), ('/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_21_4278.jpg', 2), ('/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_17_3290.jpg', 2), ('/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_13_4315.jpg', 2), ('/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_09_4281.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_30_4276.jpg', '/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_25_4276.jpg', '/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_21_4278.jpg', '/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_17_3290.jpg', '/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_13_4315.jpg', '/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_09_4281.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_30_4276.jpg
/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_25_4276.jpg
/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_21_4278.jpg
/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_17_3290.jpg
/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_13_4315.jpg
/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_09_4281.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345217332","1345217239","1345217212","1345217279","1345217387","1345217447"],"photo_ids_order":["1345217212","1345217239","1345217279","1345217332","1345217387","1345217447"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/258c1c1d7a3601fedba36a083dcf50ba.jpg","text":"TemporaryFile(/tmp/multipartBody518745338652167108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324343949,"filename":"image_17032025_00_27_17_3290.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ce7d91fa8ac674255f7a3941c71f5621.jpg","text":"TemporaryFile(/tmp/multipartBody2226913860332682476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324343949,"filename":"image_17032025_00_27_25_4276.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3ae9b3a5bc1fee481523b5aece32dcd6.jpg","text":"TemporaryFile(/tmp/multipartBody2993694097194371639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324343949,"filename":"image_17032025_00_27_30_4276.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/679ea9bb6e37e598934b51dbf3e68f09.jpg","text":"TemporaryFile(/tmp/multipartBody5668364113346900561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324343949,"filename":"image_17032025_00_27_21_4278.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9834837586bfc23a0b575fee0a0f1bfb.jpg","text":"TemporaryFile(/tmp/multipartBody2243156857358703655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324343949,"filename":"image_17032025_00_27_13_4315.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/049253dc9cde616ca58aeffd7a658f23.jpg","text":"TemporaryFile(/tmp/multipartBody6934289885319140457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324343949,"filename":"image_17032025_00_27_09_4281.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345217279","file1":"1345217239","file0":"1345217212","file4":"1345217387","file5":"1345217447","file3":"1345217332"},"map_files_photo_id_array":[{"photo_id":"1345217447","filename":"file5"},{"photo_id":"1345217279","filename":"file2"},{"photo_id":"1345217387","filename":"file4"},{"photo_id":"1345217239","filename":"file1"},{"photo_id":"1345217212","filename":"file0"},{"photo_id":"1345217332","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345217332":["hashtag1","hashtag2"]},{"1345217239":["hashtag1","hashtag2"]},{"1345217212":["hashtag1","hashtag2"]},{"1345217279":["hashtag1","hashtag2"]},{"1345217387":["hashtag1","hashtag2"]},{"1345217447":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345217332, 1345217239, 1345217212, 1345217279, 1345217387, 1345217447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.12053370475769 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 19:59:03.164287
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_05_3519.jpg', 2), ('/home/nano/Desktop/images/17032025/00/26/image_17032025_00_27_01_4274.jpg', 2), ('/home/nano/Desktop/images/17032025/00/26/image_17032025_00_26_57_4302.jpg', 2), ('/home/nano/Desktop/images/17032025/00/26/image_17032025_00_26_29_4284.jpg', 2), ('/home/nano/Desktop/images/17032025/00/26/image_17032025_00_26_25_3268.jpg', 2), ('/home/nano/Desktop/images/17032025/00/26/image_17032025_00_26_21_4281.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_05_3519.jpg', '/home/nano/Desktop/images/17032025/00/26/image_17032025_00_27_01_4274.jpg', '/home/nano/Desktop/images/17032025/00/26/image_17032025_00_26_57_4302.jpg', '/home/nano/Desktop/images/17032025/00/26/image_17032025_00_26_29_4284.jpg', '/home/nano/Desktop/images/17032025/00/26/image_17032025_00_26_25_3268.jpg', '/home/nano/Desktop/images/17032025/00/26/image_17032025_00_26_21_4281.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/27/image_17032025_00_27_05_3519.jpg
/home/nano/Desktop/images/17032025/00/26/image_17032025_00_27_01_4274.jpg
/home/nano/Desktop/images/17032025/00/26/image_17032025_00_26_57_4302.jpg
/home/nano/Desktop/images/17032025/00/26/image_17032025_00_26_29_4284.jpg
/home/nano/Desktop/images/17032025/00/26/image_17032025_00_26_25_3268.jpg
/home/nano/Desktop/images/17032025/00/26/image_17032025_00_26_21_4281.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345217896","1345217866","1345218075","1345217827","1345218003","1345217949"],"photo_ids_order":["1345217827","1345217866","1345217896","1345217949","1345218003","1345218075"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/abc385d468df6810700dcb0d717af9b8.jpg","text":"TemporaryFile(/tmp/multipartBody5193923525684074119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324404379,"filename":"image_17032025_00_26_57_4302.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/37e258bb8aa8fe6f09b1498a41cf0189.jpg","text":"TemporaryFile(/tmp/multipartBody94400488420866443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324404379,"filename":"image_17032025_00_27_01_4274.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cdca98e9274c6ec3f650522b91dbf2d3.jpg","text":"TemporaryFile(/tmp/multipartBody4017804959444854235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324404379,"filename":"image_17032025_00_26_21_4281.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a26e5ac398640b3301f8138ca82872e0.jpg","text":"TemporaryFile(/tmp/multipartBody9165871072344416261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324404379,"filename":"image_17032025_00_27_05_3519.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9218a22e8329dc2e222bfa66e1288a9f.jpg","text":"TemporaryFile(/tmp/multipartBody8031727027601234487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324404379,"filename":"image_17032025_00_26_25_3268.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0a2b3900c41285ae232160b45df1640e.jpg","text":"TemporaryFile(/tmp/multipartBody7591407209574449828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324404379,"filename":"image_17032025_00_26_29_4284.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345217896","file1":"1345217866","file0":"1345217827","file4":"1345218003","file5":"1345218075","file3":"1345217949"},"map_files_photo_id_array":[{"photo_id":"1345218075","filename":"file5"},{"photo_id":"1345217896","filename":"file2"},{"photo_id":"1345218003","filename":"file4"},{"photo_id":"1345217866","filename":"file1"},{"photo_id":"1345217827","filename":"file0"},{"photo_id":"1345217949","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345217896":["hashtag1","hashtag2"]},{"1345217866":["hashtag1","hashtag2"]},{"1345218075":["hashtag1","hashtag2"]},{"1345217827":["hashtag1","hashtag2"]},{"1345218003":["hashtag1","hashtag2"]},{"1345217949":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345217896, 1345217866, 1345218075, 1345217827, 1345218003, 1345217949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.83583903312683 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:00:03.185166
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/26/image_17032025_00_26_17_4278.jpg', 2), ('/home/nano/Desktop/images/17032025/00/26/image_17032025_00_26_13_4316.jpg', 2), ('/home/nano/Desktop/images/17032025/00/26/image_17032025_00_26_09_3276.jpg', 2), ('/home/nano/Desktop/images/17032025/00/26/image_17032025_00_26_05_4658.jpg', 2), ('/home/nano/Desktop/images/17032025/00/26/image_17032025_00_26_01_3254.jpg', 2), ('/home/nano/Desktop/images/17032025/00/25/image_17032025_00_25_33_3274.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/26/image_17032025_00_26_17_4278.jpg', '/home/nano/Desktop/images/17032025/00/26/image_17032025_00_26_13_4316.jpg', '/home/nano/Desktop/images/17032025/00/26/image_17032025_00_26_09_3276.jpg', '/home/nano/Desktop/images/17032025/00/26/image_17032025_00_26_05_4658.jpg', '/home/nano/Desktop/images/17032025/00/26/image_17032025_00_26_01_3254.jpg', '/home/nano/Desktop/images/17032025/00/25/image_17032025_00_25_33_3274.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/26/image_17032025_00_26_17_4278.jpg
/home/nano/Desktop/images/17032025/00/26/image_17032025_00_26_13_4316.jpg
/home/nano/Desktop/images/17032025/00/26/image_17032025_00_26_09_3276.jpg
/home/nano/Desktop/images/17032025/00/26/image_17032025_00_26_05_4658.jpg
/home/nano/Desktop/images/17032025/00/26/image_17032025_00_26_01_3254.jpg
/home/nano/Desktop/images/17032025/00/25/image_17032025_00_25_33_3274.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345218445","1345218450","1345218441","1345218437","1345218416","1345218391"],"photo_ids_order":["1345218391","1345218416","1345218437","1345218441","1345218445","1345218450"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e1ba158d5a415aab7dd41719933412f4.jpg","text":"TemporaryFile(/tmp/multipartBody8318688493652176228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324464325,"filename":"image_17032025_00_26_01_3254.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2054a16287760dc428b8903b18db87d7.jpg","text":"TemporaryFile(/tmp/multipartBody3936730981305390606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324464325,"filename":"image_17032025_00_25_33_3274.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bb425a81c419c6ba1b8810242f44d31a.jpg","text":"TemporaryFile(/tmp/multipartBody6549327415562548989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324464325,"filename":"image_17032025_00_26_05_4658.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/eaccb0e466e71770ab5acc5ea9dc0e50.jpg","text":"TemporaryFile(/tmp/multipartBody14482045647592846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324464325,"filename":"image_17032025_00_26_09_3276.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4ee0f970e87d6ec7c0844c77f39ff38d.jpg","text":"TemporaryFile(/tmp/multipartBody7691677490550864082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324464325,"filename":"image_17032025_00_26_13_4316.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/971a46c6da20ef9a56aa85006a8775bc.jpg","text":"TemporaryFile(/tmp/multipartBody1804705582361590163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324464325,"filename":"image_17032025_00_26_17_4278.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345218437","file1":"1345218416","file0":"1345218391","file4":"1345218445","file5":"1345218450","file3":"1345218441"},"map_files_photo_id_array":[{"photo_id":"1345218450","filename":"file5"},{"photo_id":"1345218437","filename":"file2"},{"photo_id":"1345218445","filename":"file4"},{"photo_id":"1345218416","filename":"file1"},{"photo_id":"1345218391","filename":"file0"},{"photo_id":"1345218441","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345218445":["hashtag1","hashtag2"]},{"1345218450":["hashtag1","hashtag2"]},{"1345218441":["hashtag1","hashtag2"]},{"1345218437":["hashtag1","hashtag2"]},{"1345218416":["hashtag1","hashtag2"]},{"1345218391":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345218445, 1345218450, 1345218441, 1345218437, 1345218416, 1345218391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.196218490600586 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:01:03.138713
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/25/image_17032025_00_25_29_4286.jpg', 2), ('/home/nano/Desktop/images/17032025/00/25/image_17032025_00_25_25_4281.jpg', 2), ('/home/nano/Desktop/images/17032025/00/25/image_17032025_00_25_21_3264.jpg', 2), ('/home/nano/Desktop/images/17032025/00/25/image_17032025_00_25_18_4285.jpg', 2), ('/home/nano/Desktop/images/17032025/00/25/image_17032025_00_25_13_4286.jpg', 2), ('/home/nano/Desktop/images/17032025/00/25/image_17032025_00_25_09_4308.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/25/image_17032025_00_25_29_4286.jpg', '/home/nano/Desktop/images/17032025/00/25/image_17032025_00_25_25_4281.jpg', '/home/nano/Desktop/images/17032025/00/25/image_17032025_00_25_21_3264.jpg', '/home/nano/Desktop/images/17032025/00/25/image_17032025_00_25_18_4285.jpg', '/home/nano/Desktop/images/17032025/00/25/image_17032025_00_25_13_4286.jpg', '/home/nano/Desktop/images/17032025/00/25/image_17032025_00_25_09_4308.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/25/image_17032025_00_25_29_4286.jpg
/home/nano/Desktop/images/17032025/00/25/image_17032025_00_25_25_4281.jpg
/home/nano/Desktop/images/17032025/00/25/image_17032025_00_25_21_3264.jpg
/home/nano/Desktop/images/17032025/00/25/image_17032025_00_25_18_4285.jpg
/home/nano/Desktop/images/17032025/00/25/image_17032025_00_25_13_4286.jpg
/home/nano/Desktop/images/17032025/00/25/image_17032025_00_25_09_4308.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345218760","1345218792","1345218864","1345218698","1345218860","1345218818"],"photo_ids_order":["1345218698","1345218760","1345218792","1345218818","1345218860","1345218864"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0a5225655873cbfe33da1595e4e3a98b.jpg","text":"TemporaryFile(/tmp/multipartBody1715764054722225897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324524315,"filename":"image_17032025_00_25_25_4281.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bb777b4c2d59efb8d4f9bfb0edfa8665.jpg","text":"TemporaryFile(/tmp/multipartBody8751414605136700504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324524315,"filename":"image_17032025_00_25_21_3264.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/45d05da32ce3cc6e279a2314d0a29d38.jpg","text":"TemporaryFile(/tmp/multipartBody1497545286960337159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324524315,"filename":"image_17032025_00_25_09_4308.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9bf9b1f044459f9724c4b66b046cfbb8.jpg","text":"TemporaryFile(/tmp/multipartBody2009899048353494850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324524315,"filename":"image_17032025_00_25_29_4286.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/49a5038a0b342faf92b934de93cc9755.jpg","text":"TemporaryFile(/tmp/multipartBody1113749203515257323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324524315,"filename":"image_17032025_00_25_13_4286.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2b7a9435efe3aa5065acf25b0a926a9e.jpg","text":"TemporaryFile(/tmp/multipartBody8128583381673115001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324524315,"filename":"image_17032025_00_25_18_4285.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345218792","file1":"1345218760","file0":"1345218698","file4":"1345218860","file5":"1345218864","file3":"1345218818"},"map_files_photo_id_array":[{"photo_id":"1345218864","filename":"file5"},{"photo_id":"1345218792","filename":"file2"},{"photo_id":"1345218860","filename":"file4"},{"photo_id":"1345218760","filename":"file1"},{"photo_id":"1345218698","filename":"file0"},{"photo_id":"1345218818","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345218760":["hashtag1","hashtag2"]},{"1345218792":["hashtag1","hashtag2"]},{"1345218864":["hashtag1","hashtag2"]},{"1345218698":["hashtag1","hashtag2"]},{"1345218860":["hashtag1","hashtag2"]},{"1345218818":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345218760, 1345218792, 1345218864, 1345218698, 1345218860, 1345218818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.9135468006134 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:02:02.551161
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/25/image_17032025_00_25_05_3680.jpg', 2), ('/home/nano/Desktop/images/17032025/00/24/image_17032025_00_25_01_4282.jpg', 2), ('/home/nano/Desktop/images/17032025/00/24/image_17032025_00_24_33_4285.jpg', 2), ('/home/nano/Desktop/images/17032025/00/24/image_17032025_00_24_29_3270.jpg', 2), ('/home/nano/Desktop/images/17032025/00/24/image_17032025_00_24_25_4280.jpg', 2), ('/home/nano/Desktop/images/17032025/00/24/image_17032025_00_24_21_4287.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/25/image_17032025_00_25_05_3680.jpg', '/home/nano/Desktop/images/17032025/00/24/image_17032025_00_25_01_4282.jpg', '/home/nano/Desktop/images/17032025/00/24/image_17032025_00_24_33_4285.jpg', '/home/nano/Desktop/images/17032025/00/24/image_17032025_00_24_29_3270.jpg', '/home/nano/Desktop/images/17032025/00/24/image_17032025_00_24_25_4280.jpg', '/home/nano/Desktop/images/17032025/00/24/image_17032025_00_24_21_4287.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/25/image_17032025_00_25_05_3680.jpg
/home/nano/Desktop/images/17032025/00/24/image_17032025_00_25_01_4282.jpg
/home/nano/Desktop/images/17032025/00/24/image_17032025_00_24_33_4285.jpg
/home/nano/Desktop/images/17032025/00/24/image_17032025_00_24_29_3270.jpg
/home/nano/Desktop/images/17032025/00/24/image_17032025_00_24_25_4280.jpg
/home/nano/Desktop/images/17032025/00/24/image_17032025_00_24_21_4287.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345219284","1345219094","1345219151","1345219202","1345219294","1345219243"],"photo_ids_order":["1345219094","1345219151","1345219202","1345219243","1345219284","1345219294"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c2f85fc478f8bad97eff7fcd4563253f.jpg","text":"TemporaryFile(/tmp/multipartBody208441826596184442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324583703,"filename":"image_17032025_00_24_25_4280.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ee04887c1a9e4f62814b357c99b641e3.jpg","text":"TemporaryFile(/tmp/multipartBody3363047252599255595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324583703,"filename":"image_17032025_00_25_05_3680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7fb86bbe6a090db9e30892b0eb91f882.jpg","text":"TemporaryFile(/tmp/multipartBody2719217764445668797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324583703,"filename":"image_17032025_00_25_01_4282.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/59195966af3a663cc9815ab46a257f82.jpg","text":"TemporaryFile(/tmp/multipartBody5812711636352438957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324583703,"filename":"image_17032025_00_24_33_4285.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b0838b6b7f147035ccc228747d7e6551.jpg","text":"TemporaryFile(/tmp/multipartBody4610346709605679759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324583703,"filename":"image_17032025_00_24_21_4287.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c5504b71022dc6b2e635eddbec2df59b.jpg","text":"TemporaryFile(/tmp/multipartBody3434571427236081862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324583703,"filename":"image_17032025_00_24_29_3270.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345219202","file1":"1345219151","file0":"1345219094","file4":"1345219284","file5":"1345219294","file3":"1345219243"},"map_files_photo_id_array":[{"photo_id":"1345219294","filename":"file5"},{"photo_id":"1345219202","filename":"file2"},{"photo_id":"1345219284","filename":"file4"},{"photo_id":"1345219151","filename":"file1"},{"photo_id":"1345219094","filename":"file0"},{"photo_id":"1345219243","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345219284":["hashtag1","hashtag2"]},{"1345219094":["hashtag1","hashtag2"]},{"1345219151":["hashtag1","hashtag2"]},{"1345219202":["hashtag1","hashtag2"]},{"1345219294":["hashtag1","hashtag2"]},{"1345219243":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345219284, 1345219094, 1345219151, 1345219202, 1345219294, 1345219243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.21716809272766 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:03:02.687408
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/24/image_17032025_00_24_17_4275.jpg', 2), ('/home/nano/Desktop/images/17032025/00/24/image_17032025_00_24_13_3281.jpg', 2), ('/home/nano/Desktop/images/17032025/00/24/image_17032025_00_24_09_4303.jpg', 2), ('/home/nano/Desktop/images/17032025/00/24/image_17032025_00_24_05_3597.jpg', 2), ('/home/nano/Desktop/images/17032025/00/23/image_17032025_00_24_01_4287.jpg', 2), ('/home/nano/Desktop/images/17032025/00/23/image_17032025_00_23_33_4285.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/24/image_17032025_00_24_17_4275.jpg', '/home/nano/Desktop/images/17032025/00/24/image_17032025_00_24_13_3281.jpg', '/home/nano/Desktop/images/17032025/00/24/image_17032025_00_24_09_4303.jpg', '/home/nano/Desktop/images/17032025/00/24/image_17032025_00_24_05_3597.jpg', '/home/nano/Desktop/images/17032025/00/23/image_17032025_00_24_01_4287.jpg', '/home/nano/Desktop/images/17032025/00/23/image_17032025_00_23_33_4285.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/24/image_17032025_00_24_17_4275.jpg
/home/nano/Desktop/images/17032025/00/24/image_17032025_00_24_13_3281.jpg
/home/nano/Desktop/images/17032025/00/24/image_17032025_00_24_09_4303.jpg
/home/nano/Desktop/images/17032025/00/24/image_17032025_00_24_05_3597.jpg
/home/nano/Desktop/images/17032025/00/23/image_17032025_00_24_01_4287.jpg
/home/nano/Desktop/images/17032025/00/23/image_17032025_00_23_33_4285.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345219527","1345219500","1345219489","1345219483","1345219492","1345219486"],"photo_ids_order":["1345219483","1345219486","1345219489","1345219492","1345219500","1345219527"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/805d58d509b63ca6cab8b05e7c92a416.jpg","text":"TemporaryFile(/tmp/multipartBody2036314979855302256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324643835,"filename":"image_17032025_00_23_33_4285.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7479f824cb470392b999659a18c9c1ff.jpg","text":"TemporaryFile(/tmp/multipartBody8876427828403015480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324643835,"filename":"image_17032025_00_24_01_4287.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d963d05e9a62c7d531b54908edb43dfb.jpg","text":"TemporaryFile(/tmp/multipartBody3173265351576772525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324643835,"filename":"image_17032025_00_24_09_4303.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ab8069c5fa691cce6cb11c16a810c958.jpg","text":"TemporaryFile(/tmp/multipartBody8412378043756340610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324643835,"filename":"image_17032025_00_24_17_4275.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d3d69ee0c93178d94ab9ebec227fb34f.jpg","text":"TemporaryFile(/tmp/multipartBody8544184171790741546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324643835,"filename":"image_17032025_00_24_05_3597.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/babf675d929fc99ea95c1b53b6922366.jpg","text":"TemporaryFile(/tmp/multipartBody81721453105232383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324643835,"filename":"image_17032025_00_24_13_3281.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345219489","file1":"1345219486","file0":"1345219483","file4":"1345219500","file5":"1345219527","file3":"1345219492"},"map_files_photo_id_array":[{"photo_id":"1345219527","filename":"file5"},{"photo_id":"1345219489","filename":"file2"},{"photo_id":"1345219500","filename":"file4"},{"photo_id":"1345219486","filename":"file1"},{"photo_id":"1345219483","filename":"file0"},{"photo_id":"1345219492","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345219527":["hashtag1","hashtag2"]},{"1345219500":["hashtag1","hashtag2"]},{"1345219489":["hashtag1","hashtag2"]},{"1345219483":["hashtag1","hashtag2"]},{"1345219492":["hashtag1","hashtag2"]},{"1345219486":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345219527, 1345219500, 1345219489, 1345219483, 1345219492, 1345219486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.223315954208374 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:04:02.953132
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/23/image_17032025_00_23_29_4311.jpg', 2), ('/home/nano/Desktop/images/17032025/00/23/image_17032025_00_23_25_3291.jpg', 2), ('/home/nano/Desktop/images/17032025/00/23/image_17032025_00_23_22_4291.jpg', 2), ('/home/nano/Desktop/images/17032025/00/23/image_17032025_00_23_17_4281.jpg', 2), ('/home/nano/Desktop/images/17032025/00/23/image_17032025_00_23_13_4285.jpg', 2), ('/home/nano/Desktop/images/17032025/00/23/image_17032025_00_23_09_3313.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/23/image_17032025_00_23_29_4311.jpg', '/home/nano/Desktop/images/17032025/00/23/image_17032025_00_23_25_3291.jpg', '/home/nano/Desktop/images/17032025/00/23/image_17032025_00_23_22_4291.jpg', '/home/nano/Desktop/images/17032025/00/23/image_17032025_00_23_17_4281.jpg', '/home/nano/Desktop/images/17032025/00/23/image_17032025_00_23_13_4285.jpg', '/home/nano/Desktop/images/17032025/00/23/image_17032025_00_23_09_3313.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/23/image_17032025_00_23_29_4311.jpg
/home/nano/Desktop/images/17032025/00/23/image_17032025_00_23_25_3291.jpg
/home/nano/Desktop/images/17032025/00/23/image_17032025_00_23_22_4291.jpg
/home/nano/Desktop/images/17032025/00/23/image_17032025_00_23_17_4281.jpg
/home/nano/Desktop/images/17032025/00/23/image_17032025_00_23_13_4285.jpg
/home/nano/Desktop/images/17032025/00/23/image_17032025_00_23_09_3313.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345219755","1345219728","1345219638","1345219697","1345219620","1345219666"],"photo_ids_order":["1345219620","1345219638","1345219666","1345219697","1345219728","1345219755"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c842fc9b4aa90ba4bbb0f83641ebfbfa.jpg","text":"TemporaryFile(/tmp/multipartBody3137549893055618490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324704221,"filename":"image_17032025_00_23_09_3313.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d626fb1bc3959a3a1d5f2795834d45db.jpg","text":"TemporaryFile(/tmp/multipartBody8614538944917880147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324704221,"filename":"image_17032025_00_23_13_4285.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e3199f852609b210443e55ea0cb71ca0.jpg","text":"TemporaryFile(/tmp/multipartBody8445943550638204158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324704221,"filename":"image_17032025_00_23_25_3291.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/eee202c6217d638fa0286e8004e88d39.jpg","text":"TemporaryFile(/tmp/multipartBody5293361345689226173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324704221,"filename":"image_17032025_00_23_17_4281.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8a06734c710784b90734ec3c8cd0cc5c.jpg","text":"TemporaryFile(/tmp/multipartBody8241110667449522315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324704221,"filename":"image_17032025_00_23_29_4311.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2366541d95f57e2b6085943ba23ffdd2.jpg","text":"TemporaryFile(/tmp/multipartBody7354070265958683120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324704221,"filename":"image_17032025_00_23_22_4291.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345219666","file1":"1345219638","file0":"1345219620","file4":"1345219728","file5":"1345219755","file3":"1345219697"},"map_files_photo_id_array":[{"photo_id":"1345219755","filename":"file5"},{"photo_id":"1345219666","filename":"file2"},{"photo_id":"1345219728","filename":"file4"},{"photo_id":"1345219638","filename":"file1"},{"photo_id":"1345219620","filename":"file0"},{"photo_id":"1345219697","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345219755":["hashtag1","hashtag2"]},{"1345219728":["hashtag1","hashtag2"]},{"1345219638":["hashtag1","hashtag2"]},{"1345219697":["hashtag1","hashtag2"]},{"1345219620":["hashtag1","hashtag2"]},{"1345219666":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345219755, 1345219728, 1345219638, 1345219697, 1345219620, 1345219666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.955655097961426 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:05:02.918667
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/23/image_17032025_00_23_05_4776.jpg', 2), ('/home/nano/Desktop/images/17032025/00/23/image_17032025_00_23_01_3263.jpg', 2), ('/home/nano/Desktop/images/17032025/00/22/image_17032025_00_22_34_4304.jpg', 2), ('/home/nano/Desktop/images/17032025/00/22/image_17032025_00_22_29_4281.jpg', 2), ('/home/nano/Desktop/images/17032025/00/22/image_17032025_00_22_25_4283.jpg', 2), ('/home/nano/Desktop/images/17032025/00/22/image_17032025_00_22_21_3299.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/23/image_17032025_00_23_05_4776.jpg', '/home/nano/Desktop/images/17032025/00/23/image_17032025_00_23_01_3263.jpg', '/home/nano/Desktop/images/17032025/00/22/image_17032025_00_22_34_4304.jpg', '/home/nano/Desktop/images/17032025/00/22/image_17032025_00_22_29_4281.jpg', '/home/nano/Desktop/images/17032025/00/22/image_17032025_00_22_25_4283.jpg', '/home/nano/Desktop/images/17032025/00/22/image_17032025_00_22_21_3299.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/23/image_17032025_00_23_05_4776.jpg
/home/nano/Desktop/images/17032025/00/23/image_17032025_00_23_01_3263.jpg
/home/nano/Desktop/images/17032025/00/22/image_17032025_00_22_34_4304.jpg
/home/nano/Desktop/images/17032025/00/22/image_17032025_00_22_29_4281.jpg
/home/nano/Desktop/images/17032025/00/22/image_17032025_00_22_25_4283.jpg
/home/nano/Desktop/images/17032025/00/22/image_17032025_00_22_21_3299.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345219869","1345219857","1345219873","1345219876","1345219861","1345219864"],"photo_ids_order":["1345219857","1345219861","1345219864","1345219869","1345219873","1345219876"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bac57cef7d9531e4be57f982e844e1f6.jpg","text":"TemporaryFile(/tmp/multipartBody5480026126109917282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324764089,"filename":"image_17032025_00_22_29_4281.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/35bd6e20f9da2ab7f8600d2298c09956.jpg","text":"TemporaryFile(/tmp/multipartBody508585406971272422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324764089,"filename":"image_17032025_00_23_05_4776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f8e9b5bc831a561a9e0dcedb5c7d4e81.jpg","text":"TemporaryFile(/tmp/multipartBody6934167088479646341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324764089,"filename":"image_17032025_00_22_25_4283.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0c5f96f87490405faa2c7ffe0dcc1c3b.jpg","text":"TemporaryFile(/tmp/multipartBody5770215476477884882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324764089,"filename":"image_17032025_00_22_21_3299.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ed4a8eb044c65e550f02af83dc6e8985.jpg","text":"TemporaryFile(/tmp/multipartBody2794210802993549854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324764089,"filename":"image_17032025_00_23_01_3263.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e98642a03fd5472134dbe53870d3c2d4.jpg","text":"TemporaryFile(/tmp/multipartBody548268521438369447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324764089,"filename":"image_17032025_00_22_34_4304.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345219864","file1":"1345219861","file0":"1345219857","file4":"1345219873","file5":"1345219876","file3":"1345219869"},"map_files_photo_id_array":[{"photo_id":"1345219876","filename":"file5"},{"photo_id":"1345219864","filename":"file2"},{"photo_id":"1345219873","filename":"file4"},{"photo_id":"1345219861","filename":"file1"},{"photo_id":"1345219857","filename":"file0"},{"photo_id":"1345219869","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345219869":["hashtag1","hashtag2"]},{"1345219857":["hashtag1","hashtag2"]},{"1345219873":["hashtag1","hashtag2"]},{"1345219876":["hashtag1","hashtag2"]},{"1345219861":["hashtag1","hashtag2"]},{"1345219864":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345219869, 1345219857, 1345219873, 1345219876, 1345219861, 1345219864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.88304400444031 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:06:03.171890
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/22/image_17032025_00_22_17_4316.jpg', 2), ('/home/nano/Desktop/images/17032025/00/22/image_17032025_00_22_13_4303.jpg', 2), ('/home/nano/Desktop/images/17032025/00/22/image_17032025_00_22_09_3279.jpg', 2), ('/home/nano/Desktop/images/17032025/00/22/image_17032025_00_22_05_4586.jpg', 2), ('/home/nano/Desktop/images/17032025/00/21/image_17032025_00_22_01_4285.jpg', 2), ('/home/nano/Desktop/images/17032025/00/21/image_17032025_00_21_33_4292.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/22/image_17032025_00_22_17_4316.jpg', '/home/nano/Desktop/images/17032025/00/22/image_17032025_00_22_13_4303.jpg', '/home/nano/Desktop/images/17032025/00/22/image_17032025_00_22_09_3279.jpg', '/home/nano/Desktop/images/17032025/00/22/image_17032025_00_22_05_4586.jpg', '/home/nano/Desktop/images/17032025/00/21/image_17032025_00_22_01_4285.jpg', '/home/nano/Desktop/images/17032025/00/21/image_17032025_00_21_33_4292.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/22/image_17032025_00_22_17_4316.jpg
/home/nano/Desktop/images/17032025/00/22/image_17032025_00_22_13_4303.jpg
/home/nano/Desktop/images/17032025/00/22/image_17032025_00_22_09_3279.jpg
/home/nano/Desktop/images/17032025/00/22/image_17032025_00_22_05_4586.jpg
/home/nano/Desktop/images/17032025/00/21/image_17032025_00_22_01_4285.jpg
/home/nano/Desktop/images/17032025/00/21/image_17032025_00_21_33_4292.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345219896","1345219893","1345219911","1345219905","1345219922","1345219901"],"photo_ids_order":["1345219893","1345219896","1345219901","1345219905","1345219911","1345219922"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/46db366ed2d82526e67823be443c2663.jpg","text":"TemporaryFile(/tmp/multipartBody2486439681969281195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324824323,"filename":"image_17032025_00_22_13_4303.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9618e03366f84549468363f0c0775de0.jpg","text":"TemporaryFile(/tmp/multipartBody2871866986179236450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324824323,"filename":"image_17032025_00_22_17_4316.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e78de0f71a4ab08aeec1016a242d4b50.jpg","text":"TemporaryFile(/tmp/multipartBody6189363464708346583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324824323,"filename":"image_17032025_00_22_01_4285.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d566289971f06a3e5cc74166af46571f.jpg","text":"TemporaryFile(/tmp/multipartBody7890987153068788330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324824323,"filename":"image_17032025_00_22_05_4586.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1e76ef758f17915481eec3d4771d6ce3.jpg","text":"TemporaryFile(/tmp/multipartBody3400609349806907760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324824323,"filename":"image_17032025_00_21_33_4292.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/df6af185cdf5d072ff4533127e45b5ce.jpg","text":"TemporaryFile(/tmp/multipartBody326952101774294011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324824323,"filename":"image_17032025_00_22_09_3279.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345219901","file1":"1345219896","file0":"1345219893","file4":"1345219911","file5":"1345219922","file3":"1345219905"},"map_files_photo_id_array":[{"photo_id":"1345219922","filename":"file5"},{"photo_id":"1345219901","filename":"file2"},{"photo_id":"1345219911","filename":"file4"},{"photo_id":"1345219896","filename":"file1"},{"photo_id":"1345219893","filename":"file0"},{"photo_id":"1345219905","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345219896":["hashtag1","hashtag2"]},{"1345219893":["hashtag1","hashtag2"]},{"1345219911":["hashtag1","hashtag2"]},{"1345219905":["hashtag1","hashtag2"]},{"1345219922":["hashtag1","hashtag2"]},{"1345219901":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345219896, 1345219893, 1345219911, 1345219905, 1345219922, 1345219901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.889320611953735 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:07:03.196002
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/21/image_17032025_00_21_29_3268.jpg', 2), ('/home/nano/Desktop/images/17032025/00/21/image_17032025_00_21_25_4284.jpg', 2), ('/home/nano/Desktop/images/17032025/00/21/image_17032025_00_21_21_4288.jpg', 2), ('/home/nano/Desktop/images/17032025/00/21/image_17032025_00_21_17_3293.jpg', 2), ('/home/nano/Desktop/images/17032025/00/21/image_17032025_00_21_13_4292.jpg', 2), ('/home/nano/Desktop/images/17032025/00/21/image_17032025_00_21_09_4314.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/21/image_17032025_00_21_29_3268.jpg', '/home/nano/Desktop/images/17032025/00/21/image_17032025_00_21_25_4284.jpg', '/home/nano/Desktop/images/17032025/00/21/image_17032025_00_21_21_4288.jpg', '/home/nano/Desktop/images/17032025/00/21/image_17032025_00_21_17_3293.jpg', '/home/nano/Desktop/images/17032025/00/21/image_17032025_00_21_13_4292.jpg', '/home/nano/Desktop/images/17032025/00/21/image_17032025_00_21_09_4314.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/21/image_17032025_00_21_29_3268.jpg
/home/nano/Desktop/images/17032025/00/21/image_17032025_00_21_25_4284.jpg
/home/nano/Desktop/images/17032025/00/21/image_17032025_00_21_21_4288.jpg
/home/nano/Desktop/images/17032025/00/21/image_17032025_00_21_17_3293.jpg
/home/nano/Desktop/images/17032025/00/21/image_17032025_00_21_13_4292.jpg
/home/nano/Desktop/images/17032025/00/21/image_17032025_00_21_09_4314.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345220194","1345220155","1345220091","1345220216","1345220072","1345220098"],"photo_ids_order":["1345220072","1345220091","1345220098","1345220155","1345220194","1345220216"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8ead87b1f03ef258204d2acb53462e9d.jpg","text":"TemporaryFile(/tmp/multipartBody7081130617478365553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324884363,"filename":"image_17032025_00_21_13_4292.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f644dc9672eec30039712431324fae28.jpg","text":"TemporaryFile(/tmp/multipartBody1523200921557263418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324884363,"filename":"image_17032025_00_21_17_3293.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/be2b1864fea9843fbc56906265ccaa1c.jpg","text":"TemporaryFile(/tmp/multipartBody7641784314332954784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324884363,"filename":"image_17032025_00_21_25_4284.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/44e10f63b799bed52ab9162d0ff52174.jpg","text":"TemporaryFile(/tmp/multipartBody2192424859348126911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324884363,"filename":"image_17032025_00_21_09_4314.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/28888524166ed13935426df07a5997e6.jpg","text":"TemporaryFile(/tmp/multipartBody6970151171466510800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324884363,"filename":"image_17032025_00_21_29_3268.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/af9c8f8717ce4d5737a6a9b8488e6e78.jpg","text":"TemporaryFile(/tmp/multipartBody2658728448148271993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324884363,"filename":"image_17032025_00_21_21_4288.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345220098","file1":"1345220091","file0":"1345220072","file4":"1345220194","file5":"1345220216","file3":"1345220155"},"map_files_photo_id_array":[{"photo_id":"1345220216","filename":"file5"},{"photo_id":"1345220098","filename":"file2"},{"photo_id":"1345220194","filename":"file4"},{"photo_id":"1345220091","filename":"file1"},{"photo_id":"1345220072","filename":"file0"},{"photo_id":"1345220155","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345220194":["hashtag1","hashtag2"]},{"1345220155":["hashtag1","hashtag2"]},{"1345220091":["hashtag1","hashtag2"]},{"1345220216":["hashtag1","hashtag2"]},{"1345220072":["hashtag1","hashtag2"]},{"1345220098":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345220194, 1345220155, 1345220091, 1345220216, 1345220072, 1345220098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.73024940490723 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:08:02.288507
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/21/image_17032025_00_21_05_3837.jpg', 2), ('/home/nano/Desktop/images/17032025/00/20/image_17032025_00_21_01_4289.jpg', 2), ('/home/nano/Desktop/images/17032025/00/20/image_17032025_00_20_33_4296.jpg', 2), ('/home/nano/Desktop/images/17032025/00/20/image_17032025_00_20_29_3304.jpg', 2), ('/home/nano/Desktop/images/17032025/00/20/image_17032025_00_20_25_4290.jpg', 2), ('/home/nano/Desktop/images/17032025/00/20/image_17032025_00_20_21_4290.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/21/image_17032025_00_21_05_3837.jpg', '/home/nano/Desktop/images/17032025/00/20/image_17032025_00_21_01_4289.jpg', '/home/nano/Desktop/images/17032025/00/20/image_17032025_00_20_33_4296.jpg', '/home/nano/Desktop/images/17032025/00/20/image_17032025_00_20_29_3304.jpg', '/home/nano/Desktop/images/17032025/00/20/image_17032025_00_20_25_4290.jpg', '/home/nano/Desktop/images/17032025/00/20/image_17032025_00_20_21_4290.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/21/image_17032025_00_21_05_3837.jpg
/home/nano/Desktop/images/17032025/00/20/image_17032025_00_21_01_4289.jpg
/home/nano/Desktop/images/17032025/00/20/image_17032025_00_20_33_4296.jpg
/home/nano/Desktop/images/17032025/00/20/image_17032025_00_20_29_3304.jpg
/home/nano/Desktop/images/17032025/00/20/image_17032025_00_20_25_4290.jpg
/home/nano/Desktop/images/17032025/00/20/image_17032025_00_20_21_4290.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345220458","1345220404","1345220483","1345220432","1345220528","1345220507"],"photo_ids_order":["1345220404","1345220432","1345220458","1345220483","1345220507","1345220528"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/513c30a33463c8fb423ecb9f6ea3601a.jpg","text":"TemporaryFile(/tmp/multipartBody3318156099819730547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324943529,"filename":"image_17032025_00_20_33_4296.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bc5d306ab3fb3c456db981e7aeaf2653.jpg","text":"TemporaryFile(/tmp/multipartBody2693091510482527184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324943529,"filename":"image_17032025_00_21_05_3837.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3bf80f98d4cc9455f061bac612001ae5.jpg","text":"TemporaryFile(/tmp/multipartBody7096810992295671522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324943529,"filename":"image_17032025_00_20_29_3304.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/458fa461c5dab45d0d4adf5e22be4ecb.jpg","text":"TemporaryFile(/tmp/multipartBody8466347165530548755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324943529,"filename":"image_17032025_00_21_01_4289.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6e28d08b87e9c174fbc0c6975a8c32b1.jpg","text":"TemporaryFile(/tmp/multipartBody6930600490139597331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324943529,"filename":"image_17032025_00_20_21_4290.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/87c11695c47fb1016143a86fd0fff625.jpg","text":"TemporaryFile(/tmp/multipartBody3325934872260834276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742324943529,"filename":"image_17032025_00_20_25_4290.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345220458","file1":"1345220432","file0":"1345220404","file4":"1345220507","file5":"1345220528","file3":"1345220483"},"map_files_photo_id_array":[{"photo_id":"1345220528","filename":"file5"},{"photo_id":"1345220458","filename":"file2"},{"photo_id":"1345220507","filename":"file4"},{"photo_id":"1345220432","filename":"file1"},{"photo_id":"1345220404","filename":"file0"},{"photo_id":"1345220483","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345220458":["hashtag1","hashtag2"]},{"1345220404":["hashtag1","hashtag2"]},{"1345220483":["hashtag1","hashtag2"]},{"1345220432":["hashtag1","hashtag2"]},{"1345220528":["hashtag1","hashtag2"]},{"1345220507":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345220458, 1345220404, 1345220483, 1345220432, 1345220528, 1345220507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6200647354126 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:09:02.838144
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/20/image_17032025_00_20_17_3303.jpg', 2), ('/home/nano/Desktop/images/17032025/00/20/image_17032025_00_20_14_4309.jpg', 2), ('/home/nano/Desktop/images/17032025/00/20/image_17032025_00_20_09_4316.jpg', 2), ('/home/nano/Desktop/images/17032025/00/20/image_17032025_00_20_05_4151.jpg', 2), ('/home/nano/Desktop/images/17032025/00/20/image_17032025_00_20_01_3268.jpg', 2), ('/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_57_4289.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/20/image_17032025_00_20_17_3303.jpg', '/home/nano/Desktop/images/17032025/00/20/image_17032025_00_20_14_4309.jpg', '/home/nano/Desktop/images/17032025/00/20/image_17032025_00_20_09_4316.jpg', '/home/nano/Desktop/images/17032025/00/20/image_17032025_00_20_05_4151.jpg', '/home/nano/Desktop/images/17032025/00/20/image_17032025_00_20_01_3268.jpg', '/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_57_4289.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/20/image_17032025_00_20_17_3303.jpg
/home/nano/Desktop/images/17032025/00/20/image_17032025_00_20_14_4309.jpg
/home/nano/Desktop/images/17032025/00/20/image_17032025_00_20_09_4316.jpg
/home/nano/Desktop/images/17032025/00/20/image_17032025_00_20_05_4151.jpg
/home/nano/Desktop/images/17032025/00/20/image_17032025_00_20_01_3268.jpg
/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_57_4289.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345220638","1345220746","1345220667","1345220780","1345220696","1345220720"],"photo_ids_order":["1345220638","1345220667","1345220696","1345220720","1345220746","1345220780"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f9b11e674820c3ab5c8f9b2d0e4c8752.jpg","text":"TemporaryFile(/tmp/multipartBody7594644916985108311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325004010,"filename":"image_17032025_00_20_17_3303.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4b37d590492339e9584675337ebf6eab.jpg","text":"TemporaryFile(/tmp/multipartBody6099361982744286275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325004010,"filename":"image_17032025_00_20_01_3268.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bdc62fed1c19864e2a371a3ac675f548.jpg","text":"TemporaryFile(/tmp/multipartBody7367098010537010028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325004010,"filename":"image_17032025_00_20_14_4309.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/08d36b3ded47f29d37c8e3e2bd117c9c.jpg","text":"TemporaryFile(/tmp/multipartBody4606102252615967538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325004010,"filename":"image_17032025_00_19_57_4289.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/93574bdceb521448a6dbebd315aba20b.jpg","text":"TemporaryFile(/tmp/multipartBody6375026415756452193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325004010,"filename":"image_17032025_00_20_09_4316.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cf17a05c4d9dc74fccf3782608e3cd9e.jpg","text":"TemporaryFile(/tmp/multipartBody8815566249915208882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325004010,"filename":"image_17032025_00_20_05_4151.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345220696","file1":"1345220667","file0":"1345220638","file4":"1345220746","file5":"1345220780","file3":"1345220720"},"map_files_photo_id_array":[{"photo_id":"1345220780","filename":"file5"},{"photo_id":"1345220696","filename":"file2"},{"photo_id":"1345220746","filename":"file4"},{"photo_id":"1345220667","filename":"file1"},{"photo_id":"1345220638","filename":"file0"},{"photo_id":"1345220720","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345220638":["hashtag1","hashtag2"]},{"1345220746":["hashtag1","hashtag2"]},{"1345220667":["hashtag1","hashtag2"]},{"1345220780":["hashtag1","hashtag2"]},{"1345220696":["hashtag1","hashtag2"]},{"1345220720":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345220638, 1345220746, 1345220667, 1345220780, 1345220696, 1345220720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.457189321517944 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:10:02.863608
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_53_4287.jpg', 2), ('/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_49_4294.jpg', 2), ('/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_45_3283.jpg', 2), ('/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_41_4298.jpg', 2), ('/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_37_4294.jpg', 2), ('/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_33_3311.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_53_4287.jpg', '/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_49_4294.jpg', '/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_45_3283.jpg', '/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_41_4298.jpg', '/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_37_4294.jpg', '/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_33_3311.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_53_4287.jpg
/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_49_4294.jpg
/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_45_3283.jpg
/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_41_4298.jpg
/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_37_4294.jpg
/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_33_3311.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345221115","1345221408","1345221287","1345221173","1345221347","1345221221"],"photo_ids_order":["1345221115","1345221173","1345221221","1345221287","1345221347","1345221408"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6e3bdd0336015eefab45171583f3d7eb.jpg","text":"TemporaryFile(/tmp/multipartBody1547318847578120175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325064026,"filename":"image_17032025_00_19_53_4287.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/468f762ed6c02466334e8121e3fce01e.jpg","text":"TemporaryFile(/tmp/multipartBody1107505387488704518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325064026,"filename":"image_17032025_00_19_33_3311.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a7308b82b4ab90de5895cc551b4e69ab.jpg","text":"TemporaryFile(/tmp/multipartBody7741923937899478061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325064026,"filename":"image_17032025_00_19_41_4298.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b3e9cbea6f833335959d55fc220fcf9a.jpg","text":"TemporaryFile(/tmp/multipartBody2756987994447648496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325064026,"filename":"image_17032025_00_19_49_4294.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5200b3cdc36866c79f6b5cf2de090dd9.jpg","text":"TemporaryFile(/tmp/multipartBody483432339640296564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325064026,"filename":"image_17032025_00_19_37_4294.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/eed301ef2dc8ce9423b4eab01b107e3d.jpg","text":"TemporaryFile(/tmp/multipartBody1800597622516342015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325064026,"filename":"image_17032025_00_19_45_3283.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345221221","file1":"1345221173","file0":"1345221115","file4":"1345221347","file5":"1345221408","file3":"1345221287"},"map_files_photo_id_array":[{"photo_id":"1345221408","filename":"file5"},{"photo_id":"1345221221","filename":"file2"},{"photo_id":"1345221347","filename":"file4"},{"photo_id":"1345221173","filename":"file1"},{"photo_id":"1345221115","filename":"file0"},{"photo_id":"1345221287","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345221115":["hashtag1","hashtag2"]},{"1345221408":["hashtag1","hashtag2"]},{"1345221287":["hashtag1","hashtag2"]},{"1345221173":["hashtag1","hashtag2"]},{"1345221347":["hashtag1","hashtag2"]},{"1345221221":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345221115, 1345221408, 1345221287, 1345221173, 1345221347, 1345221221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.249292612075806 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:11:02.949982
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_29_4292.jpg', 2), ('/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_25_4290.jpg', 2), ('/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_21_3306.jpg', 2), ('/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_18_4286.jpg', 2), ('/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_13_4330.jpg', 2), ('/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_09_4299.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_29_4292.jpg', '/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_25_4290.jpg', '/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_21_3306.jpg', '/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_18_4286.jpg', '/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_13_4330.jpg', '/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_09_4299.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_29_4292.jpg
/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_25_4290.jpg
/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_21_3306.jpg
/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_18_4286.jpg
/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_13_4330.jpg
/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_09_4299.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345222074","1345222122","1345222011","1345221950","1345221932","1345221970"],"photo_ids_order":["1345221932","1345221950","1345221970","1345222011","1345222074","1345222122"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4d83789a94f26513639628d341c7a916.jpg","text":"TemporaryFile(/tmp/multipartBody278246240395265147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325124115,"filename":"image_17032025_00_19_13_4330.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b7554d8bab324fc3c5751a72308f5cc9.jpg","text":"TemporaryFile(/tmp/multipartBody5131967113140428049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325124115,"filename":"image_17032025_00_19_09_4299.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/377c50be67d51c2c4b2466ff03475fd3.jpg","text":"TemporaryFile(/tmp/multipartBody3207950449812058992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325124115,"filename":"image_17032025_00_19_18_4286.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d2ff0c96241fbcdadd579c9e062452fc.jpg","text":"TemporaryFile(/tmp/multipartBody2630155155930819813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325124115,"filename":"image_17032025_00_19_25_4290.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/59846d582d8ae6527cf804cf5c28c944.jpg","text":"TemporaryFile(/tmp/multipartBody1558052164291885873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325124115,"filename":"image_17032025_00_19_29_4292.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/114c0d01fa9c9060c34fb7ea4b898d83.jpg","text":"TemporaryFile(/tmp/multipartBody7327481669847817140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325124115,"filename":"image_17032025_00_19_21_3306.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345221970","file1":"1345221950","file0":"1345221932","file4":"1345222074","file5":"1345222122","file3":"1345222011"},"map_files_photo_id_array":[{"photo_id":"1345222122","filename":"file5"},{"photo_id":"1345221970","filename":"file2"},{"photo_id":"1345222074","filename":"file4"},{"photo_id":"1345221950","filename":"file1"},{"photo_id":"1345221932","filename":"file0"},{"photo_id":"1345222011","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345222074":["hashtag1","hashtag2"]},{"1345222122":["hashtag1","hashtag2"]},{"1345222011":["hashtag1","hashtag2"]},{"1345221950":["hashtag1","hashtag2"]},{"1345221932":["hashtag1","hashtag2"]},{"1345221970":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345222074, 1345222122, 1345222011, 1345221950, 1345221932, 1345221970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.44696021080017 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:12:03.280511
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_05_3840.jpg', 2), ('/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_01_3268.jpg', 2), ('/home/nano/Desktop/images/17032025/00/18/image_17032025_00_18_33_3274.jpg', 2), ('/home/nano/Desktop/images/17032025/00/18/image_17032025_00_18_30_4295.jpg', 2), ('/home/nano/Desktop/images/17032025/00/18/image_17032025_00_18_25_4280.jpg', 2), ('/home/nano/Desktop/images/17032025/00/18/image_17032025_00_18_21_4300.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_05_3840.jpg', '/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_01_3268.jpg', '/home/nano/Desktop/images/17032025/00/18/image_17032025_00_18_33_3274.jpg', '/home/nano/Desktop/images/17032025/00/18/image_17032025_00_18_30_4295.jpg', '/home/nano/Desktop/images/17032025/00/18/image_17032025_00_18_25_4280.jpg', '/home/nano/Desktop/images/17032025/00/18/image_17032025_00_18_21_4300.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_05_3840.jpg
/home/nano/Desktop/images/17032025/00/19/image_17032025_00_19_01_3268.jpg
/home/nano/Desktop/images/17032025/00/18/image_17032025_00_18_33_3274.jpg
/home/nano/Desktop/images/17032025/00/18/image_17032025_00_18_30_4295.jpg
/home/nano/Desktop/images/17032025/00/18/image_17032025_00_18_25_4280.jpg
/home/nano/Desktop/images/17032025/00/18/image_17032025_00_18_21_4300.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345222437","1345222517","1345222331","1345222492","1345222465","1345222408"],"photo_ids_order":["1345222331","1345222408","1345222437","1345222465","1345222492","1345222517"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cbcd6f1ab3270af3fbfea8e8fd3dc810.jpg","text":"TemporaryFile(/tmp/multipartBody5901068539185699860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325184431,"filename":"image_17032025_00_18_33_3274.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/67b38674ff541e8e627ade7e635afbaa.jpg","text":"TemporaryFile(/tmp/multipartBody4508527929324291321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325184431,"filename":"image_17032025_00_18_21_4300.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f18d878a4f9466a6aaec802227eac5d7.jpg","text":"TemporaryFile(/tmp/multipartBody5265206464829245896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325184431,"filename":"image_17032025_00_19_05_3840.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/eccbe17f383d50e299201695af213e76.jpg","text":"TemporaryFile(/tmp/multipartBody5287503302587062288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325184431,"filename":"image_17032025_00_18_25_4280.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5884d22473b887a8998c72ee651cc19c.jpg","text":"TemporaryFile(/tmp/multipartBody3924007952289958934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325184431,"filename":"image_17032025_00_18_30_4295.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a4db1e682dd66559849a75e1b3d66178.jpg","text":"TemporaryFile(/tmp/multipartBody3471916482293706464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325184431,"filename":"image_17032025_00_19_01_3268.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345222437","file1":"1345222408","file0":"1345222331","file4":"1345222492","file5":"1345222517","file3":"1345222465"},"map_files_photo_id_array":[{"photo_id":"1345222517","filename":"file5"},{"photo_id":"1345222437","filename":"file2"},{"photo_id":"1345222492","filename":"file4"},{"photo_id":"1345222408","filename":"file1"},{"photo_id":"1345222331","filename":"file0"},{"photo_id":"1345222465","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345222437":["hashtag1","hashtag2"]},{"1345222517":["hashtag1","hashtag2"]},{"1345222331":["hashtag1","hashtag2"]},{"1345222492":["hashtag1","hashtag2"]},{"1345222465":["hashtag1","hashtag2"]},{"1345222408":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345222437, 1345222517, 1345222331, 1345222492, 1345222465, 1345222408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.09982395172119 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:13:02.356545
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/18/image_17032025_00_18_17_3277.jpg', 2), ('/home/nano/Desktop/images/17032025/00/18/image_17032025_00_18_13_4327.jpg', 2), ('/home/nano/Desktop/images/17032025/00/18/image_17032025_00_18_09_4301.jpg', 2), ('/home/nano/Desktop/images/17032025/00/18/image_17032025_00_18_05_3741.jpg', 2), ('/home/nano/Desktop/images/17032025/00/17/image_17032025_00_18_01_4326.jpg', 2), ('/home/nano/Desktop/images/17032025/00/17/image_17032025_00_17_29_3287.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/18/image_17032025_00_18_17_3277.jpg', '/home/nano/Desktop/images/17032025/00/18/image_17032025_00_18_13_4327.jpg', '/home/nano/Desktop/images/17032025/00/18/image_17032025_00_18_09_4301.jpg', '/home/nano/Desktop/images/17032025/00/18/image_17032025_00_18_05_3741.jpg', '/home/nano/Desktop/images/17032025/00/17/image_17032025_00_18_01_4326.jpg', '/home/nano/Desktop/images/17032025/00/17/image_17032025_00_17_29_3287.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/18/image_17032025_00_18_17_3277.jpg
/home/nano/Desktop/images/17032025/00/18/image_17032025_00_18_13_4327.jpg
/home/nano/Desktop/images/17032025/00/18/image_17032025_00_18_09_4301.jpg
/home/nano/Desktop/images/17032025/00/18/image_17032025_00_18_05_3741.jpg
/home/nano/Desktop/images/17032025/00/17/image_17032025_00_18_01_4326.jpg
/home/nano/Desktop/images/17032025/00/17/image_17032025_00_17_29_3287.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345222920","1345222853","1345222802","1345222828","1345222797","1345222794"],"photo_ids_order":["1345222794","1345222797","1345222802","1345222828","1345222853","1345222920"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cdf19ebda998aa3daa608ca756b09928.jpg","text":"TemporaryFile(/tmp/multipartBody339802270659216294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325243494,"filename":"image_17032025_00_17_29_3287.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9146a06ae8c5a3406a048a02c4e06b42.jpg","text":"TemporaryFile(/tmp/multipartBody2281123071168020594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325243494,"filename":"image_17032025_00_18_01_4326.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/37a2dad5f2df8f483f0303a6b6ab2a3e.jpg","text":"TemporaryFile(/tmp/multipartBody6016746177636747217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325243494,"filename":"image_17032025_00_18_09_4301.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8ac94681ae44563b960a2a801efde8b0.jpg","text":"TemporaryFile(/tmp/multipartBody1969235240754300948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325243494,"filename":"image_17032025_00_18_05_3741.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b498c21e856599e0d3bbf216a7b99813.jpg","text":"TemporaryFile(/tmp/multipartBody7172787305598676587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325243494,"filename":"image_17032025_00_18_13_4327.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f4dd84d632d1ceef1b100e7bb7407fe4.jpg","text":"TemporaryFile(/tmp/multipartBody3998880772504245084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325243494,"filename":"image_17032025_00_18_17_3277.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345222802","file1":"1345222797","file0":"1345222794","file4":"1345222853","file5":"1345222920","file3":"1345222828"},"map_files_photo_id_array":[{"photo_id":"1345222920","filename":"file5"},{"photo_id":"1345222802","filename":"file2"},{"photo_id":"1345222853","filename":"file4"},{"photo_id":"1345222797","filename":"file1"},{"photo_id":"1345222794","filename":"file0"},{"photo_id":"1345222828","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345222920":["hashtag1","hashtag2"]},{"1345222853":["hashtag1","hashtag2"]},{"1345222802":["hashtag1","hashtag2"]},{"1345222828":["hashtag1","hashtag2"]},{"1345222797":["hashtag1","hashtag2"]},{"1345222794":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345222920, 1345222853, 1345222802, 1345222828, 1345222797, 1345222794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.65299153327942 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:14:02.681155
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/17/image_17032025_00_17_25_4289.jpg', 2), ('/home/nano/Desktop/images/17032025/00/17/image_17032025_00_17_21_4304.jpg', 2), ('/home/nano/Desktop/images/17032025/00/17/image_17032025_00_17_17_3285.jpg', 2), ('/home/nano/Desktop/images/17032025/00/17/image_17032025_00_17_13_4331.jpg', 2), ('/home/nano/Desktop/images/17032025/00/17/image_17032025_00_17_09_4313.jpg', 2), ('/home/nano/Desktop/images/17032025/00/17/image_17032025_00_17_05_3612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/17/image_17032025_00_17_25_4289.jpg', '/home/nano/Desktop/images/17032025/00/17/image_17032025_00_17_21_4304.jpg', '/home/nano/Desktop/images/17032025/00/17/image_17032025_00_17_17_3285.jpg', '/home/nano/Desktop/images/17032025/00/17/image_17032025_00_17_13_4331.jpg', '/home/nano/Desktop/images/17032025/00/17/image_17032025_00_17_09_4313.jpg', '/home/nano/Desktop/images/17032025/00/17/image_17032025_00_17_05_3612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/17/image_17032025_00_17_25_4289.jpg
/home/nano/Desktop/images/17032025/00/17/image_17032025_00_17_21_4304.jpg
/home/nano/Desktop/images/17032025/00/17/image_17032025_00_17_17_3285.jpg
/home/nano/Desktop/images/17032025/00/17/image_17032025_00_17_13_4331.jpg
/home/nano/Desktop/images/17032025/00/17/image_17032025_00_17_09_4313.jpg
/home/nano/Desktop/images/17032025/00/17/image_17032025_00_17_05_3612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345223147","1345223129","1345223071","1345223101","1345223157","1345223172"],"photo_ids_order":["1345223071","1345223101","1345223129","1345223147","1345223157","1345223172"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d4b0e8a9f02d15c4b86d00819f63f536.jpg","text":"TemporaryFile(/tmp/multipartBody3259934941991061679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325303868,"filename":"image_17032025_00_17_13_4331.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/69f0ff2f82fd50871f8c6ef8d2292f6e.jpg","text":"TemporaryFile(/tmp/multipartBody4582001945381856130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325303868,"filename":"image_17032025_00_17_17_3285.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f30ce867cb44c6fb61cd8307d4840d1f.jpg","text":"TemporaryFile(/tmp/multipartBody6379339585996240381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325303868,"filename":"image_17032025_00_17_25_4289.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ab796577c069f313ac09c2c089f58dae.jpg","text":"TemporaryFile(/tmp/multipartBody2768912637225085586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325303868,"filename":"image_17032025_00_17_21_4304.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/18af426b7714190f9685f79d01df8fe2.jpg","text":"TemporaryFile(/tmp/multipartBody8724278771883908993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325303868,"filename":"image_17032025_00_17_09_4313.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/89c089b74cc55658c1509ecbe128b267.jpg","text":"TemporaryFile(/tmp/multipartBody2440672438172258161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325303868,"filename":"image_17032025_00_17_05_3612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345223129","file1":"1345223101","file0":"1345223071","file4":"1345223157","file5":"1345223172","file3":"1345223147"},"map_files_photo_id_array":[{"photo_id":"1345223172","filename":"file5"},{"photo_id":"1345223129","filename":"file2"},{"photo_id":"1345223157","filename":"file4"},{"photo_id":"1345223101","filename":"file1"},{"photo_id":"1345223071","filename":"file0"},{"photo_id":"1345223147","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345223147":["hashtag1","hashtag2"]},{"1345223129":["hashtag1","hashtag2"]},{"1345223071":["hashtag1","hashtag2"]},{"1345223101":["hashtag1","hashtag2"]},{"1345223157":["hashtag1","hashtag2"]},{"1345223172":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345223147, 1345223129, 1345223071, 1345223101, 1345223157, 1345223172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.519633769989014 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:15:02.616426
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/16/image_17032025_00_17_01_4303.jpg', 2), ('/home/nano/Desktop/images/17032025/00/16/image_17032025_00_16_37_4303.jpg', 2), ('/home/nano/Desktop/images/17032025/00/16/image_17032025_00_16_33_4299.jpg', 2), ('/home/nano/Desktop/images/17032025/00/16/image_17032025_00_16_29_3285.jpg', 2), ('/home/nano/Desktop/images/17032025/00/16/image_17032025_00_16_26_4299.jpg', 2), ('/home/nano/Desktop/images/17032025/00/16/image_17032025_00_16_21_4301.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/16/image_17032025_00_17_01_4303.jpg', '/home/nano/Desktop/images/17032025/00/16/image_17032025_00_16_37_4303.jpg', '/home/nano/Desktop/images/17032025/00/16/image_17032025_00_16_33_4299.jpg', '/home/nano/Desktop/images/17032025/00/16/image_17032025_00_16_29_3285.jpg', '/home/nano/Desktop/images/17032025/00/16/image_17032025_00_16_26_4299.jpg', '/home/nano/Desktop/images/17032025/00/16/image_17032025_00_16_21_4301.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/16/image_17032025_00_17_01_4303.jpg
/home/nano/Desktop/images/17032025/00/16/image_17032025_00_16_37_4303.jpg
/home/nano/Desktop/images/17032025/00/16/image_17032025_00_16_33_4299.jpg
/home/nano/Desktop/images/17032025/00/16/image_17032025_00_16_29_3285.jpg
/home/nano/Desktop/images/17032025/00/16/image_17032025_00_16_26_4299.jpg
/home/nano/Desktop/images/17032025/00/16/image_17032025_00_16_21_4301.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345223291","1345223360","1345223392","1345223368","1345223320","1345223346"],"photo_ids_order":["1345223291","1345223320","1345223346","1345223360","1345223368","1345223392"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8087fcee6890183a6843a0ae7d9216a7.jpg","text":"TemporaryFile(/tmp/multipartBody9030879888124041859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325363765,"filename":"image_17032025_00_17_01_4303.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/50d1adaf58dcc07c74b416e31224e66d.jpg","text":"TemporaryFile(/tmp/multipartBody5822118801277282873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325363765,"filename":"image_17032025_00_16_29_3285.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/15f9e08634819aebda813534aa5ad716.jpg","text":"TemporaryFile(/tmp/multipartBody6294116700013684749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325363765,"filename":"image_17032025_00_16_21_4301.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d0527561dae562992665a233bcd66b2a.jpg","text":"TemporaryFile(/tmp/multipartBody7864730279463511541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325363765,"filename":"image_17032025_00_16_26_4299.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bd0f8d8091159e143a78a216cf95320a.jpg","text":"TemporaryFile(/tmp/multipartBody2993101191091981588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325363765,"filename":"image_17032025_00_16_37_4303.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/aa79596d9de265cfa27bb7603f6e7107.jpg","text":"TemporaryFile(/tmp/multipartBody4573140660537543772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325363765,"filename":"image_17032025_00_16_33_4299.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345223346","file1":"1345223320","file0":"1345223291","file4":"1345223368","file5":"1345223392","file3":"1345223360"},"map_files_photo_id_array":[{"photo_id":"1345223392","filename":"file5"},{"photo_id":"1345223346","filename":"file2"},{"photo_id":"1345223368","filename":"file4"},{"photo_id":"1345223320","filename":"file1"},{"photo_id":"1345223291","filename":"file0"},{"photo_id":"1345223360","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345223291":["hashtag1","hashtag2"]},{"1345223360":["hashtag1","hashtag2"]},{"1345223392":["hashtag1","hashtag2"]},{"1345223368":["hashtag1","hashtag2"]},{"1345223320":["hashtag1","hashtag2"]},{"1345223346":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345223291, 1345223360, 1345223392, 1345223368, 1345223320, 1345223346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.7219443321228 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:16:02.900545
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/16/image_17032025_00_16_17_4327.jpg', 2), ('/home/nano/Desktop/images/17032025/00/16/image_17032025_00_16_13_3287.jpg', 2), ('/home/nano/Desktop/images/17032025/00/16/image_17032025_00_16_09_4293.jpg', 2), ('/home/nano/Desktop/images/17032025/00/16/image_17032025_00_16_05_3475.jpg', 2), ('/home/nano/Desktop/images/17032025/00/15/image_17032025_00_16_02_4299.jpg', 2), ('/home/nano/Desktop/images/17032025/00/15/image_17032025_00_15_57_4308.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/16/image_17032025_00_16_17_4327.jpg', '/home/nano/Desktop/images/17032025/00/16/image_17032025_00_16_13_3287.jpg', '/home/nano/Desktop/images/17032025/00/16/image_17032025_00_16_09_4293.jpg', '/home/nano/Desktop/images/17032025/00/16/image_17032025_00_16_05_3475.jpg', '/home/nano/Desktop/images/17032025/00/15/image_17032025_00_16_02_4299.jpg', '/home/nano/Desktop/images/17032025/00/15/image_17032025_00_15_57_4308.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/16/image_17032025_00_16_17_4327.jpg
/home/nano/Desktop/images/17032025/00/16/image_17032025_00_16_13_3287.jpg
/home/nano/Desktop/images/17032025/00/16/image_17032025_00_16_09_4293.jpg
/home/nano/Desktop/images/17032025/00/16/image_17032025_00_16_05_3475.jpg
/home/nano/Desktop/images/17032025/00/15/image_17032025_00_16_02_4299.jpg
/home/nano/Desktop/images/17032025/00/15/image_17032025_00_15_57_4308.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.0579736232757568 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:16:32.301624
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/16/image_17032025_00_16_17_4327.jpg', 2), ('/home/nano/Desktop/images/17032025/00/16/image_17032025_00_16_13_3287.jpg', 2), ('/home/nano/Desktop/images/17032025/00/16/image_17032025_00_16_09_4293.jpg', 2), ('/home/nano/Desktop/images/17032025/00/16/image_17032025_00_16_05_3475.jpg', 2), ('/home/nano/Desktop/images/17032025/00/15/image_17032025_00_16_02_4299.jpg', 2), ('/home/nano/Desktop/images/17032025/00/15/image_17032025_00_15_57_4308.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/16/image_17032025_00_16_17_4327.jpg', '/home/nano/Desktop/images/17032025/00/16/image_17032025_00_16_13_3287.jpg', '/home/nano/Desktop/images/17032025/00/16/image_17032025_00_16_09_4293.jpg', '/home/nano/Desktop/images/17032025/00/16/image_17032025_00_16_05_3475.jpg', '/home/nano/Desktop/images/17032025/00/15/image_17032025_00_16_02_4299.jpg', '/home/nano/Desktop/images/17032025/00/15/image_17032025_00_15_57_4308.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/16/image_17032025_00_16_17_4327.jpg
/home/nano/Desktop/images/17032025/00/16/image_17032025_00_16_13_3287.jpg
/home/nano/Desktop/images/17032025/00/16/image_17032025_00_16_09_4293.jpg
/home/nano/Desktop/images/17032025/00/16/image_17032025_00_16_05_3475.jpg
/home/nano/Desktop/images/17032025/00/15/image_17032025_00_16_02_4299.jpg
/home/nano/Desktop/images/17032025/00/15/image_17032025_00_15_57_4308.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345223690","1345223663","1345223642","1345223631","1345223634","1345223637"],"photo_ids_order":["1345223631","1345223634","1345223637","1345223642","1345223663","1345223690"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/40651d02a1a68eaeead26b797e24c420.jpg","text":"TemporaryFile(/tmp/multipartBody3503947777071870596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325453288,"filename":"image_17032025_00_15_57_4308.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0401660c88607bfabf95e1d2faa12437.jpg","text":"TemporaryFile(/tmp/multipartBody4037171847455683254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325453288,"filename":"image_17032025_00_16_02_4299.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/23f9abece598d6caab8d905b1c7fcdc4.jpg","text":"TemporaryFile(/tmp/multipartBody4569302266474861049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325453288,"filename":"image_17032025_00_16_05_3475.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9eea4d750fa97069e360b9b871fb169c.jpg","text":"TemporaryFile(/tmp/multipartBody6035195311213887121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325453288,"filename":"image_17032025_00_16_17_4327.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/654e9447de4c88adc574e1d18c767ff7.jpg","text":"TemporaryFile(/tmp/multipartBody5913747058601437249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325453288,"filename":"image_17032025_00_16_13_3287.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/dbf5939bbe0da4ca3823d09289a0a9cd.jpg","text":"TemporaryFile(/tmp/multipartBody6921688836032803063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325453288,"filename":"image_17032025_00_16_09_4293.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345223637","file1":"1345223634","file0":"1345223631","file4":"1345223663","file5":"1345223690","file3":"1345223642"},"map_files_photo_id_array":[{"photo_id":"1345223690","filename":"file5"},{"photo_id":"1345223637","filename":"file2"},{"photo_id":"1345223663","filename":"file4"},{"photo_id":"1345223634","filename":"file1"},{"photo_id":"1345223631","filename":"file0"},{"photo_id":"1345223642","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345223690":["hashtag1","hashtag2"]},{"1345223663":["hashtag1","hashtag2"]},{"1345223642":["hashtag1","hashtag2"]},{"1345223631":["hashtag1","hashtag2"]},{"1345223634":["hashtag1","hashtag2"]},{"1345223637":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345223690, 1345223663, 1345223642, 1345223631, 1345223634, 1345223637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.463714838027954 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:17:32.502002
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/15/image_17032025_00_15_29_4311.jpg', 2), ('/home/nano/Desktop/images/17032025/00/15/image_17032025_00_15_25_3292.jpg', 2), ('/home/nano/Desktop/images/17032025/00/15/image_17032025_00_15_22_4304.jpg', 2), ('/home/nano/Desktop/images/17032025/00/15/image_17032025_00_15_17_4295.jpg', 2), ('/home/nano/Desktop/images/17032025/00/15/image_17032025_00_15_13_4309.jpg', 2), ('/home/nano/Desktop/images/17032025/00/15/image_17032025_00_15_09_3303.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/15/image_17032025_00_15_29_4311.jpg', '/home/nano/Desktop/images/17032025/00/15/image_17032025_00_15_25_3292.jpg', '/home/nano/Desktop/images/17032025/00/15/image_17032025_00_15_22_4304.jpg', '/home/nano/Desktop/images/17032025/00/15/image_17032025_00_15_17_4295.jpg', '/home/nano/Desktop/images/17032025/00/15/image_17032025_00_15_13_4309.jpg', '/home/nano/Desktop/images/17032025/00/15/image_17032025_00_15_09_3303.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/15/image_17032025_00_15_29_4311.jpg
/home/nano/Desktop/images/17032025/00/15/image_17032025_00_15_25_3292.jpg
/home/nano/Desktop/images/17032025/00/15/image_17032025_00_15_22_4304.jpg
/home/nano/Desktop/images/17032025/00/15/image_17032025_00_15_17_4295.jpg
/home/nano/Desktop/images/17032025/00/15/image_17032025_00_15_13_4309.jpg
/home/nano/Desktop/images/17032025/00/15/image_17032025_00_15_09_3303.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345223738","1345223755","1345223734","1345223751","1345223730","1345223748"],"photo_ids_order":["1345223730","1345223734","1345223738","1345223748","1345223751","1345223755"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fa6f2b7b2901e334f63c2ac3cee2ae4c.jpg","text":"TemporaryFile(/tmp/multipartBody6731242202964306990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325513696,"filename":"image_17032025_00_15_22_4304.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cb252bf8eae4fddc6967d2b237b2ef9b.jpg","text":"TemporaryFile(/tmp/multipartBody6367929111641069738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325513696,"filename":"image_17032025_00_15_09_3303.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a22e20c626d122c973e2a34df5257388.jpg","text":"TemporaryFile(/tmp/multipartBody829546667072037649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325513696,"filename":"image_17032025_00_15_25_3292.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8bce557904749ddbd5921aa571204316.jpg","text":"TemporaryFile(/tmp/multipartBody5551497515615459438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325513696,"filename":"image_17032025_00_15_13_4309.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f1b3339fcbe8f53df9e266712d3227cc.jpg","text":"TemporaryFile(/tmp/multipartBody3954965408070119660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325513696,"filename":"image_17032025_00_15_29_4311.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b53a7d65241aca61a97cd481b55060fc.jpg","text":"TemporaryFile(/tmp/multipartBody3617132400188232027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325513696,"filename":"image_17032025_00_15_17_4295.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345223738","file1":"1345223734","file0":"1345223730","file4":"1345223751","file5":"1345223755","file3":"1345223748"},"map_files_photo_id_array":[{"photo_id":"1345223755","filename":"file5"},{"photo_id":"1345223738","filename":"file2"},{"photo_id":"1345223751","filename":"file4"},{"photo_id":"1345223734","filename":"file1"},{"photo_id":"1345223730","filename":"file0"},{"photo_id":"1345223748","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345223738":["hashtag1","hashtag2"]},{"1345223755":["hashtag1","hashtag2"]},{"1345223734":["hashtag1","hashtag2"]},{"1345223751":["hashtag1","hashtag2"]},{"1345223730":["hashtag1","hashtag2"]},{"1345223748":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345223738, 1345223755, 1345223734, 1345223751, 1345223730, 1345223748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.71324062347412 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:18:32.665023
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/15/image_17032025_00_15_05_3784.jpg', 2), ('/home/nano/Desktop/images/17032025/00/14/image_17032025_00_15_02_4337.jpg', 2), ('/home/nano/Desktop/images/17032025/00/14/image_17032025_00_14_33_4329.jpg', 2), ('/home/nano/Desktop/images/17032025/00/14/image_17032025_00_14_29_4304.jpg', 2), ('/home/nano/Desktop/images/17032025/00/14/image_17032025_00_14_25_3299.jpg', 2), ('/home/nano/Desktop/images/17032025/00/14/image_17032025_00_14_21_4303.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/15/image_17032025_00_15_05_3784.jpg', '/home/nano/Desktop/images/17032025/00/14/image_17032025_00_15_02_4337.jpg', '/home/nano/Desktop/images/17032025/00/14/image_17032025_00_14_33_4329.jpg', '/home/nano/Desktop/images/17032025/00/14/image_17032025_00_14_29_4304.jpg', '/home/nano/Desktop/images/17032025/00/14/image_17032025_00_14_25_3299.jpg', '/home/nano/Desktop/images/17032025/00/14/image_17032025_00_14_21_4303.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/15/image_17032025_00_15_05_3784.jpg
/home/nano/Desktop/images/17032025/00/14/image_17032025_00_15_02_4337.jpg
/home/nano/Desktop/images/17032025/00/14/image_17032025_00_14_33_4329.jpg
/home/nano/Desktop/images/17032025/00/14/image_17032025_00_14_29_4304.jpg
/home/nano/Desktop/images/17032025/00/14/image_17032025_00_14_25_3299.jpg
/home/nano/Desktop/images/17032025/00/14/image_17032025_00_14_21_4303.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345223846","1345223899","1345223818","1345223799","1345223871","1345223808"],"photo_ids_order":["1345223799","1345223808","1345223818","1345223846","1345223871","1345223899"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/474c2f4b86c63cfe050f0f567707195f.jpg","text":"TemporaryFile(/tmp/multipartBody1685568348936721415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325573838,"filename":"image_17032025_00_14_29_4304.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/10f4a3aef00e5c1173c94aea9d277da2.jpg","text":"TemporaryFile(/tmp/multipartBody4068369484868170941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325573838,"filename":"image_17032025_00_14_21_4303.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bd2cbbd47d23344a640a9711cb94226b.jpg","text":"TemporaryFile(/tmp/multipartBody1982535391602383868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325573838,"filename":"image_17032025_00_14_33_4329.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d08f8e39dc5db4cfc4ddf5b2eca21c91.jpg","text":"TemporaryFile(/tmp/multipartBody7579812384876298716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325573838,"filename":"image_17032025_00_15_05_3784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d66d2201125a02b4234f534f845cbc21.jpg","text":"TemporaryFile(/tmp/multipartBody6464259529756943646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325573838,"filename":"image_17032025_00_14_25_3299.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5ea4520953019b5ea084722a9c7bce65.jpg","text":"TemporaryFile(/tmp/multipartBody8026700264619542513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325573838,"filename":"image_17032025_00_15_02_4337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345223818","file1":"1345223808","file0":"1345223799","file4":"1345223871","file5":"1345223899","file3":"1345223846"},"map_files_photo_id_array":[{"photo_id":"1345223899","filename":"file5"},{"photo_id":"1345223818","filename":"file2"},{"photo_id":"1345223871","filename":"file4"},{"photo_id":"1345223808","filename":"file1"},{"photo_id":"1345223799","filename":"file0"},{"photo_id":"1345223846","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345223846":["hashtag1","hashtag2"]},{"1345223899":["hashtag1","hashtag2"]},{"1345223818":["hashtag1","hashtag2"]},{"1345223799":["hashtag1","hashtag2"]},{"1345223871":["hashtag1","hashtag2"]},{"1345223808":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345223846, 1345223899, 1345223818, 1345223799, 1345223871, 1345223808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.38345408439636 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:19:31.823870
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/14/image_17032025_00_14_17_4302.jpg', 2), ('/home/nano/Desktop/images/17032025/00/14/image_17032025_00_14_13_3303.jpg', 2), ('/home/nano/Desktop/images/17032025/00/14/image_17032025_00_14_10_4318.jpg', 2), ('/home/nano/Desktop/images/17032025/00/14/image_17032025_00_14_05_3757.jpg', 2), ('/home/nano/Desktop/images/17032025/00/13/image_17032025_00_14_02_4307.jpg', 2), ('/home/nano/Desktop/images/17032025/00/13/image_17032025_00_13_33_4306.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/14/image_17032025_00_14_17_4302.jpg', '/home/nano/Desktop/images/17032025/00/14/image_17032025_00_14_13_3303.jpg', '/home/nano/Desktop/images/17032025/00/14/image_17032025_00_14_10_4318.jpg', '/home/nano/Desktop/images/17032025/00/14/image_17032025_00_14_05_3757.jpg', '/home/nano/Desktop/images/17032025/00/13/image_17032025_00_14_02_4307.jpg', '/home/nano/Desktop/images/17032025/00/13/image_17032025_00_13_33_4306.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/14/image_17032025_00_14_17_4302.jpg
/home/nano/Desktop/images/17032025/00/14/image_17032025_00_14_13_3303.jpg
/home/nano/Desktop/images/17032025/00/14/image_17032025_00_14_10_4318.jpg
/home/nano/Desktop/images/17032025/00/14/image_17032025_00_14_05_3757.jpg
/home/nano/Desktop/images/17032025/00/13/image_17032025_00_14_02_4307.jpg
/home/nano/Desktop/images/17032025/00/13/image_17032025_00_13_33_4306.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345224233","1345224119","1345224124","1345224136","1345224273","1345224117"],"photo_ids_order":["1345224117","1345224119","1345224124","1345224136","1345224233","1345224273"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5da4e6378b1a0ca17cbb901a15174a55.jpg","text":"TemporaryFile(/tmp/multipartBody2220533128267843184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325633031,"filename":"image_17032025_00_14_02_4307.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/76e144e06790cfe2089451c982fba5d6.jpg","text":"TemporaryFile(/tmp/multipartBody1464798622163110089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325633031,"filename":"image_17032025_00_14_13_3303.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a32f6181e98da1f069ca184034bbef0b.jpg","text":"TemporaryFile(/tmp/multipartBody736658729355999099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325633031,"filename":"image_17032025_00_14_10_4318.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7aad02b673c464400d85d28a52d0c78b.jpg","text":"TemporaryFile(/tmp/multipartBody2511786767057240769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325633031,"filename":"image_17032025_00_14_05_3757.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5fd5e0dfedd422e533bafe74e1ad487d.jpg","text":"TemporaryFile(/tmp/multipartBody3486132291853745459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325633031,"filename":"image_17032025_00_13_33_4306.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4f6a0888143510ea969993c97cf3b9ba.jpg","text":"TemporaryFile(/tmp/multipartBody1564767445367979873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325633031,"filename":"image_17032025_00_14_17_4302.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345224124","file1":"1345224119","file0":"1345224117","file4":"1345224233","file5":"1345224273","file3":"1345224136"},"map_files_photo_id_array":[{"photo_id":"1345224273","filename":"file5"},{"photo_id":"1345224124","filename":"file2"},{"photo_id":"1345224233","filename":"file4"},{"photo_id":"1345224119","filename":"file1"},{"photo_id":"1345224117","filename":"file0"},{"photo_id":"1345224136","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345224233":["hashtag1","hashtag2"]},{"1345224119":["hashtag1","hashtag2"]},{"1345224124":["hashtag1","hashtag2"]},{"1345224136":["hashtag1","hashtag2"]},{"1345224273":["hashtag1","hashtag2"]},{"1345224117":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345224233, 1345224119, 1345224124, 1345224136, 1345224273, 1345224117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.48740315437317 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:20:31.970307
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/13/image_17032025_00_13_29_4312.jpg', 2), ('/home/nano/Desktop/images/17032025/00/13/image_17032025_00_13_25_3307.jpg', 2), ('/home/nano/Desktop/images/17032025/00/13/image_17032025_00_13_21_4318.jpg', 2), ('/home/nano/Desktop/images/17032025/00/13/image_17032025_00_13_17_4313.jpg', 2), ('/home/nano/Desktop/images/17032025/00/13/image_17032025_00_13_13_3312.jpg', 2), ('/home/nano/Desktop/images/17032025/00/13/image_17032025_00_13_09_4346.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/13/image_17032025_00_13_29_4312.jpg', '/home/nano/Desktop/images/17032025/00/13/image_17032025_00_13_25_3307.jpg', '/home/nano/Desktop/images/17032025/00/13/image_17032025_00_13_21_4318.jpg', '/home/nano/Desktop/images/17032025/00/13/image_17032025_00_13_17_4313.jpg', '/home/nano/Desktop/images/17032025/00/13/image_17032025_00_13_13_3312.jpg', '/home/nano/Desktop/images/17032025/00/13/image_17032025_00_13_09_4346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/13/image_17032025_00_13_29_4312.jpg
/home/nano/Desktop/images/17032025/00/13/image_17032025_00_13_25_3307.jpg
/home/nano/Desktop/images/17032025/00/13/image_17032025_00_13_21_4318.jpg
/home/nano/Desktop/images/17032025/00/13/image_17032025_00_13_17_4313.jpg
/home/nano/Desktop/images/17032025/00/13/image_17032025_00_13_13_3312.jpg
/home/nano/Desktop/images/17032025/00/13/image_17032025_00_13_09_4346.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345224332","1345224314","1345224308","1345224289","1345224325","1345224339"],"photo_ids_order":["1345224289","1345224308","1345224314","1345224325","1345224332","1345224339"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6cb121cf9c057fac8f1f2f92b83d9029.jpg","text":"TemporaryFile(/tmp/multipartBody5075275194884413524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325693119,"filename":"image_17032025_00_13_13_3312.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5874d8b1b904788c8242b2d0f0e8838b.jpg","text":"TemporaryFile(/tmp/multipartBody1077768473410568758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325693119,"filename":"image_17032025_00_13_21_4318.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/71f521d8420f4b232ad64629d78a4cf5.jpg","text":"TemporaryFile(/tmp/multipartBody4912794399823089268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325693119,"filename":"image_17032025_00_13_25_3307.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2c2a7feca4e4fefeee8aa80883293023.jpg","text":"TemporaryFile(/tmp/multipartBody6526877949157617658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325693119,"filename":"image_17032025_00_13_29_4312.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b2e5d12e2caa07fd499e7340a630f66b.jpg","text":"TemporaryFile(/tmp/multipartBody7979090685084023454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325693119,"filename":"image_17032025_00_13_17_4313.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a69d8710e92bd75434cb66e8d8e82378.jpg","text":"TemporaryFile(/tmp/multipartBody679712474057714593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325693119,"filename":"image_17032025_00_13_09_4346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345224314","file1":"1345224308","file0":"1345224289","file4":"1345224332","file5":"1345224339","file3":"1345224325"},"map_files_photo_id_array":[{"photo_id":"1345224339","filename":"file5"},{"photo_id":"1345224314","filename":"file2"},{"photo_id":"1345224332","filename":"file4"},{"photo_id":"1345224308","filename":"file1"},{"photo_id":"1345224289","filename":"file0"},{"photo_id":"1345224325","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345224332":["hashtag1","hashtag2"]},{"1345224314":["hashtag1","hashtag2"]},{"1345224308":["hashtag1","hashtag2"]},{"1345224289":["hashtag1","hashtag2"]},{"1345224325":["hashtag1","hashtag2"]},{"1345224339":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345224332, 1345224314, 1345224308, 1345224289, 1345224325, 1345224339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.31710076332092 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:21:32.170354
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/13/image_17032025_00_13_05_3930.jpg', 2), ('/home/nano/Desktop/images/17032025/00/12/image_17032025_00_13_01_4312.jpg', 2), ('/home/nano/Desktop/images/17032025/00/12/image_17032025_00_12_33_4319.jpg', 2), ('/home/nano/Desktop/images/17032025/00/12/image_17032025_00_12_29_3302.jpg', 2), ('/home/nano/Desktop/images/17032025/00/12/image_17032025_00_12_25_4326.jpg', 2), ('/home/nano/Desktop/images/17032025/00/12/image_17032025_00_12_21_4316.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/13/image_17032025_00_13_05_3930.jpg', '/home/nano/Desktop/images/17032025/00/12/image_17032025_00_13_01_4312.jpg', '/home/nano/Desktop/images/17032025/00/12/image_17032025_00_12_33_4319.jpg', '/home/nano/Desktop/images/17032025/00/12/image_17032025_00_12_29_3302.jpg', '/home/nano/Desktop/images/17032025/00/12/image_17032025_00_12_25_4326.jpg', '/home/nano/Desktop/images/17032025/00/12/image_17032025_00_12_21_4316.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/13/image_17032025_00_13_05_3930.jpg
/home/nano/Desktop/images/17032025/00/12/image_17032025_00_13_01_4312.jpg
/home/nano/Desktop/images/17032025/00/12/image_17032025_00_12_33_4319.jpg
/home/nano/Desktop/images/17032025/00/12/image_17032025_00_12_29_3302.jpg
/home/nano/Desktop/images/17032025/00/12/image_17032025_00_12_25_4326.jpg
/home/nano/Desktop/images/17032025/00/12/image_17032025_00_12_21_4316.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345224451","1345224448","1345224370","1345224441","1345224411","1345224395"],"photo_ids_order":["1345224370","1345224395","1345224411","1345224441","1345224448","1345224451"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9f75bcdf8f6b712af79c47f39ec0fd69.jpg","text":"TemporaryFile(/tmp/multipartBody1207313748646904826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325753344,"filename":"image_17032025_00_12_21_4316.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3e74d192389f9688353e3e3dd820b7ef.jpg","text":"TemporaryFile(/tmp/multipartBody1127202280848041492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325753344,"filename":"image_17032025_00_12_25_4326.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d6083501ba27a3cd2be77c4be8818aee.jpg","text":"TemporaryFile(/tmp/multipartBody515552590247922645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325753344,"filename":"image_17032025_00_13_05_3930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/34dbb66e3b469a0f049a94bfb5e58ade.jpg","text":"TemporaryFile(/tmp/multipartBody5235046660069243634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325753344,"filename":"image_17032025_00_12_29_3302.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/103daf821fa8261eefaeac006f66c9cc.jpg","text":"TemporaryFile(/tmp/multipartBody556613974226044716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325753344,"filename":"image_17032025_00_12_33_4319.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6a83621b417aec06c5f9d9bf4f626e54.jpg","text":"TemporaryFile(/tmp/multipartBody179032502325811599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325753344,"filename":"image_17032025_00_13_01_4312.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345224411","file1":"1345224395","file0":"1345224370","file4":"1345224448","file5":"1345224451","file3":"1345224441"},"map_files_photo_id_array":[{"photo_id":"1345224451","filename":"file5"},{"photo_id":"1345224411","filename":"file2"},{"photo_id":"1345224448","filename":"file4"},{"photo_id":"1345224395","filename":"file1"},{"photo_id":"1345224370","filename":"file0"},{"photo_id":"1345224441","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345224451":["hashtag1","hashtag2"]},{"1345224448":["hashtag1","hashtag2"]},{"1345224370":["hashtag1","hashtag2"]},{"1345224441":["hashtag1","hashtag2"]},{"1345224411":["hashtag1","hashtag2"]},{"1345224395":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345224451, 1345224448, 1345224370, 1345224441, 1345224411, 1345224395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57879137992859 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:22:32.367339
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/12/image_17032025_00_12_17_3336.jpg', 2), ('/home/nano/Desktop/images/17032025/00/12/image_17032025_00_12_09_4326.jpg', 2), ('/home/nano/Desktop/images/17032025/00/12/image_17032025_00_12_05_3880.jpg', 2), ('/home/nano/Desktop/images/17032025/00/12/image_17032025_00_12_01_3290.jpg', 2), ('/home/nano/Desktop/images/17032025/00/11/image_17032025_00_11_37_4319.jpg', 2), ('/home/nano/Desktop/images/17032025/00/11/image_17032025_00_11_33_3312.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/12/image_17032025_00_12_17_3336.jpg', '/home/nano/Desktop/images/17032025/00/12/image_17032025_00_12_09_4326.jpg', '/home/nano/Desktop/images/17032025/00/12/image_17032025_00_12_05_3880.jpg', '/home/nano/Desktop/images/17032025/00/12/image_17032025_00_12_01_3290.jpg', '/home/nano/Desktop/images/17032025/00/11/image_17032025_00_11_37_4319.jpg', '/home/nano/Desktop/images/17032025/00/11/image_17032025_00_11_33_3312.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/12/image_17032025_00_12_17_3336.jpg
/home/nano/Desktop/images/17032025/00/12/image_17032025_00_12_09_4326.jpg
/home/nano/Desktop/images/17032025/00/12/image_17032025_00_12_05_3880.jpg
/home/nano/Desktop/images/17032025/00/12/image_17032025_00_12_01_3290.jpg
/home/nano/Desktop/images/17032025/00/11/image_17032025_00_11_37_4319.jpg
/home/nano/Desktop/images/17032025/00/11/image_17032025_00_11_33_3312.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345224650","1345224638","1345224611","1345224616","1345224630","1345224621"],"photo_ids_order":["1345224611","1345224616","1345224621","1345224630","1345224638","1345224650"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2d12c69d41456c584e856815134ecf1b.jpg","text":"TemporaryFile(/tmp/multipartBody6104776240011614253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325813514,"filename":"image_17032025_00_11_33_3312.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3082735b0163ed46120729f7a4f2a37f.jpg","text":"TemporaryFile(/tmp/multipartBody6269938478536663279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325813514,"filename":"image_17032025_00_11_37_4319.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3e3a3bce3a7763ac7ef847f49b68bc40.jpg","text":"TemporaryFile(/tmp/multipartBody4240164096283349629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325813514,"filename":"image_17032025_00_12_17_3336.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ab11a98a8f5fdc35062dd3487fad5d9e.jpg","text":"TemporaryFile(/tmp/multipartBody1311421808430070295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325813514,"filename":"image_17032025_00_12_09_4326.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/fb54062cecec27c93ec9cd1047467c6c.jpg","text":"TemporaryFile(/tmp/multipartBody3945850851002798300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325813514,"filename":"image_17032025_00_12_01_3290.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c9abb81e992f0c41544443782d653608.jpg","text":"TemporaryFile(/tmp/multipartBody2171893878097241624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325813514,"filename":"image_17032025_00_12_05_3880.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345224621","file1":"1345224616","file0":"1345224611","file4":"1345224638","file5":"1345224650","file3":"1345224630"},"map_files_photo_id_array":[{"photo_id":"1345224650","filename":"file5"},{"photo_id":"1345224621","filename":"file2"},{"photo_id":"1345224638","filename":"file4"},{"photo_id":"1345224616","filename":"file1"},{"photo_id":"1345224611","filename":"file0"},{"photo_id":"1345224630","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345224650":["hashtag1","hashtag2"]},{"1345224638":["hashtag1","hashtag2"]},{"1345224611":["hashtag1","hashtag2"]},{"1345224616":["hashtag1","hashtag2"]},{"1345224630":["hashtag1","hashtag2"]},{"1345224621":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345224650, 1345224638, 1345224611, 1345224616, 1345224630, 1345224621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.42050743103027 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:23:32.536150
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/11/image_17032025_00_11_29_4325.jpg', 2), ('/home/nano/Desktop/images/17032025/00/11/image_17032025_00_11_25_4325.jpg', 2), ('/home/nano/Desktop/images/17032025/00/11/image_17032025_00_11_21_3303.jpg', 2), ('/home/nano/Desktop/images/17032025/00/11/image_17032025_00_11_17_4356.jpg', 2), ('/home/nano/Desktop/images/17032025/00/11/image_17032025_00_11_13_4339.jpg', 2), ('/home/nano/Desktop/images/17032025/00/11/image_17032025_00_11_09_3320.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/11/image_17032025_00_11_29_4325.jpg', '/home/nano/Desktop/images/17032025/00/11/image_17032025_00_11_25_4325.jpg', '/home/nano/Desktop/images/17032025/00/11/image_17032025_00_11_21_3303.jpg', '/home/nano/Desktop/images/17032025/00/11/image_17032025_00_11_17_4356.jpg', '/home/nano/Desktop/images/17032025/00/11/image_17032025_00_11_13_4339.jpg', '/home/nano/Desktop/images/17032025/00/11/image_17032025_00_11_09_3320.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/11/image_17032025_00_11_29_4325.jpg
/home/nano/Desktop/images/17032025/00/11/image_17032025_00_11_25_4325.jpg
/home/nano/Desktop/images/17032025/00/11/image_17032025_00_11_21_3303.jpg
/home/nano/Desktop/images/17032025/00/11/image_17032025_00_11_17_4356.jpg
/home/nano/Desktop/images/17032025/00/11/image_17032025_00_11_13_4339.jpg
/home/nano/Desktop/images/17032025/00/11/image_17032025_00_11_09_3320.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345224914","1345224886","1345224859","1345224730","1345224826","1345224780"],"photo_ids_order":["1345224730","1345224780","1345224826","1345224859","1345224886","1345224914"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0ecf18235357e5866cd844383d675f49.jpg","text":"TemporaryFile(/tmp/multipartBody126724289951639580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325873744,"filename":"image_17032025_00_11_09_3320.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1cb4a2de410658a324495614fbe9e55d.jpg","text":"TemporaryFile(/tmp/multipartBody4181625242713052825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325873744,"filename":"image_17032025_00_11_13_4339.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/567d5b2059f4614b06f7ad006d265c49.jpg","text":"TemporaryFile(/tmp/multipartBody5751889138977848254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325873744,"filename":"image_17032025_00_11_17_4356.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b1ed1297bfbcb17b9d83035cbf8ba6c6.jpg","text":"TemporaryFile(/tmp/multipartBody6848939520311044638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325873744,"filename":"image_17032025_00_11_29_4325.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/30686b4c702bcd6459663a1f58fd6d63.jpg","text":"TemporaryFile(/tmp/multipartBody2439759920353869455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325873744,"filename":"image_17032025_00_11_21_3303.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7a963c08210782b167960de63c4f88bf.jpg","text":"TemporaryFile(/tmp/multipartBody2554560761948369741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325873744,"filename":"image_17032025_00_11_25_4325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345224826","file1":"1345224780","file0":"1345224730","file4":"1345224886","file5":"1345224914","file3":"1345224859"},"map_files_photo_id_array":[{"photo_id":"1345224914","filename":"file5"},{"photo_id":"1345224826","filename":"file2"},{"photo_id":"1345224886","filename":"file4"},{"photo_id":"1345224780","filename":"file1"},{"photo_id":"1345224730","filename":"file0"},{"photo_id":"1345224859","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345224914":["hashtag1","hashtag2"]},{"1345224886":["hashtag1","hashtag2"]},{"1345224859":["hashtag1","hashtag2"]},{"1345224730":["hashtag1","hashtag2"]},{"1345224826":["hashtag1","hashtag2"]},{"1345224780":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345224914, 1345224886, 1345224859, 1345224730, 1345224826, 1345224780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.972498178482056 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:24:32.721100
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/11/image_17032025_00_11_05_4723.jpg', 2), ('/home/nano/Desktop/images/17032025/00/11/image_17032025_00_11_01_3301.jpg', 2), ('/home/nano/Desktop/images/17032025/00/10/image_17032025_00_10_33_4329.jpg', 2), ('/home/nano/Desktop/images/17032025/00/10/image_17032025_00_10_29_4327.jpg', 2), ('/home/nano/Desktop/images/17032025/00/10/image_17032025_00_10_25_3312.jpg', 2), ('/home/nano/Desktop/images/17032025/00/10/image_17032025_00_10_21_4327.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/11/image_17032025_00_11_05_4723.jpg', '/home/nano/Desktop/images/17032025/00/11/image_17032025_00_11_01_3301.jpg', '/home/nano/Desktop/images/17032025/00/10/image_17032025_00_10_33_4329.jpg', '/home/nano/Desktop/images/17032025/00/10/image_17032025_00_10_29_4327.jpg', '/home/nano/Desktop/images/17032025/00/10/image_17032025_00_10_25_3312.jpg', '/home/nano/Desktop/images/17032025/00/10/image_17032025_00_10_21_4327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/11/image_17032025_00_11_05_4723.jpg
/home/nano/Desktop/images/17032025/00/11/image_17032025_00_11_01_3301.jpg
/home/nano/Desktop/images/17032025/00/10/image_17032025_00_10_33_4329.jpg
/home/nano/Desktop/images/17032025/00/10/image_17032025_00_10_29_4327.jpg
/home/nano/Desktop/images/17032025/00/10/image_17032025_00_10_25_3312.jpg
/home/nano/Desktop/images/17032025/00/10/image_17032025_00_10_21_4327.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345225036","1345225051","1345225047","1345225056","1345225041","1345225031"],"photo_ids_order":["1345225031","1345225036","1345225041","1345225047","1345225051","1345225056"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/37ce859f2b25a1c78fb5a1ab5d00ced1.jpg","text":"TemporaryFile(/tmp/multipartBody7429825545094640111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325933915,"filename":"image_17032025_00_11_01_3301.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/cf6e151c7d6a25dd9fb48a52835bfad2.jpg","text":"TemporaryFile(/tmp/multipartBody203017885944297672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325933915,"filename":"image_17032025_00_10_25_3312.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/011f24a12b63a366e41a5dd6b4d957b8.jpg","text":"TemporaryFile(/tmp/multipartBody7831749180555102930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325933915,"filename":"image_17032025_00_10_29_4327.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6cf0e1e21f7e85e003f29d79d79d6967.jpg","text":"TemporaryFile(/tmp/multipartBody3762957942055919706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325933915,"filename":"image_17032025_00_10_21_4327.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e5e30cb80a1253ec7dd79f63fd443786.jpg","text":"TemporaryFile(/tmp/multipartBody461537232310832443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325933915,"filename":"image_17032025_00_10_33_4329.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/eb640bccfa8a5bb9ffba49e32c6969a2.jpg","text":"TemporaryFile(/tmp/multipartBody9093027769510396827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325933915,"filename":"image_17032025_00_11_05_4723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345225041","file1":"1345225036","file0":"1345225031","file4":"1345225051","file5":"1345225056","file3":"1345225047"},"map_files_photo_id_array":[{"photo_id":"1345225056","filename":"file5"},{"photo_id":"1345225041","filename":"file2"},{"photo_id":"1345225051","filename":"file4"},{"photo_id":"1345225036","filename":"file1"},{"photo_id":"1345225031","filename":"file0"},{"photo_id":"1345225047","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345225036":["hashtag1","hashtag2"]},{"1345225051":["hashtag1","hashtag2"]},{"1345225047":["hashtag1","hashtag2"]},{"1345225056":["hashtag1","hashtag2"]},{"1345225041":["hashtag1","hashtag2"]},{"1345225031":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345225036, 1345225051, 1345225047, 1345225056, 1345225041, 1345225031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31771516799927 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:25:31.874046
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/10/image_17032025_00_10_17_4357.jpg', 2), ('/home/nano/Desktop/images/17032025/00/10/image_17032025_00_10_13_3320.jpg', 2), ('/home/nano/Desktop/images/17032025/00/10/image_17032025_00_10_09_4342.jpg', 2), ('/home/nano/Desktop/images/17032025/00/10/image_17032025_00_10_05_4017.jpg', 2), ('/home/nano/Desktop/images/17032025/00/09/image_17032025_00_10_01_4336.jpg', 2), ('/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_57_3325.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/10/image_17032025_00_10_17_4357.jpg', '/home/nano/Desktop/images/17032025/00/10/image_17032025_00_10_13_3320.jpg', '/home/nano/Desktop/images/17032025/00/10/image_17032025_00_10_09_4342.jpg', '/home/nano/Desktop/images/17032025/00/10/image_17032025_00_10_05_4017.jpg', '/home/nano/Desktop/images/17032025/00/09/image_17032025_00_10_01_4336.jpg', '/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_57_3325.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/10/image_17032025_00_10_17_4357.jpg
/home/nano/Desktop/images/17032025/00/10/image_17032025_00_10_13_3320.jpg
/home/nano/Desktop/images/17032025/00/10/image_17032025_00_10_09_4342.jpg
/home/nano/Desktop/images/17032025/00/10/image_17032025_00_10_05_4017.jpg
/home/nano/Desktop/images/17032025/00/09/image_17032025_00_10_01_4336.jpg
/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_57_3325.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345225477","1345225473","1345225464","1345225481","1345225469","1345225376"],"photo_ids_order":["1345225376","1345225464","1345225469","1345225473","1345225477","1345225481"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3efe4c5649511520be48241f0b5f2ea1.jpg","text":"TemporaryFile(/tmp/multipartBody2645482441386113454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325993209,"filename":"image_17032025_00_10_01_4336.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ddb9f7d602ed23e724c2a4c267ed442b.jpg","text":"TemporaryFile(/tmp/multipartBody8772738820628256305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325993209,"filename":"image_17032025_00_10_05_4017.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9045e7cb5b3d41d703374afe61858c50.jpg","text":"TemporaryFile(/tmp/multipartBody9079240043042985239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325993209,"filename":"image_17032025_00_10_13_3320.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b5d397f245add53e5cde4f0b72b65ac2.jpg","text":"TemporaryFile(/tmp/multipartBody6490407704419208768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325993209,"filename":"image_17032025_00_09_57_3325.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b4483c8e313625bc0ac435ddc866f090.jpg","text":"TemporaryFile(/tmp/multipartBody317794082156552360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325993209,"filename":"image_17032025_00_10_09_4342.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/42396cb61e69837f051ce3fa456413fd.jpg","text":"TemporaryFile(/tmp/multipartBody248443376075034476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742325993209,"filename":"image_17032025_00_10_17_4357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345225469","file1":"1345225464","file0":"1345225376","file4":"1345225477","file5":"1345225481","file3":"1345225473"},"map_files_photo_id_array":[{"photo_id":"1345225481","filename":"file5"},{"photo_id":"1345225469","filename":"file2"},{"photo_id":"1345225477","filename":"file4"},{"photo_id":"1345225464","filename":"file1"},{"photo_id":"1345225376","filename":"file0"},{"photo_id":"1345225473","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345225477":["hashtag1","hashtag2"]},{"1345225473":["hashtag1","hashtag2"]},{"1345225464":["hashtag1","hashtag2"]},{"1345225481":["hashtag1","hashtag2"]},{"1345225469":["hashtag1","hashtag2"]},{"1345225376":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345225477, 1345225473, 1345225464, 1345225481, 1345225469, 1345225376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.57568049430847 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:26:32.068261
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_53_4329.jpg', 2), ('/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_49_4340.jpg', 2), ('/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_45_3315.jpg', 2), ('/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_41_4336.jpg', 2), ('/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_37_4331.jpg', 2), ('/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_33_3322.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_53_4329.jpg', '/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_49_4340.jpg', '/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_45_3315.jpg', '/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_41_4336.jpg', '/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_37_4331.jpg', '/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_33_3322.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_53_4329.jpg
/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_49_4340.jpg
/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_45_3315.jpg
/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_41_4336.jpg
/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_37_4331.jpg
/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_33_3322.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345225604","1345225570","1345225564","1345225560","1345225608","1345225591"],"photo_ids_order":["1345225560","1345225564","1345225570","1345225591","1345225604","1345225608"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/55270058d96c19620b7e1050cd5ed808.jpg","text":"TemporaryFile(/tmp/multipartBody5685249565359228795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326053303,"filename":"image_17032025_00_09_37_4331.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f74b921fe2635852de668b89768553c3.jpg","text":"TemporaryFile(/tmp/multipartBody8690688500781001006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326053303,"filename":"image_17032025_00_09_45_3315.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/94a441a993703b531c47fe195397180b.jpg","text":"TemporaryFile(/tmp/multipartBody3135481627420872326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326053303,"filename":"image_17032025_00_09_49_4340.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/1d6aea61742af6e5ec8c0e951aa464d0.jpg","text":"TemporaryFile(/tmp/multipartBody5173602116762189349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326053303,"filename":"image_17032025_00_09_53_4329.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/efab2938f29d67f822af2730799c3aeb.jpg","text":"TemporaryFile(/tmp/multipartBody5448690004165562109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326053303,"filename":"image_17032025_00_09_33_3322.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ef22dab9c4c451fdad508a87db818278.jpg","text":"TemporaryFile(/tmp/multipartBody215004417367107713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326053303,"filename":"image_17032025_00_09_41_4336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345225570","file1":"1345225564","file0":"1345225560","file4":"1345225604","file5":"1345225608","file3":"1345225591"},"map_files_photo_id_array":[{"photo_id":"1345225608","filename":"file5"},{"photo_id":"1345225570","filename":"file2"},{"photo_id":"1345225604","filename":"file4"},{"photo_id":"1345225564","filename":"file1"},{"photo_id":"1345225560","filename":"file0"},{"photo_id":"1345225591","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345225604":["hashtag1","hashtag2"]},{"1345225570":["hashtag1","hashtag2"]},{"1345225564":["hashtag1","hashtag2"]},{"1345225560":["hashtag1","hashtag2"]},{"1345225608":["hashtag1","hashtag2"]},{"1345225591":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345225604, 1345225570, 1345225564, 1345225560, 1345225608, 1345225591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.162553787231445 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:27:32.218154
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_29_4334.jpg', 2), ('/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_25_4332.jpg', 2), ('/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_21_3324.jpg', 2), ('/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_17_4324.jpg', 2), ('/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_13_4364.jpg', 2), ('/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_09_3354.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_29_4334.jpg', '/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_25_4332.jpg', '/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_21_3324.jpg', '/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_17_4324.jpg', '/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_13_4364.jpg', '/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_09_3354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_29_4334.jpg
/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_25_4332.jpg
/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_21_3324.jpg
/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_17_4324.jpg
/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_13_4364.jpg
/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_09_3354.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345225660","1345225663","1345225642","1345225651","1345225647","1345225655"],"photo_ids_order":["1345225642","1345225647","1345225651","1345225655","1345225660","1345225663"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/92bb7ecf47d91e3ab5c0725107b450e9.jpg","text":"TemporaryFile(/tmp/multipartBody6676042912034614462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326113401,"filename":"image_17032025_00_09_13_4364.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bea958e234ccd068a4141a50affc9830.jpg","text":"TemporaryFile(/tmp/multipartBody2238574427109856868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326113401,"filename":"image_17032025_00_09_09_3354.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/187d6dae483d18eabaff16aef5778c66.jpg","text":"TemporaryFile(/tmp/multipartBody6264365147090974179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326113401,"filename":"image_17032025_00_09_29_4334.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ee1d82c386d2bbbf76cf1a9ea388935f.jpg","text":"TemporaryFile(/tmp/multipartBody2494572086360894038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326113401,"filename":"image_17032025_00_09_21_3324.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/d1efbe484055594404f97eb68822aa55.jpg","text":"TemporaryFile(/tmp/multipartBody6405378170411239896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326113401,"filename":"image_17032025_00_09_25_4332.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3151de358b12abd31985897b49e43d2e.jpg","text":"TemporaryFile(/tmp/multipartBody2597979397898087235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326113401,"filename":"image_17032025_00_09_17_4324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345225651","file1":"1345225647","file0":"1345225642","file4":"1345225660","file5":"1345225663","file3":"1345225655"},"map_files_photo_id_array":[{"photo_id":"1345225663","filename":"file5"},{"photo_id":"1345225651","filename":"file2"},{"photo_id":"1345225660","filename":"file4"},{"photo_id":"1345225647","filename":"file1"},{"photo_id":"1345225642","filename":"file0"},{"photo_id":"1345225655","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345225660":["hashtag1","hashtag2"]},{"1345225663":["hashtag1","hashtag2"]},{"1345225642":["hashtag1","hashtag2"]},{"1345225651":["hashtag1","hashtag2"]},{"1345225647":["hashtag1","hashtag2"]},{"1345225655":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345225660, 1345225663, 1345225642, 1345225651, 1345225647, 1345225655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67657399177551 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:28:32.379913
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_05_4615.jpg', 2), ('/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_01_3322.jpg', 2), ('/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_57_4366.jpg', 2), ('/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_53_4352.jpg', 2), ('/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_49_3352.jpg', 2), ('/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_45_4362.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_05_4615.jpg', '/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_01_3322.jpg', '/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_57_4366.jpg', '/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_53_4352.jpg', '/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_49_3352.jpg', '/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_45_4362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_05_4615.jpg
/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_01_3322.jpg
/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_57_4366.jpg
/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_53_4352.jpg
/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_49_3352.jpg
/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_45_4362.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.1011230945587158 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:29:03.381612
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_05_4615.jpg', 2), ('/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_01_3322.jpg', 2), ('/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_57_4366.jpg', 2), ('/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_53_4352.jpg', 2), ('/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_49_3352.jpg', 2), ('/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_45_4362.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_05_4615.jpg', '/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_01_3322.jpg', '/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_57_4366.jpg', '/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_53_4352.jpg', '/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_49_3352.jpg', '/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_45_4362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_05_4615.jpg
/home/nano/Desktop/images/17032025/00/09/image_17032025_00_09_01_3322.jpg
/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_57_4366.jpg
/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_53_4352.jpg
/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_49_3352.jpg
/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_45_4362.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345225735","1345225723","1345225717","1345225729","1345225710","1345225739"],"photo_ids_order":["1345225710","1345225717","1345225723","1345225729","1345225735","1345225739"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f24de675979d33c9ca638c27778f655e.jpg","text":"TemporaryFile(/tmp/multipartBody979983770762814497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326204417,"filename":"image_17032025_00_08_49_3352.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/09e89f5267b9cd0d19a607638d8a28a8.jpg","text":"TemporaryFile(/tmp/multipartBody3065510641235291417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326204417,"filename":"image_17032025_00_08_57_4366.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/456b5bdd2caa03eda9b0e4452f7ed431.jpg","text":"TemporaryFile(/tmp/multipartBody7330697811181783147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326204417,"filename":"image_17032025_00_09_01_3322.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3e6e7e840b90f26eae06b381a666e15f.jpg","text":"TemporaryFile(/tmp/multipartBody8771984380083856670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326204417,"filename":"image_17032025_00_08_53_4352.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/956c23dea6df09db313662a52a1f2136.jpg","text":"TemporaryFile(/tmp/multipartBody3386964792295024308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326204417,"filename":"image_17032025_00_09_05_4615.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/53e5d9f665054a0f84542e694e0be89c.jpg","text":"TemporaryFile(/tmp/multipartBody4007219850841055389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326204417,"filename":"image_17032025_00_08_45_4362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345225723","file1":"1345225717","file0":"1345225710","file4":"1345225735","file5":"1345225739","file3":"1345225729"},"map_files_photo_id_array":[{"photo_id":"1345225739","filename":"file5"},{"photo_id":"1345225723","filename":"file2"},{"photo_id":"1345225735","filename":"file4"},{"photo_id":"1345225717","filename":"file1"},{"photo_id":"1345225710","filename":"file0"},{"photo_id":"1345225729","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345225735":["hashtag1","hashtag2"]},{"1345225723":["hashtag1","hashtag2"]},{"1345225717":["hashtag1","hashtag2"]},{"1345225729":["hashtag1","hashtag2"]},{"1345225710":["hashtag1","hashtag2"]},{"1345225739":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345225735, 1345225723, 1345225717, 1345225729, 1345225710, 1345225739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.014230489730835 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:30:03.302584
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_41_4365.jpg', 2), ('/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_37_3336.jpg', 2), ('/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_33_4342.jpg', 2), ('/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_29_4341.jpg', 2), ('/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_25_3325.jpg', 2), ('/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_21_4338.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_41_4365.jpg', '/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_37_3336.jpg', '/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_33_4342.jpg', '/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_29_4341.jpg', '/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_25_3325.jpg', '/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_21_4338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_41_4365.jpg
/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_37_3336.jpg
/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_33_4342.jpg
/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_29_4341.jpg
/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_25_3325.jpg
/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_21_4338.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345225896","1345225813","1345225841","1345225784","1345225943","1345225871"],"photo_ids_order":["1345225784","1345225813","1345225841","1345225871","1345225896","1345225943"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9fac6afed07cb913568d2cdee278eb8a.jpg","text":"TemporaryFile(/tmp/multipartBody4714694937490610318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326264484,"filename":"image_17032025_00_08_25_3325.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7a9c44bc0181cf52c72d47eececfbc81.jpg","text":"TemporaryFile(/tmp/multipartBody4193659453761290024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326264484,"filename":"image_17032025_00_08_37_3336.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3717d27f7929bc7df889882f881e630c.jpg","text":"TemporaryFile(/tmp/multipartBody8972224092629811593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326264484,"filename":"image_17032025_00_08_33_4342.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4d68dd203daf586a44caa097dffa843b.jpg","text":"TemporaryFile(/tmp/multipartBody2187276380144998004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326264484,"filename":"image_17032025_00_08_41_4365.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/de9cefe4af82026a26ced36469e25e0d.jpg","text":"TemporaryFile(/tmp/multipartBody1221619348601612539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326264484,"filename":"image_17032025_00_08_21_4338.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ab4a435d3fb6520d939db3decf8d9b0b.jpg","text":"TemporaryFile(/tmp/multipartBody8213948992001469131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326264484,"filename":"image_17032025_00_08_29_4341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345225841","file1":"1345225813","file0":"1345225784","file4":"1345225896","file5":"1345225943","file3":"1345225871"},"map_files_photo_id_array":[{"photo_id":"1345225943","filename":"file5"},{"photo_id":"1345225841","filename":"file2"},{"photo_id":"1345225896","filename":"file4"},{"photo_id":"1345225813","filename":"file1"},{"photo_id":"1345225784","filename":"file0"},{"photo_id":"1345225871","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345225896":["hashtag1","hashtag2"]},{"1345225813":["hashtag1","hashtag2"]},{"1345225841":["hashtag1","hashtag2"]},{"1345225784":["hashtag1","hashtag2"]},{"1345225943":["hashtag1","hashtag2"]},{"1345225871":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345225896, 1345225813, 1345225841, 1345225784, 1345225943, 1345225871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06659245491028 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:31:02.469635
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_17_4339.jpg', 2), ('/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_13_3323.jpg', 2), ('/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_09_4372.jpg', 2), ('/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_05_3579.jpg', 2), ('/home/nano/Desktop/images/17032025/00/07/image_17032025_00_08_01_4344.jpg', 2), ('/home/nano/Desktop/images/17032025/00/07/image_17032025_00_07_57_4341.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_17_4339.jpg', '/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_13_3323.jpg', '/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_09_4372.jpg', '/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_05_3579.jpg', '/home/nano/Desktop/images/17032025/00/07/image_17032025_00_08_01_4344.jpg', '/home/nano/Desktop/images/17032025/00/07/image_17032025_00_07_57_4341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_17_4339.jpg
/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_13_3323.jpg
/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_09_4372.jpg
/home/nano/Desktop/images/17032025/00/08/image_17032025_00_08_05_3579.jpg
/home/nano/Desktop/images/17032025/00/07/image_17032025_00_08_01_4344.jpg
/home/nano/Desktop/images/17032025/00/07/image_17032025_00_07_57_4341.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345226305","1345226320","1345226317","1345226325","1345226313","1345226309"],"photo_ids_order":["1345226305","1345226309","1345226313","1345226317","1345226320","1345226325"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/72799ba9d3a056196bba16b8538efa49.jpg","text":"TemporaryFile(/tmp/multipartBody6933407152303275403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326323647,"filename":"image_17032025_00_08_17_4339.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b98f6c30ef12195da299c3798725c278.jpg","text":"TemporaryFile(/tmp/multipartBody5844813146438552233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326323647,"filename":"image_17032025_00_08_01_4344.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/630fa68cf24c039478ec469fce92d87a.jpg","text":"TemporaryFile(/tmp/multipartBody6543413916230583152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326323647,"filename":"image_17032025_00_08_05_3579.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/adecb468a69833b483560d3dca5ba87c.jpg","text":"TemporaryFile(/tmp/multipartBody2213006021846257227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326323647,"filename":"image_17032025_00_07_57_4341.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/03333701d37cfcc58c16b12294f3e25c.jpg","text":"TemporaryFile(/tmp/multipartBody5250510425800678255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326323647,"filename":"image_17032025_00_08_09_4372.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7842974a0cf517462d02b54c6fedc384.jpg","text":"TemporaryFile(/tmp/multipartBody8675105761112182068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326323647,"filename":"image_17032025_00_08_13_3323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345226313","file1":"1345226309","file0":"1345226305","file4":"1345226320","file5":"1345226325","file3":"1345226317"},"map_files_photo_id_array":[{"photo_id":"1345226325","filename":"file5"},{"photo_id":"1345226313","filename":"file2"},{"photo_id":"1345226320","filename":"file4"},{"photo_id":"1345226309","filename":"file1"},{"photo_id":"1345226305","filename":"file0"},{"photo_id":"1345226317","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345226305":["hashtag1","hashtag2"]},{"1345226320":["hashtag1","hashtag2"]},{"1345226317":["hashtag1","hashtag2"]},{"1345226325":["hashtag1","hashtag2"]},{"1345226313":["hashtag1","hashtag2"]},{"1345226309":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345226305, 1345226320, 1345226317, 1345226325, 1345226313, 1345226309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.84492540359497 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:32:02.831025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/07/image_17032025_00_07_29_3336.jpg', 2), ('/home/nano/Desktop/images/17032025/00/07/image_17032025_00_07_25_4384.jpg', 2), ('/home/nano/Desktop/images/17032025/00/07/image_17032025_00_07_21_3338.jpg', 2), ('/home/nano/Desktop/images/17032025/00/07/image_17032025_00_07_18_4351.jpg', 2), ('/home/nano/Desktop/images/17032025/00/07/image_17032025_00_07_13_4354.jpg', 2), ('/home/nano/Desktop/images/17032025/00/07/image_17032025_00_07_09_3346.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/07/image_17032025_00_07_29_3336.jpg', '/home/nano/Desktop/images/17032025/00/07/image_17032025_00_07_25_4384.jpg', '/home/nano/Desktop/images/17032025/00/07/image_17032025_00_07_21_3338.jpg', '/home/nano/Desktop/images/17032025/00/07/image_17032025_00_07_18_4351.jpg', '/home/nano/Desktop/images/17032025/00/07/image_17032025_00_07_13_4354.jpg', '/home/nano/Desktop/images/17032025/00/07/image_17032025_00_07_09_3346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/07/image_17032025_00_07_29_3336.jpg
/home/nano/Desktop/images/17032025/00/07/image_17032025_00_07_25_4384.jpg
/home/nano/Desktop/images/17032025/00/07/image_17032025_00_07_21_3338.jpg
/home/nano/Desktop/images/17032025/00/07/image_17032025_00_07_18_4351.jpg
/home/nano/Desktop/images/17032025/00/07/image_17032025_00_07_13_4354.jpg
/home/nano/Desktop/images/17032025/00/07/image_17032025_00_07_09_3346.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345226595","1345226682","1345226628","1345226591","1345226600","1345226653"],"photo_ids_order":["1345226591","1345226595","1345226600","1345226628","1345226653","1345226682"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7e6fb7546da03d4801fe1a0ed8bd9148.jpg","text":"TemporaryFile(/tmp/multipartBody1798215349758042700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326384009,"filename":"image_17032025_00_07_25_4384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/efde0dc7af4fa4a3d9ba0c199c1862ad.jpg","text":"TemporaryFile(/tmp/multipartBody2208943218849532457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326384009,"filename":"image_17032025_00_07_09_3346.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/11ed8e1d1c6787ace9810bfa3ffa344b.jpg","text":"TemporaryFile(/tmp/multipartBody6334139123184025666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326384009,"filename":"image_17032025_00_07_18_4351.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f537cee66e06a8725f8e2d27599aa4cc.jpg","text":"TemporaryFile(/tmp/multipartBody3755665633182818086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326384009,"filename":"image_17032025_00_07_29_3336.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e1bcd0aed64ebd7cbb206cb90bb6ace6.jpg","text":"TemporaryFile(/tmp/multipartBody4611597711089224880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326384009,"filename":"image_17032025_00_07_21_3338.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9ea24fa3b91d97177b6ecefcf66d61e6.jpg","text":"TemporaryFile(/tmp/multipartBody6008777482635741981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326384009,"filename":"image_17032025_00_07_13_4354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345226600","file1":"1345226595","file0":"1345226591","file4":"1345226653","file5":"1345226682","file3":"1345226628"},"map_files_photo_id_array":[{"photo_id":"1345226682","filename":"file5"},{"photo_id":"1345226600","filename":"file2"},{"photo_id":"1345226653","filename":"file4"},{"photo_id":"1345226595","filename":"file1"},{"photo_id":"1345226591","filename":"file0"},{"photo_id":"1345226628","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345226595":["hashtag1","hashtag2"]},{"1345226682":["hashtag1","hashtag2"]},{"1345226628":["hashtag1","hashtag2"]},{"1345226591":["hashtag1","hashtag2"]},{"1345226600":["hashtag1","hashtag2"]},{"1345226653":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345226595, 1345226682, 1345226628, 1345226591, 1345226600, 1345226653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.08544635772705 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:33:02.946361
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/07/image_17032025_00_07_05_4733.jpg', 2), ('/home/nano/Desktop/images/17032025/00/07/image_17032025_00_07_01_3328.jpg', 2), ('/home/nano/Desktop/images/17032025/00/06/image_17032025_00_06_33_4349.jpg', 2), ('/home/nano/Desktop/images/17032025/00/06/image_17032025_00_06_29_4356.jpg', 2), ('/home/nano/Desktop/images/17032025/00/06/image_17032025_00_06_25_3341.jpg', 2), ('/home/nano/Desktop/images/17032025/00/06/image_17032025_00_06_21_4350.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/07/image_17032025_00_07_05_4733.jpg', '/home/nano/Desktop/images/17032025/00/07/image_17032025_00_07_01_3328.jpg', '/home/nano/Desktop/images/17032025/00/06/image_17032025_00_06_33_4349.jpg', '/home/nano/Desktop/images/17032025/00/06/image_17032025_00_06_29_4356.jpg', '/home/nano/Desktop/images/17032025/00/06/image_17032025_00_06_25_3341.jpg', '/home/nano/Desktop/images/17032025/00/06/image_17032025_00_06_21_4350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/07/image_17032025_00_07_05_4733.jpg
/home/nano/Desktop/images/17032025/00/07/image_17032025_00_07_01_3328.jpg
/home/nano/Desktop/images/17032025/00/06/image_17032025_00_06_33_4349.jpg
/home/nano/Desktop/images/17032025/00/06/image_17032025_00_06_29_4356.jpg
/home/nano/Desktop/images/17032025/00/06/image_17032025_00_06_25_3341.jpg
/home/nano/Desktop/images/17032025/00/06/image_17032025_00_06_21_4350.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345226926","1345226920","1345226923","1345226916","1345226903","1345226857"],"photo_ids_order":["1345226857","1345226903","1345226916","1345226920","1345226923","1345226926"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f64243f3deb9b3325663d9823cbb4fe7.jpg","text":"TemporaryFile(/tmp/multipartBody6458714038595345368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326444115,"filename":"image_17032025_00_06_21_4350.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5c87321cdb381d2760a2b1ae3f8a6ae4.jpg","text":"TemporaryFile(/tmp/multipartBody5790900762005862441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326444115,"filename":"image_17032025_00_06_29_4356.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8e107289f5e1d30e41cfa67561702fb6.jpg","text":"TemporaryFile(/tmp/multipartBody1319623679072124736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326444115,"filename":"image_17032025_00_06_25_3341.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/bc5b70bb80948cc9388ea39fa98ce9cf.jpg","text":"TemporaryFile(/tmp/multipartBody8021492019845107317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326444115,"filename":"image_17032025_00_06_33_4349.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/b7efd8b26af982cf79b909992fddb63e.jpg","text":"TemporaryFile(/tmp/multipartBody375037442087873758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326444115,"filename":"image_17032025_00_07_01_3328.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/eb40133b5b2fa1c6e6be23b4952fe200.jpg","text":"TemporaryFile(/tmp/multipartBody1399464587135878055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326444115,"filename":"image_17032025_00_07_05_4733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345226916","file1":"1345226903","file0":"1345226857","file4":"1345226923","file5":"1345226926","file3":"1345226920"},"map_files_photo_id_array":[{"photo_id":"1345226926","filename":"file5"},{"photo_id":"1345226916","filename":"file2"},{"photo_id":"1345226923","filename":"file4"},{"photo_id":"1345226903","filename":"file1"},{"photo_id":"1345226857","filename":"file0"},{"photo_id":"1345226920","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345226926":["hashtag1","hashtag2"]},{"1345226920":["hashtag1","hashtag2"]},{"1345226923":["hashtag1","hashtag2"]},{"1345226916":["hashtag1","hashtag2"]},{"1345226903":["hashtag1","hashtag2"]},{"1345226857":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345226926, 1345226920, 1345226923, 1345226916, 1345226903, 1345226857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.77739071846008 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:34:03.296077
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/06/image_17032025_00_06_17_3353.jpg', 2), ('/home/nano/Desktop/images/17032025/00/06/image_17032025_00_06_14_4360.jpg', 2), ('/home/nano/Desktop/images/17032025/00/06/image_17032025_00_06_09_4388.jpg', 2), ('/home/nano/Desktop/images/17032025/00/06/image_17032025_00_06_05_3834.jpg', 2), ('/home/nano/Desktop/images/17032025/00/05/image_17032025_00_06_01_4357.jpg', 2), ('/home/nano/Desktop/images/17032025/00/05/image_17032025_00_05_33_4357.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/06/image_17032025_00_06_17_3353.jpg', '/home/nano/Desktop/images/17032025/00/06/image_17032025_00_06_14_4360.jpg', '/home/nano/Desktop/images/17032025/00/06/image_17032025_00_06_09_4388.jpg', '/home/nano/Desktop/images/17032025/00/06/image_17032025_00_06_05_3834.jpg', '/home/nano/Desktop/images/17032025/00/05/image_17032025_00_06_01_4357.jpg', '/home/nano/Desktop/images/17032025/00/05/image_17032025_00_05_33_4357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/06/image_17032025_00_06_17_3353.jpg
/home/nano/Desktop/images/17032025/00/06/image_17032025_00_06_14_4360.jpg
/home/nano/Desktop/images/17032025/00/06/image_17032025_00_06_09_4388.jpg
/home/nano/Desktop/images/17032025/00/06/image_17032025_00_06_05_3834.jpg
/home/nano/Desktop/images/17032025/00/05/image_17032025_00_06_01_4357.jpg
/home/nano/Desktop/images/17032025/00/05/image_17032025_00_05_33_4357.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345227123","1345227056","1345227119","1345227104","1345227154","1345227127"],"photo_ids_order":["1345227056","1345227104","1345227119","1345227123","1345227127","1345227154"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/499c5678bfbf15abf95c1e1c5c4a548a.jpg","text":"TemporaryFile(/tmp/multipartBody8781088534231158058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326504478,"filename":"image_17032025_00_06_05_3834.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7ae6f5bbc0e07c2e7e9116f570e6a632.jpg","text":"TemporaryFile(/tmp/multipartBody8169840810985330005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326504478,"filename":"image_17032025_00_06_17_3353.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6991f3f9f5afcce1cbb1ebe7bbce77b2.jpg","text":"TemporaryFile(/tmp/multipartBody3563132725919464070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326504478,"filename":"image_17032025_00_06_09_4388.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a74b8653de1085b51bf8a1b017e8e117.jpg","text":"TemporaryFile(/tmp/multipartBody2952686103068381796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326504478,"filename":"image_17032025_00_06_14_4360.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7058926037a4b811d40ced03ab022176.jpg","text":"TemporaryFile(/tmp/multipartBody7967305601440419604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326504478,"filename":"image_17032025_00_05_33_4357.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7c53fa112c500428831ad113eae0ca72.jpg","text":"TemporaryFile(/tmp/multipartBody7244401298579783944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326504478,"filename":"image_17032025_00_06_01_4357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345227119","file1":"1345227104","file0":"1345227056","file4":"1345227127","file5":"1345227154","file3":"1345227123"},"map_files_photo_id_array":[{"photo_id":"1345227154","filename":"file5"},{"photo_id":"1345227119","filename":"file2"},{"photo_id":"1345227127","filename":"file4"},{"photo_id":"1345227104","filename":"file1"},{"photo_id":"1345227056","filename":"file0"},{"photo_id":"1345227123","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345227123":["hashtag1","hashtag2"]},{"1345227056":["hashtag1","hashtag2"]},{"1345227119":["hashtag1","hashtag2"]},{"1345227104":["hashtag1","hashtag2"]},{"1345227154":["hashtag1","hashtag2"]},{"1345227127":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345227123, 1345227056, 1345227119, 1345227104, 1345227154, 1345227127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.856133699417114 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:35:03.237280
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/05/image_17032025_00_05_29_4359.jpg', 2), ('/home/nano/Desktop/images/17032025/00/05/image_17032025_00_05_25_3341.jpg', 2), ('/home/nano/Desktop/images/17032025/00/05/image_17032025_00_05_21_4361.jpg', 2), ('/home/nano/Desktop/images/17032025/00/05/image_17032025_00_05_17_4357.jpg', 2), ('/home/nano/Desktop/images/17032025/00/05/image_17032025_00_05_13_3346.jpg', 2), ('/home/nano/Desktop/images/17032025/00/05/image_17032025_00_05_09_4374.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/05/image_17032025_00_05_29_4359.jpg', '/home/nano/Desktop/images/17032025/00/05/image_17032025_00_05_25_3341.jpg', '/home/nano/Desktop/images/17032025/00/05/image_17032025_00_05_21_4361.jpg', '/home/nano/Desktop/images/17032025/00/05/image_17032025_00_05_17_4357.jpg', '/home/nano/Desktop/images/17032025/00/05/image_17032025_00_05_13_3346.jpg', '/home/nano/Desktop/images/17032025/00/05/image_17032025_00_05_09_4374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/05/image_17032025_00_05_29_4359.jpg
/home/nano/Desktop/images/17032025/00/05/image_17032025_00_05_25_3341.jpg
/home/nano/Desktop/images/17032025/00/05/image_17032025_00_05_21_4361.jpg
/home/nano/Desktop/images/17032025/00/05/image_17032025_00_05_17_4357.jpg
/home/nano/Desktop/images/17032025/00/05/image_17032025_00_05_13_3346.jpg
/home/nano/Desktop/images/17032025/00/05/image_17032025_00_05_09_4374.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345227479","1345227365","1345227326","1345227413","1345227547","1345227508"],"photo_ids_order":["1345227326","1345227365","1345227413","1345227479","1345227508","1345227547"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7191e332d303bb9b48821aed9ec3c362.jpg","text":"TemporaryFile(/tmp/multipartBody1831367674139822459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326564410,"filename":"image_17032025_00_05_17_4357.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5bd91b2d9b198222cf42d310d1e8b783.jpg","text":"TemporaryFile(/tmp/multipartBody5526434577428285406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326564410,"filename":"image_17032025_00_05_25_3341.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5e7671bf7e8cd79ebd745e9dfaea14e2.jpg","text":"TemporaryFile(/tmp/multipartBody714142330352128736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326564410,"filename":"image_17032025_00_05_29_4359.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9dfb80d15ea7c6558dfeb557ec168643.jpg","text":"TemporaryFile(/tmp/multipartBody2753665897638535323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326564410,"filename":"image_17032025_00_05_21_4361.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/add43c2c3c46ec8e4a155186998067dc.jpg","text":"TemporaryFile(/tmp/multipartBody8215832390676417251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326564410,"filename":"image_17032025_00_05_09_4374.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a184fd81103b4b730e5357882a4237cf.jpg","text":"TemporaryFile(/tmp/multipartBody4501649307581169295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326564410,"filename":"image_17032025_00_05_13_3346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345227413","file1":"1345227365","file0":"1345227326","file4":"1345227508","file5":"1345227547","file3":"1345227479"},"map_files_photo_id_array":[{"photo_id":"1345227547","filename":"file5"},{"photo_id":"1345227413","filename":"file2"},{"photo_id":"1345227508","filename":"file4"},{"photo_id":"1345227365","filename":"file1"},{"photo_id":"1345227326","filename":"file0"},{"photo_id":"1345227479","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345227479":["hashtag1","hashtag2"]},{"1345227365":["hashtag1","hashtag2"]},{"1345227326":["hashtag1","hashtag2"]},{"1345227413":["hashtag1","hashtag2"]},{"1345227547":["hashtag1","hashtag2"]},{"1345227508":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345227479, 1345227365, 1345227326, 1345227413, 1345227547, 1345227508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70557689666748 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:36:02.472941
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/05/image_17032025_00_05_05_3827.jpg', 2), ('/home/nano/Desktop/images/17032025/00/04/image_17032025_00_05_01_4358.jpg', 2), ('/home/nano/Desktop/images/17032025/00/04/image_17032025_00_04_33_3355.jpg', 2), ('/home/nano/Desktop/images/17032025/00/04/image_17032025_00_04_29_4360.jpg', 2), ('/home/nano/Desktop/images/17032025/00/04/image_17032025_00_04_25_3349.jpg', 2), ('/home/nano/Desktop/images/17032025/00/04/image_17032025_00_04_22_4361.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/05/image_17032025_00_05_05_3827.jpg', '/home/nano/Desktop/images/17032025/00/04/image_17032025_00_05_01_4358.jpg', '/home/nano/Desktop/images/17032025/00/04/image_17032025_00_04_33_3355.jpg', '/home/nano/Desktop/images/17032025/00/04/image_17032025_00_04_29_4360.jpg', '/home/nano/Desktop/images/17032025/00/04/image_17032025_00_04_25_3349.jpg', '/home/nano/Desktop/images/17032025/00/04/image_17032025_00_04_22_4361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/05/image_17032025_00_05_05_3827.jpg
/home/nano/Desktop/images/17032025/00/04/image_17032025_00_05_01_4358.jpg
/home/nano/Desktop/images/17032025/00/04/image_17032025_00_04_33_3355.jpg
/home/nano/Desktop/images/17032025/00/04/image_17032025_00_04_29_4360.jpg
/home/nano/Desktop/images/17032025/00/04/image_17032025_00_04_25_3349.jpg
/home/nano/Desktop/images/17032025/00/04/image_17032025_00_04_22_4361.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345227999","1345227978","1345227936","1345227860","1345227898","1345227772"],"photo_ids_order":["1345227772","1345227860","1345227898","1345227936","1345227978","1345227999"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/e996e2446810edd74df73826820df138.jpg","text":"TemporaryFile(/tmp/multipartBody8204979385130169024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326623647,"filename":"image_17032025_00_04_22_4361.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a856cfa453a1d1358109a03b7714d1ae.jpg","text":"TemporaryFile(/tmp/multipartBody7707133393851899722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326623647,"filename":"image_17032025_00_04_25_3349.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f041e28cb9318d02d80f0c7dceeead5f.jpg","text":"TemporaryFile(/tmp/multipartBody5597165394934424988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326623647,"filename":"image_17032025_00_04_29_4360.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/98ee3d84d3aab6f763b1dff5ce660608.jpg","text":"TemporaryFile(/tmp/multipartBody3381138964852888525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326623647,"filename":"image_17032025_00_05_01_4358.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8b80b76159d8fc04cec6ecb2e9222fbc.jpg","text":"TemporaryFile(/tmp/multipartBody4485906860794521655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326623647,"filename":"image_17032025_00_04_33_3355.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/63d900d1fc65401f4cb3ddadb63a1a84.jpg","text":"TemporaryFile(/tmp/multipartBody2893780070483739428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326623647,"filename":"image_17032025_00_05_05_3827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345227898","file1":"1345227860","file0":"1345227772","file4":"1345227978","file5":"1345227999","file3":"1345227936"},"map_files_photo_id_array":[{"photo_id":"1345227999","filename":"file5"},{"photo_id":"1345227898","filename":"file2"},{"photo_id":"1345227978","filename":"file4"},{"photo_id":"1345227860","filename":"file1"},{"photo_id":"1345227772","filename":"file0"},{"photo_id":"1345227936","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345227999":["hashtag1","hashtag2"]},{"1345227978":["hashtag1","hashtag2"]},{"1345227936":["hashtag1","hashtag2"]},{"1345227860":["hashtag1","hashtag2"]},{"1345227898":["hashtag1","hashtag2"]},{"1345227772":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345227999, 1345227978, 1345227936, 1345227860, 1345227898, 1345227772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.77934813499451 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:37:02.714047
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/04/image_17032025_00_04_17_4367.jpg', 2), ('/home/nano/Desktop/images/17032025/00/04/image_17032025_00_04_13_3361.jpg', 2), ('/home/nano/Desktop/images/17032025/00/04/image_17032025_00_04_09_4381.jpg', 2), ('/home/nano/Desktop/images/17032025/00/04/image_17032025_00_04_05_3654.jpg', 2), ('/home/nano/Desktop/images/17032025/00/03/image_17032025_00_04_01_4364.jpg', 2), ('/home/nano/Desktop/images/17032025/00/03/image_17032025_00_03_33_3354.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/04/image_17032025_00_04_17_4367.jpg', '/home/nano/Desktop/images/17032025/00/04/image_17032025_00_04_13_3361.jpg', '/home/nano/Desktop/images/17032025/00/04/image_17032025_00_04_09_4381.jpg', '/home/nano/Desktop/images/17032025/00/04/image_17032025_00_04_05_3654.jpg', '/home/nano/Desktop/images/17032025/00/03/image_17032025_00_04_01_4364.jpg', '/home/nano/Desktop/images/17032025/00/03/image_17032025_00_03_33_3354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/04/image_17032025_00_04_17_4367.jpg
/home/nano/Desktop/images/17032025/00/04/image_17032025_00_04_13_3361.jpg
/home/nano/Desktop/images/17032025/00/04/image_17032025_00_04_09_4381.jpg
/home/nano/Desktop/images/17032025/00/04/image_17032025_00_04_05_3654.jpg
/home/nano/Desktop/images/17032025/00/03/image_17032025_00_04_01_4364.jpg
/home/nano/Desktop/images/17032025/00/03/image_17032025_00_03_33_3354.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345228629","1345228428","1345228675","1345228459","1345228510","1345228578"],"photo_ids_order":["1345228428","1345228459","1345228510","1345228578","1345228629","1345228675"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/f2b2a7565dc978aab3775d65961f9904.jpg","text":"TemporaryFile(/tmp/multipartBody8395150856987112519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326683873,"filename":"image_17032025_00_04_01_4364.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2c5338024e775e5c32541916c4221dc4.jpg","text":"TemporaryFile(/tmp/multipartBody3408281250267610852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326683873,"filename":"image_17032025_00_04_17_4367.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/9c88053bea9db4ee52c0869883e5f090.jpg","text":"TemporaryFile(/tmp/multipartBody3792485293784432448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326683873,"filename":"image_17032025_00_03_33_3354.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/53ed52e6f727edcfe0c41d62ca3adefa.jpg","text":"TemporaryFile(/tmp/multipartBody4821056643710224126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326683873,"filename":"image_17032025_00_04_13_3361.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/ad78e7eac83d3a0351737eebb91fa3bb.jpg","text":"TemporaryFile(/tmp/multipartBody3395241419731400809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326683873,"filename":"image_17032025_00_04_09_4381.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/0b33af2f476789c9a1aabd11d2183d59.jpg","text":"TemporaryFile(/tmp/multipartBody7666383540924964548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326683873,"filename":"image_17032025_00_04_05_3654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345228510","file1":"1345228459","file0":"1345228428","file4":"1345228629","file5":"1345228675","file3":"1345228578"},"map_files_photo_id_array":[{"photo_id":"1345228675","filename":"file5"},{"photo_id":"1345228510","filename":"file2"},{"photo_id":"1345228629","filename":"file4"},{"photo_id":"1345228459","filename":"file1"},{"photo_id":"1345228428","filename":"file0"},{"photo_id":"1345228578","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345228629":["hashtag1","hashtag2"]},{"1345228428":["hashtag1","hashtag2"]},{"1345228675":["hashtag1","hashtag2"]},{"1345228459":["hashtag1","hashtag2"]},{"1345228510":["hashtag1","hashtag2"]},{"1345228578":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345228629, 1345228428, 1345228675, 1345228459, 1345228510, 1345228578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.72904896736145 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:38:02.932714
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/03/image_17032025_00_03_30_4365.jpg', 2), ('/home/nano/Desktop/images/17032025/00/03/image_17032025_00_03_25_4402.jpg', 2), ('/home/nano/Desktop/images/17032025/00/03/image_17032025_00_03_21_3355.jpg', 2), ('/home/nano/Desktop/images/17032025/00/03/image_17032025_00_03_17_4363.jpg', 2), ('/home/nano/Desktop/images/17032025/00/03/image_17032025_00_03_13_4380.jpg', 2), ('/home/nano/Desktop/images/17032025/00/03/image_17032025_00_03_09_3361.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/03/image_17032025_00_03_30_4365.jpg', '/home/nano/Desktop/images/17032025/00/03/image_17032025_00_03_25_4402.jpg', '/home/nano/Desktop/images/17032025/00/03/image_17032025_00_03_21_3355.jpg', '/home/nano/Desktop/images/17032025/00/03/image_17032025_00_03_17_4363.jpg', '/home/nano/Desktop/images/17032025/00/03/image_17032025_00_03_13_4380.jpg', '/home/nano/Desktop/images/17032025/00/03/image_17032025_00_03_09_3361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/03/image_17032025_00_03_30_4365.jpg
/home/nano/Desktop/images/17032025/00/03/image_17032025_00_03_25_4402.jpg
/home/nano/Desktop/images/17032025/00/03/image_17032025_00_03_21_3355.jpg
/home/nano/Desktop/images/17032025/00/03/image_17032025_00_03_17_4363.jpg
/home/nano/Desktop/images/17032025/00/03/image_17032025_00_03_13_4380.jpg
/home/nano/Desktop/images/17032025/00/03/image_17032025_00_03_09_3361.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345229279","1345229216","1345229030","1345229176","1345229071","1345229127"],"photo_ids_order":["1345229030","1345229071","1345229127","1345229176","1345229216","1345229279"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/c551d1993a8673e3f7044e6c80746240.jpg","text":"TemporaryFile(/tmp/multipartBody6412750946825334685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326744109,"filename":"image_17032025_00_03_09_3361.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4c9ee19c93fd1231f94bc56e7c6db2ae.jpg","text":"TemporaryFile(/tmp/multipartBody5024548698540815258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326744109,"filename":"image_17032025_00_03_13_4380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/3d2cb39af4bd53b817c16b3df4f53607.jpg","text":"TemporaryFile(/tmp/multipartBody5340824990331576745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326744109,"filename":"image_17032025_00_03_30_4365.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/eff902acec3c2b5443ea01e9ae08bf44.jpg","text":"TemporaryFile(/tmp/multipartBody3592072495593009568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326744109,"filename":"image_17032025_00_03_17_4363.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/8a638f1a3eae3565a7061485acebca60.jpg","text":"TemporaryFile(/tmp/multipartBody6438340496362529226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326744109,"filename":"image_17032025_00_03_25_4402.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/2523990687f3618e4995705a344af83f.jpg","text":"TemporaryFile(/tmp/multipartBody9047751262523035956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326744109,"filename":"image_17032025_00_03_21_3355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345229127","file1":"1345229071","file0":"1345229030","file4":"1345229216","file5":"1345229279","file3":"1345229176"},"map_files_photo_id_array":[{"photo_id":"1345229279","filename":"file5"},{"photo_id":"1345229127","filename":"file2"},{"photo_id":"1345229216","filename":"file4"},{"photo_id":"1345229071","filename":"file1"},{"photo_id":"1345229030","filename":"file0"},{"photo_id":"1345229176","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345229279":["hashtag1","hashtag2"]},{"1345229216":["hashtag1","hashtag2"]},{"1345229030":["hashtag1","hashtag2"]},{"1345229176":["hashtag1","hashtag2"]},{"1345229071":["hashtag1","hashtag2"]},{"1345229127":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345229279, 1345229216, 1345229030, 1345229176, 1345229071, 1345229127)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.82832336425781 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:39:03.345858
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/03/image_17032025_00_03_05_4692.jpg', 2), ('/home/nano/Desktop/images/17032025/00/03/image_17032025_00_03_01_3349.jpg', 2), ('/home/nano/Desktop/images/17032025/00/02/image_17032025_00_02_57_4368.jpg', 2), ('/home/nano/Desktop/images/17032025/00/02/image_17032025_00_02_29_3357.jpg', 2), ('/home/nano/Desktop/images/17032025/00/02/image_17032025_00_02_25_4366.jpg', 2), ('/home/nano/Desktop/images/17032025/00/02/image_17032025_00_02_21_3351.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/03/image_17032025_00_03_05_4692.jpg', '/home/nano/Desktop/images/17032025/00/03/image_17032025_00_03_01_3349.jpg', '/home/nano/Desktop/images/17032025/00/02/image_17032025_00_02_57_4368.jpg', '/home/nano/Desktop/images/17032025/00/02/image_17032025_00_02_29_3357.jpg', '/home/nano/Desktop/images/17032025/00/02/image_17032025_00_02_25_4366.jpg', '/home/nano/Desktop/images/17032025/00/02/image_17032025_00_02_21_3351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/03/image_17032025_00_03_05_4692.jpg
/home/nano/Desktop/images/17032025/00/03/image_17032025_00_03_01_3349.jpg
/home/nano/Desktop/images/17032025/00/02/image_17032025_00_02_57_4368.jpg
/home/nano/Desktop/images/17032025/00/02/image_17032025_00_02_29_3357.jpg
/home/nano/Desktop/images/17032025/00/02/image_17032025_00_02_25_4366.jpg
/home/nano/Desktop/images/17032025/00/02/image_17032025_00_02_21_3351.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345229741","1345229678","1345229702","1345229662","1345229595","1345229622"],"photo_ids_order":["1345229595","1345229622","1345229662","1345229678","1345229702","1345229741"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/5e87e4e68b5945e3de182c907d087e51.jpg","text":"TemporaryFile(/tmp/multipartBody5688003818720926977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326804527,"filename":"image_17032025_00_02_21_3351.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4f3e7e8eee4fde2766fad8aef86893f2.jpg","text":"TemporaryFile(/tmp/multipartBody5640475769625061658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326804527,"filename":"image_17032025_00_02_29_3357.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7dfabe741d4118d6eecdd3f2557f98e9.jpg","text":"TemporaryFile(/tmp/multipartBody5851436552979682829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326804527,"filename":"image_17032025_00_02_25_4366.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4d8d3e4701d48157b975714057f3d7dc.jpg","text":"TemporaryFile(/tmp/multipartBody4332228520653613757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326804527,"filename":"image_17032025_00_02_57_4368.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/4ccfb1b1194c8b5ccdc16c4321dfe5d5.jpg","text":"TemporaryFile(/tmp/multipartBody6660240189905804052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326804527,"filename":"image_17032025_00_03_05_4692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/7a8dc818c55bc8e5cecb18e9ea2e842e.jpg","text":"TemporaryFile(/tmp/multipartBody285730741851163003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326804527,"filename":"image_17032025_00_03_01_3349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345229662","file1":"1345229622","file0":"1345229595","file4":"1345229702","file5":"1345229741","file3":"1345229678"},"map_files_photo_id_array":[{"photo_id":"1345229741","filename":"file5"},{"photo_id":"1345229662","filename":"file2"},{"photo_id":"1345229702","filename":"file4"},{"photo_id":"1345229622","filename":"file1"},{"photo_id":"1345229595","filename":"file0"},{"photo_id":"1345229678","filename":"file3"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345229741":["hashtag1","hashtag2"]},{"1345229678":["hashtag1","hashtag2"]},{"1345229702":["hashtag1","hashtag2"]},{"1345229662":["hashtag1","hashtag2"]},{"1345229595":["hashtag1","hashtag2"]},{"1345229622":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345229741, 1345229678, 1345229702, 1345229662, 1345229595, 1345229622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.825663328170776 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:40:02.996203
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
  port_id : 21477537
  datou_current_id : 2674088
in upload_from_sqlite, uploading in 21477537
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/17032025/00/02/image_17032025_00_02_18_4374.jpg', 2), ('/home/nano/Desktop/images/17032025/00/02/image_17032025_00_02_13_4443.jpg', 2), ('/home/nano/Desktop/images/17032025/00/02/image_17032025_00_02_09_4176.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/17032025/00/02/image_17032025_00_02_18_4374.jpg', '/home/nano/Desktop/images/17032025/00/02/image_17032025_00_02_13_4443.jpg', '/home/nano/Desktop/images/17032025/00/02/image_17032025_00_02_09_4176.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=2674088&datou=0
/home/nano/Desktop/images/17032025/00/02/image_17032025_00_02_18_4374.jpg
/home/nano/Desktop/images/17032025/00/02/image_17032025_00_02_13_4443.jpg
/home/nano/Desktop/images/17032025/00/02/image_17032025_00_02_09_4176.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1345229948","1345229930","1345229902"],"photo_ids_order":["1345229902","1345229930","1345229948"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/72da0b37370082f8faf61f56a83fa3c9.jpg","text":"TemporaryFile(/tmp/multipartBody7292470995794879478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326863966,"filename":"image_17032025_00_02_09_4176.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/6a0e8b1b64f377647a88089d4f2727db.jpg","text":"TemporaryFile(/tmp/multipartBody7702912135693871796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326863966,"filename":"image_17032025_00_02_13_4443.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/18/a3bfc3942bc7f4903587ed926f19021f.jpg","text":"TemporaryFile(/tmp/multipartBody3979443794143741582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1742326863966,"filename":"image_17032025_00_02_18_4374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1345229948","file1":"1345229930","file0":"1345229902"},"map_files_photo_id_array":[{"photo_id":"1345229948","filename":"file2"},{"photo_id":"1345229930","filename":"file1"},{"photo_id":"1345229902","filename":"file0"}],"portfolio_id":21477537,"hashtag_by_photo_ids":[{"1345229948":["hashtag1","hashtag2"]},{"1345229930":["hashtag1","hashtag2"]},{"1345229902":["hashtag1","hashtag2"]}],"comms":"Portfolio 21477537 used, photo_id : ArrayBuffer(1345229948, 1345229930, 1345229902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.121010541915894 secondes ---
[Errno 13] Permission denied: '/home/pi'
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:40:32.693556
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:41:02.457036
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:41:31.860296
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:42:02.320190
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:42:32.010953
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:43:02.733010
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:43:32.201415
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:44:03.165088
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:44:32.362256
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:45:03.186418
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:45:32.518519
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:46:03.181145
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:46:32.735580
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:47:02.542876
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:47:31.923201
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:48:02.683688
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:48:32.215335
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:49:03.296045
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:49:32.415794
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:50:03.119593
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:50:32.612847
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:51:03.420358
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:51:32.770828
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:52:02.438098
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:52:31.955666
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:53:02.600082
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:53:32.156246
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:54:03.172542
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:54:32.325692
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:55:03.185170
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:55:32.531716
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:56:03.298825
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:56:32.682758
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:57:02.336772
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:57:31.844680
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:58:02.366053
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:59:02.627739
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 20:59:31.966617
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:00:02.589378
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:00:32.137438
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:01:02.781936
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:01:32.290192
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:02:03.026490
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:02:32.461358
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:03:03.160600
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:03:32.642163
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:04:02.604557
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:04:31.826728
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:05:02.451425
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:05:31.966547
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:06:02.776945
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:06:32.147333
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:07:02.859752
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:07:32.301294
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:08:03.212492
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:08:32.529128
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:09:03.385896
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:09:32.691620
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:10:02.489304
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:10:31.926338
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:11:02.727601
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:11:32.099582
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:12:02.775164
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:12:32.273061
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:13:02.812259
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:13:32.472526
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:14:03.248100
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:14:32.689217
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:15:02.332678
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:15:31.847369
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:16:02.556675
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:16:32.036204
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:17:02.885753
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:17:32.186553
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:18:02.718134
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:18:32.390500
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:19:03.328835
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:19:32.549941
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:20:03.292311
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:20:32.699177
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:21:02.477444
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:21:31.849989
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:22:02.549308
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:22:32.008720
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:23:02.722718
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:23:32.181492
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:24:03.138684
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:24:32.372953
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:25:03.178034
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:25:32.542997
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:26:03.332010
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:26:32.709275
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:27:02.464192
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:27:31.888908
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:28:02.527842
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:28:32.057345
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:29:03.094156
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:29:32.230365
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:30:02.895021
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:30:32.406811
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:31:03.081071
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:31:32.635066
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:32:03.362325
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:32:32.790808
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:33:02.478349
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:33:31.958892
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:34:02.964232
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:34:32.131930
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:35:02.903636
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:35:32.306988
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:36:03.105094
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:36:32.525111
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:37:03.067130
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:37:32.717079
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:38:02.486581
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:38:31.885715
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:39:02.798350
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:39:32.060466
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:40:02.777757
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:40:32.209760
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:41:02.818196
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:41:32.358947
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:42:03.081757
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:42:32.554555
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:43:03.229115
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:43:32.716823
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:44:02.768285
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:44:31.902544
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:45:02.633600
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:45:32.110511
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:46:02.739882
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:46:32.307000
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:47:03.064163
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:47:32.493022
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:48:03.326110
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:48:32.695825
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:49:02.606163
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:49:31.883549
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:50:02.623461
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:50:32.077706
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:51:02.711852
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:51:32.228511
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:52:03.006632
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:52:32.399340
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:53:03.105457
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:53:32.602496
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:54:03.408618
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:54:32.775627
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:55:02.539341
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:55:31.987077
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:56:02.689671
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:56:32.131269
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:57:02.703850
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:57:32.306365
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:58:03.071434
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:59:03.401664
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 21:59:32.616155
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:00:03.361856
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:00:32.830797
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:01:02.548004
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:01:32.000064
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:02:02.769680
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:02:32.195303
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:03:02.851173
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:03:32.380668
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:04:03.228869
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:04:32.563402
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:05:03.331341
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:05:32.737266
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:06:02.360948
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:06:31.890623
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:07:02.733438
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:07:32.064212
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:08:02.751676
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:08:32.253087
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:09:03.317898
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:09:32.430076
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:10:03.174363
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:10:32.588846
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:11:03.222469
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:11:32.759982
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:12:02.471318
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:12:31.918484
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:13:02.542998
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:13:32.063111
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:14:03.097251
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:14:32.225952
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:15:02.997953
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:15:32.406132
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:16:03.252278
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:16:32.591192
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:17:03.397895
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:17:32.759583
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:18:02.429495
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:18:31.928366
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:19:03.012733
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:19:32.076856
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:20:02.875991
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:20:32.259911
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:21:03.041330
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:21:32.408115
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:22:03.232123
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:22:32.578528
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:23:03.371170
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:23:32.732539
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:24:02.478659
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:24:31.914343
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:25:02.680932
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:25:32.104387
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:26:02.881400
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:26:32.246747
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:27:03.082646
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:27:32.422095
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:28:03.072840
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:28:32.595436
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:29:03.568393
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:29:32.809325
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:30:02.486288
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:30:32.021194
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:31:02.724553
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:31:32.152905
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:32:02.965952
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:32:32.318887
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:33:02.978854
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:33:32.474926
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:34:03.548265
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:34:32.626761
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:35:03.281063
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:35:32.822953
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:36:02.594463
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:36:32.004193
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:37:02.819518
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:37:32.194731
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:38:02.883246
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:38:32.359611
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:39:03.406625
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:39:32.530169
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:40:03.364987
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:40:32.690937
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:41:02.344549
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:41:31.857406
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:42:02.560961
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:42:32.072318
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:43:02.804523
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:43:32.282180
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:44:03.226152
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:44:32.484423
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:45:03.101154
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:45:32.766050
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:46:02.598482
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:46:31.925177
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:47:02.380391
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:47:32.093255
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:48:02.768475
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:48:32.304831
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:49:03.267501
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:49:32.469855
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:50:03.095268
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:50:32.647652
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:51:03.365340
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:51:32.802064
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:52:02.505279
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:52:31.964433
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:53:02.572130
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:53:32.133204
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:54:03.135181
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:54:32.289856
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:55:03.015915
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:55:32.454596
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:56:03.184229
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:56:32.628678
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:57:03.344256
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:57:32.776491
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:58:02.556478
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:59:03.475404
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 22:59:32.715942
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:00:02.517765
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:00:31.896468
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:01:02.377448
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:01:32.058512
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:02:02.857685
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:02:32.235976
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:03:02.829446
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:03:32.422159
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:04:03.352911
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:04:32.594003
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:05:03.345255
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:05:32.762468
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:06:02.397219
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:06:31.919285
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:07:02.670643
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:07:32.096321
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:08:02.702540
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:08:32.308836
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:09:03.335763
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:09:32.472190
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:10:03.245299
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:10:32.656270
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:11:02.386647
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:11:31.811315
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:12:02.481309
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:12:32.005178
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:13:02.785946
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:13:32.176113
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:14:03.205648
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:14:32.334477
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:15:02.937225
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:15:32.506963
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:16:03.308772
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:16:32.693045
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:17:02.455980
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:17:31.882891
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:18:02.616810
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:18:32.027538
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:19:02.855151
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:19:32.202417
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:20:02.927236
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:20:32.351693
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:21:02.999010
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:21:32.587660
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:22:03.238989
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:22:32.745435
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:23:02.368480
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:23:31.959996
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:24:02.874651
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:24:32.143460
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:25:02.782752
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:25:32.314375
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:26:03.081123
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:26:32.467861
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:27:03.247659
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:27:32.685760
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:28:02.392719
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:28:31.862922
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:29:02.803080
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:29:32.033060
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:30:02.804993
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:30:32.186312
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:31:02.905559
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:31:32.344991
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:32:03.179849
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:32:32.521002
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:33:03.061908
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:33:32.749161
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:34:02.800817
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:34:31.934234
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:35:02.632835
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:35:32.111998
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:36:02.879845
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:36:32.280325
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:37:03.101294
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:37:32.450558
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:38:03.249664
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:38:32.609838
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:39:03.452105
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:39:32.798856
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:40:02.544678
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:40:31.973100
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:41:02.709864
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:41:32.151931
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:42:02.853465
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:42:32.330923
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:43:02.997893
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:43:32.503446
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:44:03.412301
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:44:32.668908
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:45:02.485981
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:45:31.841356
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:46:02.635343
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:46:32.008245
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:47:02.794719
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:47:32.258966
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:48:02.829746
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:48:32.466751
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:49:03.285841
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:49:32.704850
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:50:02.426594
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:50:31.850137
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:51:02.621549
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:51:32.023683
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:52:02.720598
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:52:32.203702
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:53:02.964806
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:53:32.367862
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:54:03.169374
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:54:32.547080
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:55:03.303022
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:55:32.726297
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:56:02.356158
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:56:31.915254
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:57:02.602050
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:57:32.140429
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -o DESC -n aec_metal_0225 -u marlene.fotonower.com -f /home/nano/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=533 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-03-18 23:58:03.024388
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28022025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16032025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17032025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250318 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250226 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250227 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250228 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250301 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250302 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250303 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250304 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250305 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250306 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250307 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250308 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250309 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250310 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250311 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250312 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250313 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250314 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250315 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250316 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250317 ORDER BY id_local DESC LIMIT 6;
